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, toString
public <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.@Generated(value="src/python/synchronize.py") 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 not exists.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, 2017 Oracle Corp. All Rights Reserved.