Package oracle.pgx.config
Class AbstractPartitionedGraphConfig
- java.lang.Object
-
- oracle.pgx.config.AbstractConfig
-
- oracle.pgx.config.GraphConfig
-
- oracle.pgx.config.AbstractPartitionedGraphConfig
-
- All Implemented Interfaces:
CommonLoadableConfig<Format>
,DbConnectionConfig
,EsConnectionConfig
,oracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
- Direct Known Subclasses:
PartitionedGraphConfig
public abstract class AbstractPartitionedGraphConfig extends GraphConfig implements DbConnectionConfig, EsConnectionConfig
Abstract super-class for all partitioned graph configs
-
-
Field Summary
-
Fields inherited from class oracle.pgx.config.AbstractConfig
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description AbstractPartitionedGraphConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.List<GraphPropertyConfig>
getEdgeProps()
Get the vertex properties of this graph configurationabstract java.util.List<EntityProviderConfig>
getEdgeProviders()
Get the vertex providers of this graph configurationjava.util.List<ExternalStoreConfig>
getExternalStores()
Format
getFormat()
Get the format of this graph configurationabstract java.lang.Integer
getNumConnections()
number of connections to read/write data from/to the RDBMS tablejava.lang.Integer
getNumConnections(int machineCount, int defaultNumConnectionsTotal)
PartitionWhileLoading
getPartitionWhileLoading()
Indicates if the graph should be heterogenized during loadingabstract java.util.List<oracle.pgx.config.PgxRedactionRuleConfig>
getRedactionRules()
Get the redaction rules from this graph configurationabstract java.util.List<oracle.pgx.config.PgxRedactionRuleMappingConfig>
getRulesMapping()
Get the mapping between redaction rules and users/rolesIdStrategy
getValidatedEdgeIdStrategy()
Validates and return the ID strategy used for edges (checking if the strategy is compatible with the rest of the graph configuration)IdType
getValidatedEdgeIdType()
Validates and return the ID type used for edges (checking if the type is compatible with the rest of the configuration)IdStrategy
getValidatedVertexIdStrategy()
Validates and return the ID strategy used for vertices (checking if the strategy is compatible with the rest of the graph configuration)IdType
getValidatedVertexIdType()
Validates and return the ID type used for vertices (checking if the type is compatible with the rest of the configuration)java.util.List<GraphPropertyConfig>
getVertexProps()
Get the vertex properties of this graph configurationabstract java.util.List<EntityProviderConfig>
getVertexProviders()
Get the vertex providers of this graph configurationabstract boolean
hasDefaultValue(PartitionedGraphConfig.Field field)
int
hashCode()
PartitionedGraphConfigBuilder
toGraphConfigBuilder()
-
Methods inherited from class oracle.pgx.config.GraphConfig
getArrayCompactionThreshold, getEdgeIdType, getEdgePropertyDefault, getEdgePropertyDimension, getEdgePropertyName, getEdgePropertyType, getEdgePropertyTypes, getLoadingOptions, getNodeKeyType, getNodePropertyDefault, getNodePropertyDimension, getNodePropertyName, getNodePropertyType, getOptimizedFor, getVertexIdType, getVertexPropertyTypes, 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, getKeystoreAlias, getLocalDateFormat, getName, 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.EsConnectionConfig
getEsIndexName, getEsUrl, getMaxBatchSize, getProxyUrl, getScrollTime, getUsername
-
-
-
-
Method Detail
-
toGraphConfigBuilder
public PartitionedGraphConfigBuilder toGraphConfigBuilder()
- Specified by:
toGraphConfigBuilder
in interfaceoracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
-
getPartitionWhileLoading
public PartitionWhileLoading getPartitionWhileLoading()
Description copied from class:GraphConfig
Indicates if the graph should be heterogenized during loading- Specified by:
getPartitionWhileLoading
in classGraphConfig
- Returns:
true
if the graph should be heterogenized during loading,false
ornull
otherwise
-
getValidatedVertexIdStrategy
public IdStrategy getValidatedVertexIdStrategy()
Validates and return the ID strategy used for vertices (checking if the strategy is compatible with the rest of the graph configuration)- Overrides:
getValidatedVertexIdStrategy
in classGraphConfig
- Returns:
- the ID strategy that can be used for the vertices of the graph
-
getValidatedEdgeIdStrategy
public IdStrategy getValidatedEdgeIdStrategy()
Validates and return the ID strategy used for edges (checking if the strategy is compatible with the rest of the graph configuration)- Overrides:
getValidatedEdgeIdStrategy
in classGraphConfig
- Returns:
- the ID strategy that can be used for the edges of the graph
-
getValidatedVertexIdType
public IdType getValidatedVertexIdType()
Validates and return the ID type used for vertices (checking if the type is compatible with the rest of the configuration)- Overrides:
getValidatedVertexIdType
in classGraphConfig
- Returns:
- the ID type that can be used for the vertices of the graph
-
getValidatedEdgeIdType
public IdType getValidatedEdgeIdType()
Validates and return the ID type used for edges (checking if the type is compatible with the rest of the configuration)- Overrides:
getValidatedEdgeIdType
in classGraphConfig
- Returns:
- the ID type that can be used for the edges of the graph
-
getRedactionRules
public abstract java.util.List<oracle.pgx.config.PgxRedactionRuleConfig> getRedactionRules()
Get the redaction rules from this graph configuration- Returns:
- the list of PgxRedactionRuleConfig
-
getRulesMapping
public abstract java.util.List<oracle.pgx.config.PgxRedactionRuleMappingConfig> getRulesMapping()
Get the mapping between redaction rules and users/roles- Returns:
- the list of PgxRedactionRuleMappingConfig
-
getVertexProviders
public abstract java.util.List<EntityProviderConfig> getVertexProviders()
Get the vertex providers of this graph configuration- Returns:
- the list of URIs
-
getEdgeProviders
public abstract java.util.List<EntityProviderConfig> getEdgeProviders()
Get the vertex providers of this graph configuration- Returns:
- the list of URIs
-
getNumConnections
public abstract java.lang.Integer getNumConnections()
number of connections to read/write data from/to the RDBMS table- Returns:
- the number of connections
-
hasDefaultValue
public abstract boolean hasDefaultValue(PartitionedGraphConfig.Field field)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classGraphConfig
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGraphConfig
-
getFormat
public Format getFormat()
Description copied from interface:CommonLoadableConfig
Get the format of this graph configuration- Specified by:
getFormat
in interfaceCommonLoadableConfig<Format>
- Returns:
- the format
-
getVertexProps
public java.util.List<GraphPropertyConfig> getVertexProps()
Description copied from class:GraphConfig
Get the vertex properties of this graph configuration- Specified by:
getVertexProps
in classGraphConfig
- Returns:
- the list of vertex properties
-
getEdgeProps
public java.util.List<GraphPropertyConfig> getEdgeProps()
Description copied from class:GraphConfig
Get the vertex properties of this graph configuration- Specified by:
getEdgeProps
in classGraphConfig
- Returns:
- the list of vertex properties
-
getExternalStores
public java.util.List<ExternalStoreConfig> getExternalStores()
- Specified by:
getExternalStores
in classGraphConfig
-
getNumConnections
public java.lang.Integer getNumConnections(int machineCount, int defaultNumConnectionsTotal)
-
-