Class EdgeIndexModel

    • 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)