public final class TwoTablesSparkGraphConfigBuilder extends AbstractGraphConfigBuilder<TwoTablesSparkGraphConfigBuilder,oracle.pgx.config.TwoTablesSparkGraphConfig>
Constructor and Description |
---|
TwoTablesSparkGraphConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
TwoTablesSparkGraphConfigBuilder |
setDatastore(TwoTablesDatastore datastore)
Sets the datastore.
|
TwoTablesSparkGraphConfigBuilder |
setNumSparkEdgeWorkers(int workers)
Sets the number of spark workers for edge table
|
TwoTablesSparkGraphConfigBuilder |
setNumSparkNodeWorkers(int workers)
Sets the number of spark workers for nodes table
|
TwoTablesSparkGraphConfigBuilder |
setVertexIdType(IdType vertexIdType)
Sets the type of vertex IDs
|
addEdgeProperty, addEdgeProperty, addNodeProperty, addNodeProperty, addVertexProperty, addVertexProperty, build, hasEdgeLabel, hasVertexLabels, setAutoRefresh, setCreateEdgeIdIndex, setCreateEdgeIdMapping, setCreateVertexIdIndex, setCreateVertexIdMapping, setDateFormat, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setFetchIntervalSec, setFilter, setFilterStrategy, setLoadEdgeLabel, setLoadVertexLabels, setStrictMode, setUpdateIntervalSec, setUpdateThreshold
public TwoTablesSparkGraphConfigBuilder setDatastore(TwoTablesDatastore datastore)
datastore
- the datastorepublic TwoTablesSparkGraphConfigBuilder setNumSparkEdgeWorkers(int workers)
workers
- number of workerspublic TwoTablesSparkGraphConfigBuilder setNumSparkNodeWorkers(int workers)
workers
- number of workerspublic TwoTablesSparkGraphConfigBuilder setVertexIdType(IdType vertexIdType)
vertexIdType
- the type of vertex IDsCopyright © 2016 Oracle Corp. All Rights Reserved.