Class EdgeCollection

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.lang.Iterable<PgxEdge>, oracle.pgx.common.IdentifiableCollection, oracle.pgx.common.IdentifiableEdgeCollection
    Direct Known Subclasses:
    EdgeSequence, EdgeSet

    public abstract class EdgeCollection
    extends GraphEntityCollection<PgxEdge,​java.lang.Long>
    implements oracle.pgx.common.IdentifiableEdgeCollection
    A collection of edges.
    • Method Detail

      • getIdType

        public IdType getIdType()
        Description copied from class: PgxCollection
        Gets the ID type of the element type.
        Specified by:
        getIdType in class PgxCollection<PgxEdge,​java.lang.Long>
        Returns:
        the ID type of the element type.
      • addAllById

        public void addAllById​(java.lang.Long... ids)
                        throws java.util.concurrent.ExecutionException,
                               java.lang.InterruptedException
        Description copied from class: GraphEntityCollection
        Replaces #addAll(Object[]).
        Specified by:
        addAllById in class GraphEntityCollection<PgxEdge,​java.lang.Long>
        Parameters:
        ids - elements to add
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • removeAllById

        public void removeAllById​(java.lang.Long... ids)
                           throws java.util.concurrent.ExecutionException,
                                  java.lang.InterruptedException
        Description copied from class: GraphEntityCollection
        Replaces #removeAll(Object[]).
        Specified by:
        removeAllById in class GraphEntityCollection<PgxEdge,​java.lang.Long>
        Parameters:
        ids - elements to remove
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException