| Constructor and Description |
|---|
GraphMetaData() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GraphConfig |
getConfig()
Gets the graph configuration object used to specify the data source of this graph.
|
long |
getCreationRequestTimestamp()
Gets the timestamp (milliseconds since Jan 1st 1970) when this graph was requested to be created.
|
long |
getCreationTimestamp()
Gets the timestamp (milliseconds since Jan 1st 1970) when this graph finished creation.
|
String |
getDataSourceVersion()
Gets the format-specific version identifier provided by data-source (timestamp for files, snapshot ID for databases).
|
IdType |
getEdgeIdType()
Gets the edge ID type of this graph.
|
long |
getMemoryMb()
Gets the estimated number of memory this graph (including its properties) consumes in memory (in megabytes).
|
long |
getNumEdges()
Gets the number of edges
|
long |
getNumVertices()
Gets the number of vertices
|
IdType |
getVertexIdType()
Gets the vertex ID type of this graph.
|
int |
hashCode() |
void |
setConfig(GraphConfig config) |
void |
setCreationRequestTimestamp(long creationRequestTimestamp) |
void |
setCreationTimestamp(long creationTimestamp) |
void |
setDataSourceVersion(String dataSourceVersion) |
void |
setEdgeIdType(IdType edgeIdType) |
void |
setMemoryMb(long memoryMb) |
void |
setNumEdges(long numEdges) |
void |
setNumVertices(long numVertices) |
void |
setVertexIdType(IdType vertexIdType) |
String |
toString() |
public GraphConfig getConfig()
null if graph was not created from a datasource.public long getCreationRequestTimestamp()
public long getCreationTimestamp()
public String getDataSourceVersion()
null if graph was not created from a datasource.public IdType getEdgeIdType()
public long getMemoryMb()
public long getNumEdges()
public long getNumVertices()
public IdType getVertexIdType()
public void setConfig(GraphConfig config)
config - the GraphConfig object to set for this GraphMetaData objectpublic void setCreationRequestTimestamp(long creationRequestTimestamp)
creationRequestTimestamp - the creationRequestTimestamp to setpublic void setCreationTimestamp(long creationTimestamp)
creationTimestamp - the creationTimestamp to setpublic void setDataSourceVersion(String dataSourceVersion)
dataSourceVersion - the dataSourceVersion to setpublic void setEdgeIdType(IdType edgeIdType)
edgeIdType - the edgeIdType to setpublic void setMemoryMb(long memoryMb)
memoryMb - the memoryMb to setpublic void setNumEdges(long numEdges)
numEdges - the numEdges to setpublic void setNumVertices(long numVertices)
numVertices - the numVertices to setpublic void setVertexIdType(IdType vertexIdType)
vertexIdType - the vertexIdType to setCopyright © 2015. All rights reserved.