Class EdgeLinkedList


  • public class EdgeLinkedList
    extends Object
    • Method Detail

      • containsEdge

        public boolean containsEdge​(RID rid)
      • toJSON

        public org.json.JSONArray toJSON()
      • containsVertex

        public boolean containsVertex​(RID rid,
                                      int[] edgeBucketFilter)
      • count

        public long count​(String edgeType)
        Counts the items in the linked list.
        Parameters:
        edgeType - Type of edge to filter for the counting. If it is null, any type is counted.
        Returns:
      • upgrade

        public void upgrade​(RID newEdgeRID,
                            RID vertexRID)
      • add

        public void add​(RID edgeRID,
                        RID vertexRID)
      • removeEdge

        public void removeEdge​(Edge edge)
      • removeEdgeRID

        public void removeEdgeRID​(RID edge)
      • removeVertex

        public void removeVertex​(RID vertexRID)