Package oracle.pgx.config
Class AbstractFileGraphConfig
java.lang.Object
oracle.pgx.config.AbstractConfig
oracle.pgx.config.GraphConfig
oracle.pgx.config.AbstractFileGraphConfig
- All Implemented Interfaces:
CommonLoadableConfig<Format>,oracle.pgx.config.internal.ConvertibleToGraphConfigBuilder
- Direct Known Subclasses:
AbstractTwoTablesTextGraphConfig,FileGraphConfig
Abstract super-class for all file-base graph configs
-
Field Summary
Fields inherited from class oracle.pgx.config.AbstractConfig
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract Objectname or index (starting from 1) of column corresponding to edge destination (for CSV format only)abstract Objectname or index (starting from 1) of column corresponding to edge id (for CSV format only)abstract Objectname or index (starting from 1) of column corresponding to edge label (for CSV format only)abstract Objectname or index (starting from 1) of column corresponding to edge source (for CSV format only)Get the unified resource identifiers for the files with the graph edge dataabstract List<ExternalStoreConfig>getName()Get the graph name of this graph configuration.abstract StringGet the separator of this graph configurationGet the storing configurationgetUri()Get the unified resource identifier for the file with the graph datagetUris()Get the unified resource identifiers for the files with the graph dataabstract Objectname or index (starting from 1) of column corresponding to vertex id (for CSV format only)abstract Objectname or index (starting from 1) of column corresponding to vertex labels (for CSV format only)Get the unified resource identifiers for the files with the graph vertex datainthashCode()abstract BooleanWhether GZip file automatic detection is enabled or not.abstract BooleanisHeader()Whether the file has a header.Methods inherited from class oracle.pgx.config.GraphConfig
getArrayCompactionThreshold, getEdgeIdType, getEdgePropertyDefault, getEdgePropertyDimension, getEdgePropertyName, getEdgePropertyType, getEdgePropertyTypes, getEdgeProps, 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, skipEdgeLoading, skipVertexLoading, supportsEdgeLabel, supportsEdgeLabel, supportsPropertyColumn, supportsPropertyColumn, supportsVectorProperties, supportsVectorProperties, supportsVertexLabels, supportsVertexLabelsMethods inherited from class oracle.pgx.config.AbstractConfig
getDefault, getValueFromEnvironment, getValueFromEnvironment, getValues, parseString, setSerializableMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface oracle.pgx.config.CommonLoadableConfig
createLocalDateFormat, createTimeFormat, createTimestampFormat, createTimestampWithTimezoneFormat, createTimeWithTimezoneFormat, getAttributes, getErrorHandling, getFormat, getKeystoreAlias, getLocalDateFormat, getTimeFormat, getTimestampFormat, getTimestampWithTimezoneFormat, getTimeWithTimezoneFormat, getVectorComponentDelimiter
-
Constructor Details
-
AbstractFileGraphConfig
public AbstractFileGraphConfig()
-
-
Method Details
-
toGraphConfigBuilder
-
getUri
Get the unified resource identifier for the file with the graph data- Returns:
- the uri
-
getUris
Get the unified resource identifiers for the files with the graph data- Returns:
- the list of URIs
-
getStoringOptions
Get the storing configuration- Returns:
- the storing configuration
-
getVertexUris
Get the unified resource identifiers for the files with the graph vertex data- Returns:
- the list of URIs
-
getEdgeUris
Get the unified resource identifiers for the files with the graph edge data- Returns:
- the list of URIs
-
getSeparator
Get the separator of this graph configuration- Returns:
- the separator
-
isDetectGzip
Whether GZip file automatic detection is enabled or not.- Returns:
- true if GZip file automatic detection is enabled, false otherwise.
-
isHeader
Whether the file has a header. i.e. first line of file is meant for headers, e.g. 'EdgeId, SourceId, DestId, EdgeProp1, EdgeProp2'- Returns:
- Whether the file has a header or not
-
getVertexIdColumn
name or index (starting from 1) of column corresponding to vertex id (for CSV format only) -
getVertexLabelsColumn
name or index (starting from 1) of column corresponding to vertex labels (for CSV format only) -
getEdgeIdColumn
name or index (starting from 1) of column corresponding to edge id (for CSV format only) -
getEdgeSourceColumn
name or index (starting from 1) of column corresponding to edge source (for CSV format only) -
getEdgeDestinationColumn
name or index (starting from 1) of column corresponding to edge destination (for CSV format only) -
getEdgeLabelColumn
name or index (starting from 1) of column corresponding to edge label (for CSV format only) -
getExternalStores
- Specified by:
getExternalStoresin classGraphConfig
-
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.- Returns:
- the graph name
-
equals
- Overrides:
equalsin classGraphConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classGraphConfig
-