Package oracle.pgx.config
Class AbstractPgGraphConfig
- java.lang.Object
-
- oracle.pgx.config.AbstractConfig
-
- oracle.pgx.config.GraphConfig
-
- oracle.pgx.config.AbstractPgGraphConfig
-
- All Implemented Interfaces:
CommonLoadableConfig<Format>
,oracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
- Direct Known Subclasses:
PgHbaseGraphConfig
,PgNosqlGraphConfig
,PgRdbmsGraphConfig
public abstract class AbstractPgGraphConfig extends GraphConfig
Base class for Property Graph (PG) graph configuration objects
-
-
Field Summary
-
Fields inherited from class oracle.pgx.config.AbstractConfig
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractPgGraphConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
abstract DbEngine
getDbEngine()
Gets the target database engine of this configuration.abstract java.lang.Integer
getMaxNumConnections()
Gets the maximum number of connections of this configuration.java.lang.Object
getOraclePropertyGraph()
Gets the opg.IdType
getVertexIdType()
Get the vertex ID type of this graph configurationint
hashCode()
void
setOraclePropertyGraph(java.lang.Object opg)
Sets the OraclePropertyGraph to use for loading.-
Methods inherited from class oracle.pgx.config.GraphConfig
getArrayCompactionThreshold, getEdgeIdType, getEdgePropertyDefault, getEdgePropertyDimension, getEdgePropertyName, getEdgePropertyType, getEdgePropertyTypes, getEdgeProps, getExternalStores, getLoadingOptions, getNodeKeyType, getNodePropertyDefault, getNodePropertyDimension, getNodePropertyName, getNodePropertyType, getOptimizedFor, getPartitionWhileLoading, getValidatedEdgeIdStrategy, getValidatedEdgeIdType, getValidatedVertexIdStrategy, getValidatedVertexIdType, getVertexPropertyTypes, getVertexProps, hasVerticesAndEdgesSeparatedFileFormat, hasVerticesAndEdgesSeparatedFileFormat, isEdgeLabelLoadingEnabled, isFileFormat, isFileFormat, isLoadEdgeKeys, isLoadVertexKeys, isMultipleFileFormat, isMultipleFileFormat, isSingleFileFormat, isSingleFileFormat, isVertexLabelsLoadingEnabled, numEdgeProperties, numNodeProperties, skipEdgeLoading, skipVertexLoading, supportsEdgeLabel, supportsEdgeLabel, supportsPropertyColumn, supportsPropertyColumn, supportsVectorProperties, supportsVectorProperties, supportsVertexLabels, supportsVertexLabels
-
Methods inherited from class oracle.pgx.config.AbstractConfig
getDefault, getValueFromEnvironment, getValueFromEnvironment, getValues, parseString, setSerializable
-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface oracle.pgx.config.CommonLoadableConfig
createLocalDateFormat, createTimeFormat, createTimestampFormat, createTimestampWithTimezoneFormat, createTimeWithTimezoneFormat, getAttributes, getErrorHandling, getFormat, getKeystoreAlias, getLocalDateFormat, getName, getTimeFormat, getTimestampFormat, getTimestampWithTimezoneFormat, getTimeWithTimezoneFormat, getVectorComponentDelimiter
-
-
-
-
Method Detail
-
getDbEngine
public abstract DbEngine getDbEngine()
Gets the target database engine of this configuration.- Returns:
- the database engine
-
getMaxNumConnections
public abstract java.lang.Integer getMaxNumConnections()
Gets the maximum number of connections of this configuration.- Returns:
- the maximum number of connections
-
setOraclePropertyGraph
public void setOraclePropertyGraph(java.lang.Object opg)
Sets the OraclePropertyGraph to use for loading. If set, rather than creating a new OraclePropertyGraph object based on the information of this config, the given OraclePropertyGraph instance will be used for loading.- Parameters:
opg
- the new opg
-
getOraclePropertyGraph
public java.lang.Object getOraclePropertyGraph()
Gets the opg.- Returns:
- the opg
-
getVertexIdType
public IdType getVertexIdType()
Description copied from class:GraphConfig
Get the vertex ID type of this graph configuration- Specified by:
getVertexIdType
in classGraphConfig
- Returns:
- the vertex ID type
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classGraphConfig
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGraphConfig
-
-