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 booleanequals(java.lang.Object o)abstract java.lang.StringgetEdgesTableName()java.lang.StringgetLabelValueDelimiter()java.lang.StringgetName()Get the graph name of this graph configuration.abstract java.lang.StringgetNodesTableName()abstract java.lang.IntegergetNumConnections()java.lang.IntegergetNumConnections(int machineCount, int defaultNumConnectionsTotal)abstract booleanhasDefaultValue(TwoTablesRdbmsGraphConfig.Field field)booleanhasEdgeKeys()booleanhasEdgesTable()inthashCode()booleanhasNodesTable()booleanskipEdgeLoading()booleanskipVertexLoading()booleansupportsVectorProperties()Check if this graph configuration's format supports having vector properties or notTwoTablesRdbmsGraphConfigBuildertoGraphConfigBuilder()-
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:
toGraphConfigBuilderin interfaceoracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
-
supportsVectorProperties
public boolean supportsVectorProperties()
Check if this graph configuration's format supports having vector properties or not- Overrides:
supportsVectorPropertiesin classGraphConfig- Returns:
trueif this graph configuration's format supports vector properties,falseotherwise
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classGraphConfig
-
hashCode
public int hashCode()
- Overrides:
hashCodein classGraphConfig
-
getName
public java.lang.String getName()
Description copied from interface:CommonLoadableConfigGet 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:
getNamein 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:
hasEdgeKeysin interfaceTwoTablesGraphConfig
-
skipVertexLoading
public boolean skipVertexLoading()
- Overrides:
skipVertexLoadingin classGraphConfig
-
skipEdgeLoading
public boolean skipEdgeLoading()
- Overrides:
skipEdgeLoadingin classGraphConfig
-
getNumConnections
public java.lang.Integer getNumConnections(int machineCount, int defaultNumConnectionsTotal)
-
-