Package oracle.pgx.config
Class AbstractPgGraphConfigBuilder<T extends AbstractPgGraphConfigBuilder<T,GC>,GC extends AbstractPgGraphConfig>
- java.lang.Object
-
- oracle.pgx.config.AbstractGraphConfigBuilder<T,GC>
-
- oracle.pgx.config.AbstractPgGraphConfigBuilder<T,GC>
-
- Type Parameters:
T
- the type of Property Graph (PG) config objects this builder builds.
- All Implemented Interfaces:
oracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
- Direct Known Subclasses:
PgHbaseGraphConfigBuilder
,PgNosqlGraphConfigBuilder
,PgRdbmsGraphConfigBuilder
public abstract class AbstractPgGraphConfigBuilder<T extends AbstractPgGraphConfigBuilder<T,GC>,GC extends AbstractPgGraphConfig> extends AbstractGraphConfigBuilder<T,GC>
Base class for Property Graph (PG) graph configuration builders.
-
-
Constructor Summary
Constructors Constructor Description AbstractPgGraphConfigBuilder()
Instantiates a new AbstractPgGraphConfigBuilder builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
copyFrom(GC graphConfig)
Sets this builder with all the values of the given graph config.T
setMaxNumConnections(int c)
Sets the maximum number of connections.T
setName(java.lang.String name)
Sets the Property Graph (PG) name.T
setVertexIdType(IdType vertexIdType)
Sets the type of vertex IDs-
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 T copyFrom(GC 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 classAbstractGraphConfigBuilder<T extends AbstractPgGraphConfigBuilder<T,GC>,GC extends AbstractPgGraphConfig>
- Parameters:
graphConfig
- the graph configuration from which to copy the values- Returns:
- this builder
-
setVertexIdType
public T setVertexIdType(IdType vertexIdType)
Description copied from class:AbstractGraphConfigBuilder
Sets the type of vertex IDs- Overrides:
setVertexIdType
in classAbstractGraphConfigBuilder<T extends AbstractPgGraphConfigBuilder<T,GC>,GC extends AbstractPgGraphConfig>
- Parameters:
vertexIdType
- the type of vertex IDs- Returns:
- this builder
- See Also:
- "the graph configuration documentation for details about the effects and default of this setting"
-
setName
public T setName(java.lang.String name)
Sets the Property Graph (PG) name. See the graph configuration documentation for details about the effects and default of this flag- Parameters:
name
- the name- Returns:
- this builder
-
setMaxNumConnections
public T setMaxNumConnections(int c)
Sets the maximum number of connections. See the graph configuration documentation for details about the effects and default of this flag- Parameters:
c
- the number of connections- Returns:
- this builder
-
-