Package io.hgraphdb.models
Class EdgeIndexModel
- java.lang.Object
-
- io.hgraphdb.models.BaseModel
-
- io.hgraphdb.models.EdgeIndexModel
-
- All Implemented Interfaces:
AutoCloseable
public class EdgeIndexModel extends BaseModel
-
-
Constructor Summary
Constructors Constructor Description EdgeIndexModel(HBaseGraph graph, org.apache.hadoop.hbase.client.Table table)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteEdgeEndpoints(org.apache.tinkerpop.gremlin.structure.Edge edge, Long ts)
void
deleteEdgeIndex(org.apache.tinkerpop.gremlin.structure.Edge edge, String key, Long ts)
org.apache.tinkerpop.gremlin.structure.Edge
deserialize(org.apache.hadoop.hbase.client.Result result)
Iterator<org.apache.tinkerpop.gremlin.structure.Edge>
edges(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String... labels)
Iterator<org.apache.tinkerpop.gremlin.structure.Edge>
edges(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String key, Object value)
Iterator<org.apache.tinkerpop.gremlin.structure.Edge>
edgesInRange(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String key, Object inclusiveFromValue, Object exclusiveToValue)
Iterator<org.apache.tinkerpop.gremlin.structure.Edge>
edgesWithLimit(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String key, Object fromValue, int limit, boolean reversed)
byte[]
serializeForRead(org.apache.tinkerpop.gremlin.structure.Vertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, boolean isUnique, String key, String label, Object value)
byte[]
serializeForWrite(org.apache.tinkerpop.gremlin.structure.Edge edge, org.apache.tinkerpop.gremlin.structure.Direction direction, boolean isUnique, String key)
Iterator<org.apache.tinkerpop.gremlin.structure.Vertex>
vertices(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String... labels)
Iterator<org.apache.tinkerpop.gremlin.structure.Vertex>
vertices(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String edgeKey, Object edgeValue)
Iterator<org.apache.tinkerpop.gremlin.structure.Vertex>
verticesInRange(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String edgeKey, Object inclusiveFromEdgeValue, Object exclusiveToEdgeValue)
Iterator<org.apache.tinkerpop.gremlin.structure.Vertex>
verticesWithLimit(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String edgeKey, Object fromEdgeValue, int limit, boolean reversed)
void
writeEdgeEndpoints(org.apache.tinkerpop.gremlin.structure.Edge edge)
void
writeEdgeIndex(org.apache.tinkerpop.gremlin.structure.Edge edge, String key)
-
-
-
Constructor Detail
-
EdgeIndexModel
public EdgeIndexModel(HBaseGraph graph, org.apache.hadoop.hbase.client.Table table)
-
-
Method Detail
-
writeEdgeEndpoints
public void writeEdgeEndpoints(org.apache.tinkerpop.gremlin.structure.Edge edge)
-
writeEdgeIndex
public void writeEdgeIndex(org.apache.tinkerpop.gremlin.structure.Edge edge, String key)
-
deleteEdgeEndpoints
public void deleteEdgeEndpoints(org.apache.tinkerpop.gremlin.structure.Edge edge, Long ts)
-
deleteEdgeIndex
public void deleteEdgeIndex(org.apache.tinkerpop.gremlin.structure.Edge edge, String key, Long ts)
-
edges
public Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String... labels)
-
edges
public Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String key, Object value)
-
edgesInRange
public Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesInRange(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String key, Object inclusiveFromValue, Object exclusiveToValue)
-
edgesWithLimit
public Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edgesWithLimit(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String key, Object fromValue, int limit, boolean reversed)
-
vertices
public Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String... labels)
-
vertices
public Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String edgeKey, Object edgeValue)
-
verticesInRange
public Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesInRange(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String edgeKey, Object inclusiveFromEdgeValue, Object exclusiveToEdgeValue)
-
verticesWithLimit
public Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> verticesWithLimit(HBaseVertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, String label, String edgeKey, Object fromEdgeValue, int limit, boolean reversed)
-
serializeForRead
public byte[] serializeForRead(org.apache.tinkerpop.gremlin.structure.Vertex vertex, org.apache.tinkerpop.gremlin.structure.Direction direction, boolean isUnique, String key, String label, Object value)
-
serializeForWrite
public byte[] serializeForWrite(org.apache.tinkerpop.gremlin.structure.Edge edge, org.apache.tinkerpop.gremlin.structure.Direction direction, boolean isUnique, String key)
-
deserialize
public org.apache.tinkerpop.gremlin.structure.Edge deserialize(org.apache.hadoop.hbase.client.Result result)
-
-