| Modifier and Type | Method and Description |
|---|---|
<ID> PgxVertex<ID> |
getDestination()
Blocking version of
getDestinationAsync(). |
<ID> PgxFuture<PgxVertex<ID>> |
getDestinationAsync()
Gets the destination vertex.
|
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()
Gets the source vertex.
|
<ID> Pair<PgxVertex<ID>,PgxVertex<ID>> |
getVertices()
Blocking version of
getVerticesAsync(). |
<ID> PgxFuture<Pair<PgxVertex<ID>,PgxVertex<ID>>> |
getVerticesAsync()
Gets both vertices of this edge as a pair.
|
equals, getGraph, getId, getProperty, getPropertyAsync, getType, hashCode, serialize, setProperty, setPropertyAsync, toStringpublic <ID> PgxVertex<ID> getDestination()
getDestinationAsync(). Calls getDestinationAsync() and waits for the returned PgxFuture to complete.public <ID> PgxFuture<PgxVertex<ID>> getDestinationAsync()
public java.lang.String getLabel()
getLabelAsync(). Calls getLabelAsync() and waits for the returned PgxFuture to complete.public PgxFuture<java.lang.String> getLabelAsync()
java.lang.IllegalStateException - if this graph does not have any labels.public <ID> PgxVertex<ID> getSource()
getSourceAsync(). Calls getSourceAsync() and waits for the returned PgxFuture to complete.public <ID> PgxFuture<PgxVertex<ID>> getSourceAsync()
public <ID> Pair<PgxVertex<ID>,PgxVertex<ID>> getVertices()
getVerticesAsync(). Calls getVerticesAsync() and waits for the returned the returned PgxFuture to complete.Copyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.