public interface OracleMetadataGraph
| Modifier and Type | Method and Description |
|---|---|
default long |
countEdges()
Counts all edges
|
default long |
countEdges(int dop)
Counts all edges using parallel scans and the specified DOP.
|
long |
countEdges(int dop,
ProgressListener pll)
Counts all edges using parallel scans and the specified DOP.
|
default long |
countVertices()
Counts all vertices
|
default long |
countVertices(int dop)
Counts all vertices using parallel scan with dop threads
|
long |
countVertices(int dop,
ProgressListener pll)
Counts all vertices using parallel scan with dop threads
|
default int |
getEdgePropertyNames(int dop,
int timeout,
java.util.Map<java.lang.String,java.lang.Class> propertyNames)
Gets the property names of all edges.
|
int |
getEdgePropertyNames(int dop,
int timeout,
java.util.Map<java.lang.String,java.lang.Class> propertyNames,
ProgressListener pl)
Gets the property names of all edges using parallel scans and the specified DOP.
|
default int |
getEdgePropertyNames(int dop,
int timeout,
java.util.Set<java.lang.String> propertyNames)
Gets the property names of all edges.
|
int |
getEdgePropertyNames(int dop,
int timeout,
java.util.Set<java.lang.String> propertyNames,
ProgressListener pl)
Gets the property names of all edges using parallel scans and the specified DOP.
|
default java.util.Iterator<java.util.Map.Entry<java.lang.Object,java.lang.Object>> |
getElementsProperties(java.lang.Object[] ids,
java.lang.String propertyName,
java.lang.Class<? extends OracleElementBase> elementClass)
Return an iterable of Entry |
java.util.Iterator<java.util.Map.Entry<java.lang.Object,java.lang.Object>> |
getElementsProperties(java.lang.Object[] ids,
java.lang.String propertyName,
int dop,
java.lang.Class<? extends OracleElementBase> elementClass) |
default java.util.Set<java.lang.Long> |
getInvalidEdgeIDSet()
Gets a set of invalid edges that are stored in the property graph.
|
default java.util.Set<java.lang.Long> |
getInvalidEdgeIDSet(int dop)
Gets a set of invalid edges that are stored in the property graph.
|
java.util.Set<java.lang.Long> |
getInvalidEdgeIDSet(int dop,
ProgressListener pl)
Gets a set of invalid edges that are stored in the property graph.
|
default long |
getMaxEdgeID()
Get maximum edge ID
|
default long |
getMaxEdgeID(int dop)
Get maximum edge ID using parallel scans and the specified DOP.
|
long |
getMaxEdgeID(int dop,
ProgressListener pl)
Get the maximum edge ID using parallel scan and the specified DOP.
|
default long |
getMaxVertexID()
Get maximum Vertex ID
|
default long |
getMaxVertexID(int dop)
Get maximum vertex ID using parallel scans and the specified DOP.
|
long |
getMaxVertexID(int dop,
ProgressListener pl)
Get maximum vertex ID using parallel scans and the specified DOP.
|
default long |
getMinEdgeID()
Get the minimum edge ID
|
default long |
getMinEdgeID(int dop)
Get the minimum edge ID using parallel scan with dop threads
|
long |
getMinEdgeID(int dop,
ProgressListener pl)
Get the minimum edge ID using parallel scan with dop threads
|
default long |
getMinVertexID()
Get minimum Vertex ID
|
default long |
getMinVertexID(int dop)
Get minimum vertex ID using parallel scans and the specified DOP.
|
long |
getMinVertexID(int dop,
ProgressListener pl)
Get minimum vertex ID using parallel scans and the specified DOP.
|
ProgressListener |
getProgressListener()
Gets the ProgressListener associated to this property graph.
|
default java.util.Set<java.lang.Long> |
getVertexIDSet()
Gets a set of Vertex IDs that are stored in the property graph
|
default java.util.Set<java.lang.Long> |
getVertexIDSet(int dop)
Gets a set of Vertex IDs that are stored in the vertex table of the property graph using
parallel scan with dop threads
|
java.util.Set<java.lang.Long> |
getVertexIDSet(int dop,
ProgressListener pl)
Gets a set of Vertex IDs that are stored in the vertex table of the property graph using
parallel scan with dop threads
|
default int |
getVertexPropertyNames(int dop,
int timeout,
java.util.Map<java.lang.String,java.lang.Class> propertyNames)
Gets the property names of all vertices using parallel scans and the specified DOP.
|
int |
getVertexPropertyNames(int dop,
int timeout,
java.util.Map<java.lang.String,java.lang.Class> propertyNames,
ProgressListener pl)
Gets the property names of all vertices using parallel scans and the specified DOP.
|
default int |
getVertexPropertyNames(int dop,
int timeout,
java.util.Set<java.lang.String> propertyNames)
Gets the property names of all vertices using parallel scans and the specified DOP.
|
int |
getVertexPropertyNames(int dop,
int timeout,
java.util.Set<java.lang.String> propertyNames,
ProgressListener pl)
Gets the property names of all vertices using parallel scans and the specified DOP.
|
default boolean |
isEmpty()
Checks if this property graph is empty
|
default long countEdges()
default long countEdges(int dop)
dop - a positive integer defining the number of threads to use when
parallel scanning the edges.long countEdges(int dop,
ProgressListener pll)
dop - a positive integer defining the number of threads to use when
parallel scanning the edges.default long countVertices()
default long countVertices(int dop)
dop - a positive integer defining the number of threads to use when
parallel scanning the vertices table.long countVertices(int dop,
ProgressListener pll)
dop - a positive integer defining the number of threads to use when
parallel scanning the vertices.pll - a ProgressListener object.default int getEdgePropertyNames(int dop,
int timeout,
java.util.Map<java.lang.String,java.lang.Class> propertyNames)
dop - a positive integer defining the number of threads to use when
parallel scanning the edgestimeout - time out in the unit of secondspropertyNames - a map of int getEdgePropertyNames(int dop,
int timeout,
java.util.Map<java.lang.String,java.lang.Class> propertyNames,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the edgestimeout - time out in the unit of secondspropertyNames - a map of pl - a ProgressListener object.default int getEdgePropertyNames(int dop,
int timeout,
java.util.Set<java.lang.String> propertyNames)
dop - a positive integer defining the number of threads to use when
parallel scanning the edgestimeout - time out in the unit of secondspropertyNames - a set of property names to be returnedint getEdgePropertyNames(int dop,
int timeout,
java.util.Set<java.lang.String> propertyNames,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the edgestimeout - time out in the unit of secondspropertyNames - a set of property names to be returnedpl - a ProgressListener object.default java.util.Iterator<java.util.Map.Entry<java.lang.Object,java.lang.Object>> getElementsProperties(java.lang.Object[] ids,
java.lang.String propertyName,
java.lang.Class<? extends OracleElementBase> elementClass)
ids - an array of requestedIdsjava.util.Iterator<java.util.Map.Entry<java.lang.Object,java.lang.Object>> getElementsProperties(java.lang.Object[] ids,
java.lang.String propertyName,
int dop,
java.lang.Class<? extends OracleElementBase> elementClass)
default java.util.Set<java.lang.Long> getInvalidEdgeIDSet()
default java.util.Set<java.lang.Long> getInvalidEdgeIDSet(int dop)
dop - a positive integer defining the number of threads to use when
parallel scanning the vertices and the edge tables.java.util.Set<java.lang.Long> getInvalidEdgeIDSet(int dop,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the edges and the vertices tables.pl - a ProgressListener object.default long getMaxEdgeID()
default long getMaxEdgeID(int dop)
dop - a positive integer defining the number of threads to use when
parallel scanning the edges.long getMaxEdgeID(int dop,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the edges.pl - a ProgressListener object.default long getMaxVertexID()
default long getMaxVertexID(int dop)
dop - a positive integer defining the number of threads to use when
parallel scanning the vertices.long getMaxVertexID(int dop,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the vertices.pl - a ProgressListener object.default long getMinEdgeID()
default long getMinEdgeID(int dop)
dop - a positive integer defining the number of threads to use when
parallel scanning the edges.long getMinEdgeID(int dop,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the edges.pl - a ProgressListener object.default long getMinVertexID()
default long getMinVertexID(int dop)
dop - a positive integer defining the number of threads to use when
parallel scanning the vertices.long getMinVertexID(int dop,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the vertices.pl - a ProgressListener object.ProgressListener getProgressListener()
default java.util.Set<java.lang.Long> getVertexIDSet()
default java.util.Set<java.lang.Long> getVertexIDSet(int dop)
dop - a positive integer defining the number of threads to use when
parallel scanning the vertices table.java.util.Set<java.lang.Long> getVertexIDSet(int dop,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the vertices table.pl - a ProgressListener object.default int getVertexPropertyNames(int dop,
int timeout,
java.util.Map<java.lang.String,java.lang.Class> propertyNames)
dop - a positive integer defining the number of threads to use when
parallel scanning the verticestimeout - time out in the unit of secondspropertyNames - a map of int getVertexPropertyNames(int dop,
int timeout,
java.util.Map<java.lang.String,java.lang.Class> propertyNames,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the verticestimeout - time out in the unit of secondspropertyNames - a map of pl - a ProgressListener object.default int getVertexPropertyNames(int dop,
int timeout,
java.util.Set<java.lang.String> propertyNames)
dop - a positive integer defining the number of threads to use when
parallel scanning the verticestimeout - time out in the unit of secondspropertyNames - a set of property names to be returnedint getVertexPropertyNames(int dop,
int timeout,
java.util.Set<java.lang.String> propertyNames,
ProgressListener pl)
dop - a positive integer defining the number of threads to use when
parallel scanning the verticestimeout - time out in the unit of secondspropertyNames - a set of property names to be returnedpl - a ProgressListener object.default boolean isEmpty()
throws java.io.IOException
java.io.IOException