public final class PartitionedGraphConfigBuilder extends AbstractGraphConfigBuilder<PartitionedGraphConfigBuilder,PartitionedGraphConfig>
Constructor and Description |
---|
PartitionedGraphConfigBuilder()
default constructor
|
Modifier and Type | Method and Description |
---|---|
PartitionedGraphConfigBuilder |
addEdgeProvider(AbstractEntityProviderConfigBuilder providerBuilder)
Adds an edge provider to the graph
|
PartitionedGraphConfigBuilder |
addEdgeProvider(EntityProviderConfig provider)
Adds a edge provider to the graph
|
PartitionedGraphConfigBuilder |
addVertexProvider(AbstractEntityProviderConfigBuilder providerBuilder)
Adds a vertex provider to the graph
|
PartitionedGraphConfigBuilder |
addVertexProvider(EntityProviderConfig provider)
Adds a vertex provider to the graph
|
PartitionedGraphConfigBuilder |
clearEdgeProviders()
Clears the edge providers of the graph
|
PartitionedGraphConfigBuilder |
clearVertexProviders()
Clears the vertex providers of the graph
|
PartitionedGraphConfigBuilder |
copyFrom(PartitionedGraphConfig graphConfig)
Sets this builder with all the values of the given graph config.
|
PartitionedGraphConfigBuilder |
removeEdgeProvider(java.lang.String name)
Removes an edge provider from this builder
|
PartitionedGraphConfigBuilder |
removeVertexProvider(java.lang.String name)
Removes a vertex provider from this builder
|
PartitionedGraphConfigBuilder |
setArrayCompactionThreshold(java.lang.Double arrayCompactionThreshold)
For graphs optimized for updates, set the array compaction threshold.
|
PartitionedGraphConfigBuilder |
setDataSourceId(java.lang.String dataSourceId)
Sets the default data source id to use to connect to database (for providers in RDBMS format only)
|
PartitionedGraphConfigBuilder |
setEdgeProviders(oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder... providers)
Set the edge providers of the graph
|
PartitionedGraphConfigBuilder |
setEdgeProviders(java.lang.Iterable<? extends oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder> providers)
Set the edge providers of the graph
|
PartitionedGraphConfigBuilder |
setJdbcUrl(java.lang.String jdbcUrl)
Sets the default jdbc URL pointing to database (for providers in RDBMS format only)
|
PartitionedGraphConfigBuilder |
setMaxPrefetchedRows(int maxPrefetchedRows)
Sets the default maximun number or rows prefetched during each round trip resultset-database (for providers in RDBMS format only)
|
PartitionedGraphConfigBuilder |
setName(java.lang.String name)
Set the name of the graph
|
PartitionedGraphConfigBuilder |
setNumConnections(int numConnections)
Sets the default number of connections to read/write data from/to the database provider (for providers in RDBMS format only)
|
PartitionedGraphConfigBuilder |
setSchema(java.lang.String schema)
Sets default schema where the provider is going to be written (for providers in RDBMS format only)
|
PartitionedGraphConfigBuilder |
setUsername(java.lang.String username)
Sets the default username to use when connecting to database (for providers in RDBMS format only)
|
PartitionedGraphConfigBuilder |
setVertexProviders(oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder... providers)
Set the vertex providers of the graph
|
PartitionedGraphConfigBuilder |
setVertexProviders(java.lang.Iterable<? extends oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder> providers)
Set the vertex providers of the graph
|
addAttribute, addEdgeProperty, addEdgeProperty, addEdgeProperty, addEdgeStringProperty, addEdgeStringProperty, addEdgeVectorProperty, addEdgeVectorProperty, addEdgeVectorProperty, addNodeProperty, addNodeProperty, addVertexProperty, addVertexProperty, addVertexProperty, addVertexStringProperty, addVertexStringProperty, addVertexVectorProperty, addVertexVectorProperty, addVertexVectorProperty, build, clearEdgeProperties, clearVertexProperties, copyBaseFrom, redactPassword, removeEdgeProperty, removeVertexProperty, setAutoRefresh, setCreateEdgeIdIndex, setCreateEdgeIdMapping, setCreateLabelHistogram, setCreateVertexIdIndex, setCreateVertexIdMapping, setEdgeIdStrategy, setEdgeIdType, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnParsingIssue, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setErrorHandlingOnVectorLengthMismatch, setFetchIntervalSec, setFilter, setFilterStrategy, setKeystoreAlias, setLabelValueDelimiter, setLoadEdgeLabel, setLoadVertexLabels, setLocalDateFormat, setOptimizedFor, setPartitionDiscardDefaultValues, setPartitionWhileLoading, setPassword, setPropertyValueDelimiter, setSkipEdgeLoading, setSkipVertexLoading, setSnapshotsSource, setStrictMode, setTimeFormat, setTimestampFormat, setTimestampWithTimezoneFormat, setTimeWithTimezoneFormat, setUpdateIntervalSec, setUpdatePropertiesInPlace, setUpdateThreshold, setUseVertexPropertyValueAsLabel, setVertexIdStrategy, setVertexIdType, toGraphConfigBuilder
public PartitionedGraphConfigBuilder()
public PartitionedGraphConfigBuilder addEdgeProvider(AbstractEntityProviderConfigBuilder providerBuilder)
providerBuilder
- the provider configuration builderpublic PartitionedGraphConfigBuilder addEdgeProvider(EntityProviderConfig provider)
provider
- the provider configurationpublic PartitionedGraphConfigBuilder addVertexProvider(AbstractEntityProviderConfigBuilder providerBuilder)
providerBuilder
- the provider configuration builderpublic PartitionedGraphConfigBuilder addVertexProvider(EntityProviderConfig provider)
provider
- the provider configurationpublic PartitionedGraphConfigBuilder clearEdgeProviders()
public PartitionedGraphConfigBuilder clearVertexProviders()
public PartitionedGraphConfigBuilder copyFrom(PartitionedGraphConfig graphConfig)
AbstractGraphConfigBuilder
copyFrom
in class AbstractGraphConfigBuilder<PartitionedGraphConfigBuilder,PartitionedGraphConfig>
graphConfig
- the graph configuration from which to copy the valuespublic PartitionedGraphConfigBuilder removeEdgeProvider(java.lang.String name)
name
- the name of the edge provider to removepublic PartitionedGraphConfigBuilder removeVertexProvider(java.lang.String name)
name
- the name of the vertex provider to removepublic PartitionedGraphConfigBuilder setArrayCompactionThreshold(java.lang.Double arrayCompactionThreshold)
setArrayCompactionThreshold
in class AbstractGraphConfigBuilder<PartitionedGraphConfigBuilder,PartitionedGraphConfig>
arrayCompactionThreshold
- the threshold to usepublic PartitionedGraphConfigBuilder setDataSourceId(java.lang.String dataSourceId)
public PartitionedGraphConfigBuilder setEdgeProviders(oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder... providers)
providers
- the provider configurationpublic PartitionedGraphConfigBuilder setEdgeProviders(java.lang.Iterable<? extends oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder> providers)
providers
- the provider configurationpublic PartitionedGraphConfigBuilder setJdbcUrl(java.lang.String jdbcUrl)
public PartitionedGraphConfigBuilder setMaxPrefetchedRows(int maxPrefetchedRows)
public PartitionedGraphConfigBuilder setName(java.lang.String name)
name
- the name of the graphpublic PartitionedGraphConfigBuilder setNumConnections(int numConnections)
public PartitionedGraphConfigBuilder setSchema(java.lang.String schema)
public PartitionedGraphConfigBuilder setUsername(java.lang.String username)
public PartitionedGraphConfigBuilder setVertexProviders(oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder... providers)
providers
- the provider configurationspublic PartitionedGraphConfigBuilder setVertexProviders(java.lang.Iterable<? extends oracle.pgx.config.internal.ConvertibleToEntityProviderConfigBuilder> providers)
providers
- the provider configurationsCopyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.