public abstract class GraphConfig extends AbstractConfig
Constructor and Description |
---|
GraphConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
abstract java.lang.String |
getDateFormat()
The date format to use when loading and storing date properties.
|
java.lang.Object |
getEdgePropertyDefault(int i)
Get the default value of a edge property by index
|
int |
getEdgePropertyDimension(int i)
Get the dimension of a edge property by index
|
java.lang.String |
getEdgePropertyName(int i)
Get the name of a edge property by index
|
PropertyType |
getEdgePropertyType(int i)
Get the name of a edge property by index
|
abstract java.util.List<GraphPropertyConfig> |
getEdgeProps()
Get the vertex properties of this graph configuration
|
abstract GraphErrorHandlingConfig |
getErrorHandling()
Get the error handling configuration of this graph configuration
|
abstract Format |
getFormat()
Get the format of this graph configuration
|
abstract GraphLoadingConfig |
getLoading()
Get the loading configuration of this graph configuration
|
abstract java.lang.String |
getName()
Get the graph name of this graph configuration.
|
IdType |
getNodeKeyType()
alias for
getVertexIdType() |
java.lang.Object |
getNodePropertyDefault(int i)
Get the default value of a vertex property by index
|
int |
getNodePropertyDimension(int i)
Get the dimension of a node property by index
|
java.lang.String |
getNodePropertyName(int i)
Get the name of a vertex property by index
|
PropertyType |
getNodePropertyType(int i)
Get the type of a vertex property by index
|
abstract IdType |
getVertexIdType()
Get the vertex ID type of this graph configuration
|
abstract java.util.List<GraphPropertyConfig> |
getVertexProps()
Get the vertex properties of this graph configuration
|
int |
hashCode() |
abstract java.lang.Boolean |
isEdgeLabel()
Checks if this graph configuration has the edge label.
|
boolean |
isFileFormat()
Check if this graph configuration is a file-based configuration.
|
static boolean |
isFileFormat(Format format)
Check if a format is a file-based format
|
boolean |
isLoadEdgeKeys() |
boolean |
isLoadVertexKeys() |
boolean |
isMultipleFileFormat()
Check if this graph configuration is a multiple file-based configuration.
|
static boolean |
isMultipleFileFormat(Format format)
Check if a format is a multiple file-based format
|
boolean |
isSingleFileFormat()
Check if this graph configuration is a single file-based configuration.
|
static boolean |
isSingleFileFormat(Format format)
Check if a format is a single file-based format
|
abstract java.lang.Boolean |
isVertexLabels()
Checks if this graph configuration has the vertex label.
|
int |
numEdgeProperties()
Get the number of edge properties in this graph configuration
|
int |
numNodeProperties()
Get the number of vertex properties in this graph configuration
|
setSerializable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public abstract java.lang.String getDateFormat()
public java.lang.Object getEdgePropertyDefault(int i)
i
- the 0-based index of the edge propertypublic int getEdgePropertyDimension(int i)
i
- the 0-based index of the edge propertypublic java.lang.String getEdgePropertyName(int i)
i
- the 0-based index of the edge propertypublic PropertyType getEdgePropertyType(int i)
i
- the 0-based index of the edge propertypublic abstract java.util.List<GraphPropertyConfig> getEdgeProps()
public abstract GraphErrorHandlingConfig getErrorHandling()
public abstract Format getFormat()
public abstract GraphLoadingConfig getLoading()
public abstract java.lang.String getName()
public IdType getNodeKeyType()
getVertexIdType()
public java.lang.Object getNodePropertyDefault(int i)
i
- the 0-based index of the vertex propertypublic int getNodePropertyDimension(int i)
i
- the 0-based index of the node propertypublic java.lang.String getNodePropertyName(int i)
i
- the 0-based index of the vertex propertypublic PropertyType getNodePropertyType(int i)
i
- the 0-based index of the vertex propertypublic abstract IdType getVertexIdType()
public abstract java.util.List<GraphPropertyConfig> getVertexProps()
public int hashCode()
hashCode
in class java.lang.Object
public abstract java.lang.Boolean isEdgeLabel()
true
if this graph configuration has the edge label.public boolean isFileFormat()
true
if this graph configuration has a file-based format, false
otherwisepublic static boolean isFileFormat(Format format)
format
- the format to checktrue
if given format is a file-based format, false
otherwisepublic boolean isLoadEdgeKeys()
public boolean isLoadVertexKeys()
public boolean isMultipleFileFormat()
true
if this graph configuration has a multiple file-based format, false
otherwisepublic static boolean isMultipleFileFormat(Format format)
format
- the format to checktrue
if given format is a multiple file-based format, false
otherwisepublic boolean isSingleFileFormat()
true
if this graph configuration has a single file-based format, false
otherwisepublic static boolean isSingleFileFormat(Format format)
format
- the format to checktrue
if given format is a single file-based format, false
otherwisepublic abstract java.lang.Boolean isVertexLabels()
true
if this graph configuration has the vertex label.public int numEdgeProperties()
public int numNodeProperties()
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.