Package io.hgraphdb

Class HBaseEdge

  • All Implemented Interfaces:
    org.apache.tinkerpop.gremlin.structure.Edge, org.apache.tinkerpop.gremlin.structure.Element

    public class HBaseEdge
    extends HBaseElement
    implements org.apache.tinkerpop.gremlin.structure.Edge
    • Constructor Detail

      • HBaseEdge

        public HBaseEdge​(HBaseGraph graph,
                         Object id,
                         String label,
                         Long createdAt,
                         Long updatedAt,
                         Map<String,​Object> properties,
                         org.apache.tinkerpop.gremlin.structure.Vertex inVertex,
                         org.apache.tinkerpop.gremlin.structure.Vertex outVertex)
      • HBaseEdge

        public HBaseEdge​(HBaseGraph graph,
                         Object id,
                         String label,
                         Long createdAt,
                         Long updatedAt,
                         Map<String,​Object> properties,
                         boolean propertiesFullyLoaded,
                         org.apache.tinkerpop.gremlin.structure.Vertex inVertex,
                         org.apache.tinkerpop.gremlin.structure.Vertex outVertex)
    • Method Detail

      • outVertex

        public org.apache.tinkerpop.gremlin.structure.Vertex outVertex()
        Specified by:
        outVertex in interface org.apache.tinkerpop.gremlin.structure.Edge
      • setOutVertex

        protected void setOutVertex​(HBaseVertex outVertex)
      • inVertex

        public org.apache.tinkerpop.gremlin.structure.Vertex inVertex()
        Specified by:
        inVertex in interface org.apache.tinkerpop.gremlin.structure.Edge
      • setInVertex

        protected void setInVertex​(HBaseVertex inVertex)
      • vertices

        public Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices​(org.apache.tinkerpop.gremlin.structure.Direction direction)
        Specified by:
        vertices in interface org.apache.tinkerpop.gremlin.structure.Edge
      • remove

        public void remove()
        Specified by:
        remove in interface org.apache.tinkerpop.gremlin.structure.Element
      • properties

        public <V> Iterator<org.apache.tinkerpop.gremlin.structure.Property<V>> properties​(String... propertyKeys)
        Specified by:
        properties in interface org.apache.tinkerpop.gremlin.structure.Edge
        Specified by:
        properties in interface org.apache.tinkerpop.gremlin.structure.Element
      • property

        public <V> org.apache.tinkerpop.gremlin.structure.Property<V> property​(String key)
        Specified by:
        property in interface org.apache.tinkerpop.gremlin.structure.Element
      • property

        public <V> org.apache.tinkerpop.gremlin.structure.Property<V> property​(String key,
                                                                               V value)
        Specified by:
        property in interface org.apache.tinkerpop.gremlin.structure.Element
      • writeEdgeEndpoints

        public void writeEdgeEndpoints()
      • deleteEdgeEndpoints

        public void deleteEdgeEndpoints()
      • deleteEdgeEndpoints

        public void deleteEdgeEndpoints​(Long ts)