Class VertexCollection<ID>

  • Type Parameters:
    ID - the vertex ID type.
    All Implemented Interfaces:
    java.lang.AutoCloseable, java.lang.Iterable<PgxVertex<ID>>, oracle.pgx.common.IdentifiableCollection, oracle.pgx.common.IdentifiableVertexCollection
    Direct Known Subclasses:
    ComponentCollection, VertexSequence, VertexSet

    public abstract class VertexCollection<ID>
    extends GraphEntityCollection<PgxVertex<ID>,​ID>
    implements oracle.pgx.common.IdentifiableVertexCollection
    A collection of vertices.
    • Method Detail

      • addAllById

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

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