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 |
setEsIndexName(java.lang.String esIndexName)
Sets the default esIndexName pointing to elasticsearch index
|
PartitionedGraphConfigBuilder |
setEsUrl(java.lang.String esUrl)
Sets the default esUrl pointing to elasticsearch server
|
PartitionedGraphConfigBuilder |
setJdbcUrl(java.lang.String jdbcUrl)
Sets the default jdbc URL pointing to database (for providers in RDBMS format only)
|
PartitionedGraphConfigBuilder |
setMaxBatchSize(int maxBatchSize)
Sets the default maximal amount of JSON Objects fetched per Request
|
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 |
setPreparedQueries(java.util.List<PreparedQueryConfig> preparedQueries) |
PartitionedGraphConfigBuilder |
setProxyUrl(java.lang.String proxyUrl)
Sets the default Proxy Url
|
PartitionedGraphConfigBuilder |
setQueries(java.util.List<java.lang.String> queries)
Set the name of the PG view used for loading
|
PartitionedGraphConfigBuilder |
setSchema(java.lang.String schema)
Sets default schema where the provider is going to be written (for providers in RDBMS format only)
|
PartitionedGraphConfigBuilder |
setScrollTime(java.lang.String scrollTime)
Sets the default Time a elasticsearch query remains open
|
PartitionedGraphConfigBuilder |
setSourceName(java.lang.String sourceName) |
PartitionedGraphConfigBuilder |
setSourceType(SourceType sourceType)
The type of the graph source.
|
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, enableEdgeIdDuplicateCheck, enableVertexIdDuplicateCheck, redactPassword, removeEdgeProperty, removeVertexProperty, setAutoRefresh, setCreateEdgeIdIndex, setCreateEdgeIdMapping, setCreateLabelHistogram, setCreateVertexIdIndex, setCreateVertexIdMapping, setEdgeIdStrategy, setEdgeIdType, setErrorHandlingOnDuplicateEntityId, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnParsingIssue, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setErrorHandlingOnVectorLengthMismatch, setFetchIntervalSec, setKeystoreAlias, setLabelValueDelimiter, setLoadEdgeLabel, setLoadingProgressReportingFrequency, 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 setEsIndexName(java.lang.String esIndexName)
public PartitionedGraphConfigBuilder setEsUrl(java.lang.String esUrl)
public PartitionedGraphConfigBuilder setJdbcUrl(java.lang.String jdbcUrl)
public PartitionedGraphConfigBuilder setMaxBatchSize(int maxBatchSize)
public PartitionedGraphConfigBuilder setMaxPrefetchedRows(int maxPrefetchedRows)
public PartitionedGraphConfigBuilder setName(java.lang.String name)
name
- the name of the graphpublic PartitionedGraphConfigBuilder setNumConnections(int numConnections)
public PartitionedGraphConfigBuilder setPreparedQueries(java.util.List<PreparedQueryConfig> preparedQueries)
public PartitionedGraphConfigBuilder setProxyUrl(java.lang.String proxyUrl)
public PartitionedGraphConfigBuilder setQueries(java.util.List<java.lang.String> queries)
queries
- the queries to use to load the graphpublic PartitionedGraphConfigBuilder setSchema(java.lang.String schema)
public PartitionedGraphConfigBuilder setScrollTime(java.lang.String scrollTime)
public PartitionedGraphConfigBuilder setSourceName(java.lang.String sourceName)
public PartitionedGraphConfigBuilder setSourceType(SourceType sourceType)
sourceType
- The database graph source type.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 configurations