public class PgxEdge extends PgxEntity<Long> implements Comparable<PgxEdge>
PgxGraph
.Modifier and Type | Method and Description |
---|---|
int |
compareTo(PgxEdge o) |
<V extends Comparable<V>> |
getProperty(String propertyName)
Blocking version of
getPropertyAsync(String) . |
<V extends Comparable<V>> |
getPropertyAsync(String propertyName)
Gets the value of a property.
|
public int compareTo(PgxEdge o)
compareTo
in interface Comparable<PgxEdge>
@Generated(value="src/python/synchronize.py") public <V extends Comparable<V>> V getProperty(String propertyName) throws ExecutionException, InterruptedException
getPropertyAsync(String)
. Calls getPropertyAsync(String)
and waits for the returned PgxFuture
to complete.InterruptedException
- if the caller thread gets interrupted while waiting for completion.ExecutionException
- if any exception occurred during asynchronous execution. The actual exception will be nested.public <V extends Comparable<V>> PgxFuture<V> getPropertyAsync(String propertyName)
propertyName
- the property nameCopyright © 2015. All rights reserved.