public final class TwoTablesRdbmsGraphConfigBuilder extends AbstractGraphConfigBuilder<TwoTablesRdbmsGraphConfigBuilder,oracle.pgx.config.TwoTablesRdbmsGraphConfig>
Constructor and Description |
---|
TwoTablesRdbmsGraphConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
TwoTablesRdbmsGraphConfigBuilder |
addEdgeProperty(java.lang.String name, PropertyType type)
Add Edge property.
|
TwoTablesRdbmsGraphConfigBuilder |
addNodeProperty(java.lang.String name, PropertyType type)
Add Node property.
|
TwoTablesRdbmsGraphConfigBuilder |
setCreateEdgeIdIndex(boolean create)
Sets the file format.
|
TwoTablesRdbmsGraphConfigBuilder |
setDataSourceId(java.lang.String dsId)
Sets the datasource ID.
|
TwoTablesRdbmsGraphConfigBuilder |
setDatastore(TwoTablesDatastore datastore)
Sets the datastore.
|
TwoTablesRdbmsGraphConfigBuilder |
setEdgesKey(java.lang.String eKey)
Sets edge keys
|
TwoTablesRdbmsGraphConfigBuilder |
setEdgesTableName(java.lang.String etb)
Sets the edge table name.
|
TwoTablesRdbmsGraphConfigBuilder |
setFromNid(java.lang.String fromNid)
Sets the column ID from where to read.
|
TwoTablesRdbmsGraphConfigBuilder |
setInsertBatchSize(int insertBatchSize)
Sets the batch size for inserting.
|
TwoTablesRdbmsGraphConfigBuilder |
setJdbcUrl(java.lang.String url)
Sets the jdbc url.
|
TwoTablesRdbmsGraphConfigBuilder |
setMaxPreFetchedRows(int maxPreFetchedRows)
Sets the maximum number of prefetched rows.
|
TwoTablesRdbmsGraphConfigBuilder |
setNodesKey(java.lang.String nKey)
Sets node keys.
|
TwoTablesRdbmsGraphConfigBuilder |
setNodesTableName(java.lang.String ntb)
Sets the nodes table name.
|
TwoTablesRdbmsGraphConfigBuilder |
setNumConnections(int c)
Sets the number of connections.
|
TwoTablesRdbmsGraphConfigBuilder |
setPassword(java.lang.String pw)
Sets the password.
|
TwoTablesRdbmsGraphConfigBuilder |
setSchema(java.lang.String schema)
Sets the schema.
|
TwoTablesRdbmsGraphConfigBuilder |
setTablespace(java.lang.String tablespace)
Sets the tablespace.
|
TwoTablesRdbmsGraphConfigBuilder |
setToNid(java.lang.String toNid)
Sets the column ID to write into.
|
TwoTablesRdbmsGraphConfigBuilder |
setUsername(java.lang.String un)
Sets the username.
|
TwoTablesRdbmsGraphConfigBuilder |
setVertexIdType(IdType vertexIdType)
Sets the vertex Id type.
|
addEdgeProperty, addNodeProperty, addVertexProperty, addVertexProperty, build, hasEdgeLabel, hasVertexLabels, setAutoRefresh, setCreateEdgeIdMapping, setCreateVertexIdIndex, setCreateVertexIdMapping, setDateFormat, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setFetchIntervalSec, setFilter, setFilterStrategy, setLoadEdgeLabel, setLoadVertexLabels, setStrictMode, setUpdateIntervalSec, setUpdateThreshold
public TwoTablesRdbmsGraphConfigBuilder addEdgeProperty(java.lang.String name, PropertyType type)
addEdgeProperty
in class AbstractGraphConfigBuilder<TwoTablesRdbmsGraphConfigBuilder,oracle.pgx.config.TwoTablesRdbmsGraphConfig>
name
- the name of the propertytype
- the type of the propertypublic TwoTablesRdbmsGraphConfigBuilder addNodeProperty(java.lang.String name, PropertyType type)
addNodeProperty
in class AbstractGraphConfigBuilder<TwoTablesRdbmsGraphConfigBuilder,oracle.pgx.config.TwoTablesRdbmsGraphConfig>
name
- the name of the propertytype
- the type of the propertypublic TwoTablesRdbmsGraphConfigBuilder setCreateEdgeIdIndex(boolean create)
setCreateEdgeIdIndex
in class AbstractGraphConfigBuilder<TwoTablesRdbmsGraphConfigBuilder,oracle.pgx.config.TwoTablesRdbmsGraphConfig>
format
- the formatpublic TwoTablesRdbmsGraphConfigBuilder setDataSourceId(java.lang.String dsId)
dsid
- the datasource IDpublic TwoTablesRdbmsGraphConfigBuilder setDatastore(TwoTablesDatastore datastore)
datastore
- the datastorepublic TwoTablesRdbmsGraphConfigBuilder setEdgesKey(java.lang.String eKey)
eKey
- the edge keyspublic TwoTablesRdbmsGraphConfigBuilder setEdgesTableName(java.lang.String etb)
etb
- the edge table namepublic TwoTablesRdbmsGraphConfigBuilder setFromNid(java.lang.String fromNid)
fromNid
- the column idpublic TwoTablesRdbmsGraphConfigBuilder setInsertBatchSize(int insertBatchSize)
insertBatchSize
- the batch size for insertingpublic TwoTablesRdbmsGraphConfigBuilder setJdbcUrl(java.lang.String url)
url
- the urlpublic TwoTablesRdbmsGraphConfigBuilder setMaxPreFetchedRows(int maxPreFetchedRows)
maxPreFetchedRows
- the maximum number of prefetched rowspublic TwoTablesRdbmsGraphConfigBuilder setNodesKey(java.lang.String nKey)
nKey
- the node keyspublic TwoTablesRdbmsGraphConfigBuilder setNodesTableName(java.lang.String ntb)
ntb
- the nodes table namepublic TwoTablesRdbmsGraphConfigBuilder setNumConnections(int c)
c
- the number of connectionspublic TwoTablesRdbmsGraphConfigBuilder setPassword(java.lang.String pw)
pw
- the passwordpublic TwoTablesRdbmsGraphConfigBuilder setSchema(java.lang.String schema)
schema
- the schemapublic TwoTablesRdbmsGraphConfigBuilder setTablespace(java.lang.String tablespace)
tablespace
- the tablespacepublic TwoTablesRdbmsGraphConfigBuilder setToNid(java.lang.String toNid)
toNid
- the column idpublic TwoTablesRdbmsGraphConfigBuilder setUsername(java.lang.String un)
un
- the usernamepublic TwoTablesRdbmsGraphConfigBuilder setVertexIdType(IdType vertexIdType)
vertexIdType
- the vertex Id typeCopyright © 2016 Oracle Corp. All Rights Reserved.