| Modifier and Type | Method and Description |
|---|---|
<ID> PgxVertex<ID> |
getDestination()
Blocking version of
getDestinationAsync(). |
<ID> PgxFuture<PgxVertex<ID>> |
getDestinationAsync() |
java.lang.String |
getLabel()
Blocking version of
getLabelAsync(). |
PgxFuture<java.lang.String> |
getLabelAsync()
Gets the label.
|
<ID> PgxVertex<ID> |
getSource()
Blocking version of
getSourceAsync(). |
<ID> PgxFuture<PgxVertex<ID>> |
getSourceAsync() |
equals, getGraph, getId, getProperty, getPropertyAsync, getType, hashCode, setProperty, setPropertyAsync, toStringpublic <ID> PgxVertex<ID> getDestination() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
getDestinationAsync(). Calls getDestinationAsync() and waits for the returned PgxFuture to complete.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.
public java.lang.String getLabel()
throws java.util.concurrent.ExecutionException,
java.lang.InterruptedException
getLabelAsync(). Calls getLabelAsync() and waits for the returned PgxFuture to complete.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.public PgxFuture<java.lang.String> getLabelAsync()
null if no label for this edge exists.java.lang.IllegalStateException - if this graph does not have any labels.public <ID> PgxVertex<ID> getSource() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
getSourceAsync(). Calls getSourceAsync() and waits for the returned PgxFuture to complete.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.Copyright © 2016 Oracle Corp. All Rights Reserved.