Package | Description |
---|---|
org.voltdb.client |
Package containing code specific to the VoltDB Java Client Driver.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Client.callAllPartitionProcedure(AllPartitionProcedureCallback callback,
java.lang.String procedureName,
java.lang.Object... params)
Asynchronously execute a stored procedure on a set of partitions, one partition at a time.
|
ClientResponseWithPartitionKey[] |
Client.callAllPartitionProcedure(java.lang.String procedureName,
java.lang.Object... params)
Synchronously execute a stored procedure on a set of partitions, one partition at a time.
|
boolean |
Client.callProcedure(ProcedureCallback callback,
java.lang.String procName,
java.lang.Object... parameters)
Asynchronously invoke a procedure.
|
ClientResponse |
Client.callProcedure(java.lang.String procName,
java.lang.Object... parameters)
Invoke a procedure.
|
ClientResponse |
Client.callProcedureWithClientTimeout(int queryTimeout,
java.lang.String procName,
long clientTimeout,
java.util.concurrent.TimeUnit unit,
java.lang.Object... parameters)
Synchronously invoke a procedure call, blocking until a result is available,
with caller-specified client timeout and query timeout.
|
boolean |
Client.callProcedureWithClientTimeout(ProcedureCallback callback,
int queryTimeout,
java.lang.String procName,
long clientTimeout,
java.util.concurrent.TimeUnit clientTimeoutUnit,
java.lang.Object... parameters)
Asynchronously invoke a procedure call with specified client and query timeouts.
|
ClientResponse |
Client.callProcedureWithTimeout(int queryTimeout,
java.lang.String procName,
java.lang.Object... parameters)
Invoke a procedure with specified query timeout.
|
boolean |
Client.callProcedureWithTimeout(ProcedureCallback callback,
int queryTimeout,
java.lang.String procName,
java.lang.Object... parameters)
Asynchronously invoke a procedure with specified query timeout.
|
void |
Client.drain()
Block the current thread until all queued stored procedure invocations
have received responses, or there are no more connections to the cluster.
|
ClientResponse |
Client.updateClasses(java.io.File jarPath,
java.lang.String classesToDelete)
Synchronously updates class definitions in the VoltDB database.
|
boolean |
Client.updateClasses(ProcedureCallback callback,
java.io.File jarPath,
java.lang.String classesToDelete)
Asynchronously updates class definitions in the VoltDB database.
|