V - the value typepublic class Scalar<V> extends PgxManagedObject
| Modifier and Type | Method and Description |
|---|---|
V |
get()
Blocking version of
getAsync(). |
PgxFuture<V> |
getAsync() |
PgxGraph |
getGraph()
Gets the graph the scalar is bound to.
|
String |
getName() |
PropertyType |
getType()
Gets the type of this Scalar.
|
void |
set(V value)
Blocking version of
#setAsync(). |
PgxFuture<Void> |
setAsync(V value)
Sets the scalar value.
|
String |
toString() |
equals, hashCodeclose, destroy, destroyAsync@Generated(value="src/python/synchronize.py") public V get() throws ExecutionException, InterruptedException
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 PgxGraph getGraph()
public String getName()
getName in class PgxManagedObjectpublic PropertyType getType()
@Generated(value="src/python/synchronize.py") public void set(V value) throws ExecutionException, InterruptedException
#setAsync(). Calls #setAsync() 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 PgxFuture<Void> setAsync(V value)
value - the value to be assignedpublic String toString()
toString in class PgxManagedObjectCopyright © 2015. All rights reserved.