Package oracle.pgx.config
Class PgRdbmsGraphConfigBuilder
- java.lang.Object
-
- oracle.pgx.config.AbstractGraphConfigBuilder<T,GC>
-
- oracle.pgx.config.AbstractPgGraphConfigBuilder<PgRdbmsGraphConfigBuilder,PgRdbmsGraphConfig>
-
- oracle.pgx.config.PgRdbmsGraphConfigBuilder
-
- All Implemented Interfaces:
oracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
public final class PgRdbmsGraphConfigBuilder extends AbstractPgGraphConfigBuilder<PgRdbmsGraphConfigBuilder,PgRdbmsGraphConfig>
-
-
Constructor Summary
Constructors Constructor Description PgRdbmsGraphConfigBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PgRdbmsGraphConfigBuilder
copyFrom(PgRdbmsGraphConfig graphConfig)
Sets this builder with all the values of the given graph config.PgRdbmsGraphConfigBuilder
setDataSourceId(java.lang.String dataSource)
Sets the data source ID.PgRdbmsGraphConfigBuilder
setEdgeViewName(java.lang.String viewName)
Sets the edge view name.PgRdbmsGraphConfigBuilder
setJdbcUrl(java.lang.String url)
Sets the JDBC url.PgRdbmsGraphConfigBuilder
setLabel(java.lang.String label)
Sets the label.PgRdbmsGraphConfigBuilder
setOptions(java.lang.String options)
Sets additional options.PgRdbmsGraphConfigBuilder
setOwner(java.lang.String owner)
Sets the owner.PgRdbmsGraphConfigBuilder
setRowLabel(java.lang.String rowLabel)
Sets the row label.PgRdbmsGraphConfigBuilder
setSecurityPolicy(java.lang.String policy)
Sets the security policy.PgRdbmsGraphConfigBuilder
setUsername(java.lang.String username)
Sets the username.PgRdbmsGraphConfigBuilder
setVertexViewName(java.lang.String viewName)
Sets the vertex view name.PgRdbmsGraphConfigBuilder
setViewParallelHintDegree(java.lang.Integer dop)
Sets the parallel hint degree if loading from a view.-
Methods inherited from class oracle.pgx.config.AbstractPgGraphConfigBuilder
setMaxNumConnections, setName, setVertexIdType
-
Methods inherited from class oracle.pgx.config.AbstractGraphConfigBuilder
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, setArrayCompactionThreshold, 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, toGraphConfigBuilder
-
-
-
-
Method Detail
-
copyFrom
public PgRdbmsGraphConfigBuilder copyFrom(PgRdbmsGraphConfig graphConfig)
Description copied from class:AbstractGraphConfigBuilder
Sets this builder with all the values of the given graph config. If a format was already specified it will remain unchanged, however any other values copied from the given graph config will overwrite the corresponding values of this builder.- Overrides:
copyFrom
in classAbstractPgGraphConfigBuilder<PgRdbmsGraphConfigBuilder,PgRdbmsGraphConfig>
- Parameters:
graphConfig
- the graph configuration from which to copy the values- Returns:
- this builder
-
setJdbcUrl
public PgRdbmsGraphConfigBuilder setJdbcUrl(java.lang.String url)
Sets the JDBC url.- Parameters:
url
- the JDBC url.- Returns:
- this builder object.
-
setUsername
public PgRdbmsGraphConfigBuilder setUsername(java.lang.String username)
Sets the username.- Parameters:
username
- the username.- Returns:
- this builder object.
-
setDataSourceId
public PgRdbmsGraphConfigBuilder setDataSourceId(java.lang.String dataSource)
Sets the data source ID.- Parameters:
dataSource
- the data source ID.- Returns:
- this builder object.
-
setOwner
public PgRdbmsGraphConfigBuilder setOwner(java.lang.String owner)
Sets the owner.- Parameters:
owner
- the owner.- Returns:
- this builder object.
-
setSecurityPolicy
public PgRdbmsGraphConfigBuilder setSecurityPolicy(java.lang.String policy)
Sets the security policy.- Parameters:
policy
- the security policy.- Returns:
- this builder object.
-
setLabel
public PgRdbmsGraphConfigBuilder setLabel(java.lang.String label)
Sets the label.- Parameters:
label
- the label.- Returns:
- this builder object.
-
setRowLabel
public PgRdbmsGraphConfigBuilder setRowLabel(java.lang.String rowLabel)
Sets the row label.- Parameters:
rowLabel
- the row label.- Returns:
- this builder object.
-
setOptions
public PgRdbmsGraphConfigBuilder setOptions(java.lang.String options)
Sets additional options.- Parameters:
options
- the options.- Returns:
- this builder object.
-
setVertexViewName
public PgRdbmsGraphConfigBuilder setVertexViewName(java.lang.String viewName)
Sets the vertex view name.- Parameters:
viewName
- name of the vertex view.- Returns:
- this builder object.
-
setEdgeViewName
public PgRdbmsGraphConfigBuilder setEdgeViewName(java.lang.String viewName)
Sets the edge view name.- Parameters:
viewName
- name of the edge view.- Returns:
- this builder object.
-
setViewParallelHintDegree
public PgRdbmsGraphConfigBuilder setViewParallelHintDegree(java.lang.Integer dop)
Sets the parallel hint degree if loading from a view.- Parameters:
dop
- the dop- Returns:
- this builder object.
-
-