Class BipartiteGraph

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.lang.Cloneable

    public class BipartiteGraph
    extends PgxGraph
    A bipartite PgxGraph.
    • Method Detail

      • getIsLeftPropertyAsync

        public <ID> PgxFuture<VertexProperty<ID,​java.lang.Boolean>> getIsLeftPropertyAsync()
        Gets the 'is Left' vertex property of the graph.
        Returns:
        the vertex property object or null if no such property exists
      • getIsLeftProperty

        public <ID> VertexProperty<ID,​java.lang.Boolean> getIsLeftProperty()
                                                                          throws java.util.concurrent.ExecutionException,
                                                                                 java.lang.InterruptedException
        Blocking version of getIsLeftPropertyAsync(). Calls getIsLeftPropertyAsync() and waits for returned PgxFuture to complete.
        Throws:
        java.lang.InterruptedException - if the caller thread gets interrupted while waiting for completion.
        java.util.concurrent.ExecutionException - if any exception occurred during asynchronous execution. The actual exception will be nested.