Package oracle.pgx.config
Enum Format
- java.lang.Object
-
- java.lang.Enum<Format>
-
- oracle.pgx.config.Format
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJ_LIST
Adjacency List File FormatCSV
Comma-Separated Values (CSV) FormatEDGE_LIST
Edge List file formatFLAT_FILE
Flat File FormatGRAPHML
GraphML File FormatPG
Property Graph (PG) Database FormatPGB
PGX Binary File Format (formerly EBIN)RDF
Resource Description Framework (RDF) Database FormatTWO_TABLES
Two-Tables format (vertices, edges)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasVerticesAndEdgesSeparatedFileFormat()
Check if this format has vertices and edges separated in different filesboolean
hasVerticesAndEdgesSeparatedFormat()
Check if this format has vertices and edges separatedboolean
isFileFormat()
Check if format is a file format.boolean
isTextFormat()
Check if format is a text format.static Format
parseFormat(java.lang.String input)
Parses a format given as stringboolean
supportsEdgeLabel()
boolean
supportsLoadingVertexLabelFromProperty()
boolean
supportsPartitioningWhileLoading()
boolean
supportsPropertyColumn()
boolean
supportsPropertyConversion()
boolean
supportsSkippingEdges()
boolean
supportsSkippingVertices()
boolean
supportsVectorProperties()
boolean
supportsVertexLabels()
java.lang.String
toKey()
java.lang.String
toString()
static Format
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PGB
public static final Format PGB
PGX Binary File Format (formerly EBIN)
-
EDGE_LIST
public static final Format EDGE_LIST
Edge List file format
-
TWO_TABLES
public static final Format TWO_TABLES
Two-Tables format (vertices, edges)
-
ADJ_LIST
public static final Format ADJ_LIST
Adjacency List File Format
-
FLAT_FILE
public static final Format FLAT_FILE
Flat File Format
-
GRAPHML
public static final Format GRAPHML
GraphML File Format
-
PG
public static final Format PG
Property Graph (PG) Database Format
-
RDF
public static final Format RDF
Resource Description Framework (RDF) Database Format
-
CSV
public static final Format CSV
Comma-Separated Values (CSV) Format
-
-
Method Detail
-
values
public static Format[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Format c : Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Format valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isFileFormat
public boolean isFileFormat()
Check if format is a file format.- Returns:
- the format
-
isTextFormat
public boolean isTextFormat()
Check if format is a text format.- Returns:
- whether the format is a text format
-
hasVerticesAndEdgesSeparatedFileFormat
public boolean hasVerticesAndEdgesSeparatedFileFormat()
Check if this format has vertices and edges separated in different files- Returns:
- whether the given format has vertices and edges separated in different files
-
hasVerticesAndEdgesSeparatedFormat
public boolean hasVerticesAndEdgesSeparatedFormat()
Check if this format has vertices and edges separated- Returns:
- whether the given format has vertices and edges separated
-
supportsLoadingVertexLabelFromProperty
public boolean supportsLoadingVertexLabelFromProperty()
-
supportsSkippingEdges
public boolean supportsSkippingEdges()
-
supportsSkippingVertices
public boolean supportsSkippingVertices()
-
supportsPropertyConversion
public boolean supportsPropertyConversion()
-
supportsVertexLabels
public boolean supportsVertexLabels()
-
supportsEdgeLabel
public boolean supportsEdgeLabel()
-
supportsPartitioningWhileLoading
public boolean supportsPartitioningWhileLoading()
-
supportsVectorProperties
public boolean supportsVectorProperties()
-
supportsPropertyColumn
public boolean supportsPropertyColumn()
-
toKey
public java.lang.String toKey()
- Returns:
- JSON key representation of this format
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Format>
-
parseFormat
public static Format parseFormat(java.lang.String input)
Parses a format given as string- Parameters:
input
- the input string- Returns:
- the format
-
-