ID - the vertex ID typepublic class PgxVertex<ID extends Comparable<ID>> extends PgxEntity<ID> implements Comparable<PgxVertex<ID>>
PgxGraph.| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PgxVertex<ID> 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(PgxVertex<ID> o)
compareTo in interface Comparable<PgxVertex<ID extends Comparable<ID>>>@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.