Package oracle.pgx.config
Class AbstractTwoTablesRdbmsGraphConfig
- java.lang.Object
-
- oracle.pgx.config.AbstractConfig
-
- oracle.pgx.config.GraphConfig
-
- oracle.pgx.config.AbstractTwoTablesRdbmsGraphConfig
-
- All Implemented Interfaces:
CommonLoadableConfig<Format>
,DbConnectionConfig
,oracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
,TwoTablesGraphConfig
- Direct Known Subclasses:
TwoTablesRdbmsGraphConfig
public abstract class AbstractTwoTablesRdbmsGraphConfig extends GraphConfig implements TwoTablesGraphConfig, DbConnectionConfig
-
-
Field Summary
-
Fields inherited from class oracle.pgx.config.AbstractConfig
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractTwoTablesRdbmsGraphConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
abstract java.lang.String
getEdgesTableName()
java.lang.String
getLabelValueDelimiter()
java.lang.String
getName()
Get the graph name of this graph configuration.abstract java.lang.String
getNodesTableName()
abstract java.lang.Integer
getNumConnections()
java.lang.Integer
getNumConnections(int machineCount, int defaultNumConnectionsTotal)
abstract boolean
hasDefaultValue(TwoTablesRdbmsGraphConfig.Field field)
boolean
hasEdgeKeys()
boolean
hasEdgesTable()
int
hashCode()
boolean
hasNodesTable()
boolean
skipEdgeLoading()
boolean
skipVertexLoading()
boolean
supportsVectorProperties()
Check if this graph configuration's format supports having vector properties or notTwoTablesRdbmsGraphConfigBuilder
toGraphConfigBuilder()
-
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, getVertexIdType, getVertexPropertyTypes, getVertexProps, hasVerticesAndEdgesSeparatedFileFormat, hasVerticesAndEdgesSeparatedFileFormat, isEdgeLabelLoadingEnabled, isFileFormat, isFileFormat, isLoadEdgeKeys, isLoadVertexKeys, isMultipleFileFormat, isMultipleFileFormat, isSingleFileFormat, isSingleFileFormat, isVertexLabelsLoadingEnabled, numEdgeProperties, numNodeProperties, supportsEdgeLabel, supportsEdgeLabel, supportsPropertyColumn, supportsPropertyColumn, 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, getTimeFormat, getTimestampFormat, getTimestampWithTimezoneFormat, getTimeWithTimezoneFormat, getVectorComponentDelimiter
-
Methods inherited from interface oracle.pgx.config.DbConnectionConfig
getDataSourceId, getJdbcUrl, getMaxPrefetchedRows, getSchema, getUsername
-
Methods inherited from interface oracle.pgx.config.TwoTablesGraphConfig
getDatastore, getEdgesKeyColumn, getEdgesLabelColumn, getFromNidColumn, getNodesKeyColumn, getNodesLabelColumn, getToNidColumn
-
-
-
-
Method Detail
-
toGraphConfigBuilder
public TwoTablesRdbmsGraphConfigBuilder toGraphConfigBuilder()
- Specified by:
toGraphConfigBuilder
in interfaceoracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
-
supportsVectorProperties
public boolean supportsVectorProperties()
Check if this graph configuration's format supports having vector properties or not- Overrides:
supportsVectorProperties
in classGraphConfig
- Returns:
true
if this graph configuration's format supports vector properties,false
otherwise
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classGraphConfig
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGraphConfig
-
getName
public java.lang.String getName()
Description copied from interface:CommonLoadableConfig
Get the graph name of this graph configuration. Note: for file-based graph configurations, this is the file name of the URI this configuration points to.- Specified by:
getName
in interfaceCommonLoadableConfig<Format>
- Returns:
- the graph name
-
getNodesTableName
public abstract java.lang.String getNodesTableName()
-
getEdgesTableName
public abstract java.lang.String getEdgesTableName()
-
getNumConnections
public abstract java.lang.Integer getNumConnections()
-
hasDefaultValue
public abstract boolean hasDefaultValue(TwoTablesRdbmsGraphConfig.Field field)
-
getLabelValueDelimiter
public java.lang.String getLabelValueDelimiter()
-
hasNodesTable
public boolean hasNodesTable()
-
hasEdgesTable
public boolean hasEdgesTable()
-
hasEdgeKeys
public boolean hasEdgeKeys()
- Specified by:
hasEdgeKeys
in interfaceTwoTablesGraphConfig
-
skipVertexLoading
public boolean skipVertexLoading()
- Overrides:
skipVertexLoading
in classGraphConfig
-
skipEdgeLoading
public boolean skipEdgeLoading()
- Overrides:
skipEdgeLoading
in classGraphConfig
-
getNumConnections
public java.lang.Integer getNumConnections(int machineCount, int defaultNumConnectionsTotal)
-
-