public final class RdbmsEntityProviderConfigBuilder extends AbstractEntityProviderConfigBuilder<RdbmsEntityProviderConfigBuilder,RdbmsEntityProviderConfig>
Constructor and Description |
---|
RdbmsEntityProviderConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
RdbmsEntityProviderConfigBuilder |
copyFrom(RdbmsEntityProviderConfig graphConfig)
Sets this builder with all the values of the given provider config.
|
RdbmsEntityProviderConfigBuilder |
setDatabaseTableName(java.lang.String databaseTableName)
Sets the table name in the database.
|
RdbmsEntityProviderConfigBuilder |
setDataSourceId(java.lang.String dsId)
Sets the datasource ID.
|
RdbmsEntityProviderConfigBuilder |
setDataTableName(java.lang.String dataTableName)
Alias for
setDatabaseTableName(String) |
RdbmsEntityProviderConfigBuilder |
setDestinationColumn(java.lang.String toVkey)
Sets the name of the column holding the keys of the destination vertices.
|
RdbmsEntityProviderConfigBuilder |
setJdbcUrl(java.lang.String url)
Sets the jdbc url.
|
RdbmsEntityProviderConfigBuilder |
setKeyColumn(java.lang.String nKey)
Sets the name for the column holding the keys.
|
RdbmsEntityProviderConfigBuilder |
setMaxPreFetchedRows(int maxPreFetchedRows)
Sets the maximum number of prefetched rows.
|
RdbmsEntityProviderConfigBuilder |
setNumConnections(int c)
Sets the number of connections.
|
RdbmsEntityProviderConfigBuilder |
setSchema(java.lang.String schema)
Sets the schema.
|
RdbmsEntityProviderConfigBuilder |
setSourceColumn(java.lang.String fromVkey)
Sets the name of the column holding the keys of the source vertices.
|
RdbmsEntityProviderConfigBuilder |
setUsername(java.lang.String un)
Sets the username.
|
RdbmsEntityProviderConfigBuilder |
toEntityProviderConfigBuilder() |
addAttribute, addProperty, addProperty, addProperty, addStringProperty, addStringProperty, addVectorProperty, addVectorProperty, addVectorProperty, build, clearProperties, copyBaseFrom, createKeyMapping, redactPassword, removeProperty, setDestinationVertexProvider, setErrorHandlingOnMissedPropKey, setErrorHandlingOnMissingVertex, setErrorHandlingOnParsingIssue, setErrorHandlingOnPropConversion, setErrorHandlingOnTypeMismatch, setErrorHandlingOnVectorLengthMismatch, setHasKeys, setKeystoreAlias, setKeyType, setLabel, setLocalDateFormat, setName, setPassword, setSourceVertexProvider, setStrictMode, setTimeFormat, setTimestampFormat, setTimestampWithTimezoneFormat, setTimeWithTimezoneFormat
public RdbmsEntityProviderConfigBuilder copyFrom(RdbmsEntityProviderConfig graphConfig)
AbstractEntityProviderConfigBuilder
copyFrom
in class AbstractEntityProviderConfigBuilder<RdbmsEntityProviderConfigBuilder,RdbmsEntityProviderConfig>
graphConfig
- the provider configuration from which to copy the valuespublic RdbmsEntityProviderConfigBuilder setDatabaseTableName(java.lang.String databaseTableName)
databaseTableName
- the nodes table namepublic RdbmsEntityProviderConfigBuilder setDataSourceId(java.lang.String dsId)
dsId
- the datasource IDpublic RdbmsEntityProviderConfigBuilder setDataTableName(java.lang.String dataTableName)
setDatabaseTableName(String)
dataTableName
- the data table namepublic RdbmsEntityProviderConfigBuilder setDestinationColumn(java.lang.String toVkey)
toVkey
- the column idpublic RdbmsEntityProviderConfigBuilder setJdbcUrl(java.lang.String url)
url
- the urlpublic RdbmsEntityProviderConfigBuilder setKeyColumn(java.lang.String nKey)
nKey
- the name of the key columnpublic RdbmsEntityProviderConfigBuilder setMaxPreFetchedRows(int maxPreFetchedRows)
maxPreFetchedRows
- the maximum number of prefetched rowspublic RdbmsEntityProviderConfigBuilder setNumConnections(int c)
c
- the number of connectionspublic RdbmsEntityProviderConfigBuilder setSchema(java.lang.String schema)
schema
- the schemapublic RdbmsEntityProviderConfigBuilder setSourceColumn(java.lang.String fromVkey)
fromVkey
- the column namepublic RdbmsEntityProviderConfigBuilder setUsername(java.lang.String un)
un
- the usernamepublic RdbmsEntityProviderConfigBuilder toEntityProviderConfigBuilder()
Copyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.