public abstract class GraphConfig extends AbstractConfig
Constructor and Description |
---|
GraphConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
getEdgePropertyDefault(int i)
Get the default value of a edge property by index
|
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 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 String |
getName()
Get the graph name of this graph configuration.
|
IdType |
getNodeKeyType()
alias for
getVertexIdType() |
Object |
getNodePropertyDefault(int i)
Get the default value of a vertex property by index
|
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 List<GraphPropertyConfig> |
getVertexProps()
Get the vertex properties of this graph configuration
|
int |
hashCode() |
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
|
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 Object getEdgePropertyDefault(int i)
i
- the 0-based index of the edge propertypublic 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 List<GraphPropertyConfig> getEdgeProps()
public abstract GraphErrorHandlingConfig getErrorHandling()
public abstract Format getFormat()
public abstract GraphLoadingConfig getLoading()
public abstract String getName()
public IdType getNodeKeyType()
getVertexIdType()
public Object getNodePropertyDefault(int i)
i
- the 0-based index of the vertex propertypublic 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 List<GraphPropertyConfig> getVertexProps()
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 int numEdgeProperties()
public int numNodeProperties()
Copyright © 2015. All rights reserved.