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)
The method uses system procedure @GetPartitionKeys to get a set of partition values which are used to reach every partition, and then asynchronously
executes the stored procedure across partitions.
|
ClientResponseWithPartitionKey[] |
Client.callAllPartitionProcedure(java.lang.String procedureName,
java.lang.Object... params)
The method uses system procedure @GetPartitionKeys to get a set of partition values and then execute the stored procedure
one partition at a time, and return an aggregated response.
|
boolean |
Client.callProcedure(ProcedureCallback callback,
int expectedSerializedSize,
java.lang.String procName,
java.lang.Object... parameters)
Deprecated.
because hinting at the serialized size no longer has any effect.
|
boolean |
Client.callProcedure(ProcedureCallback callback,
java.lang.String procName,
java.lang.Object... parameters)
Asynchronously invoke a replicated procedure, by providing a callback that will be invoked by the single
thread backing the client instance when the procedure invocation receives a response.
|
ClientResponse |
Client.callProcedure(java.lang.String procName,
java.lang.Object... parameters)
Synchronously invoke a procedure.
|
ClientResponse |
Client.callProcedureWithTimeout(int queryTimeout,
java.lang.String procName,
java.lang.Object... parameters)
Synchronously invoke a procedure with timeout.
|
boolean |
Client.callProcedureWithTimeout(ProcedureCallback callback,
int queryTimeout,
java.lang.String procName,
java.lang.Object... parameters)
Asynchronously invoke a replicated procedure with timeout, by providing a callback that will be invoked by
the single thread backing the client instance when the procedure invocation receives a response.
|
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.updateApplicationCatalog(java.io.File catalogPath,
java.io.File deploymentPath)
Deprecated.
|
boolean |
Client.updateApplicationCatalog(ProcedureCallback callback,
java.io.File catalogPath,
java.io.File deploymentPath)
Deprecated.
|
ClientResponse |
Client.updateClasses(java.io.File jarPath,
java.lang.String classesToDelete)
Synchronously invokes UpdateClasses procedure.
|
boolean |
Client.updateClasses(ProcedureCallback callback,
java.io.File jarPath,
java.lang.String classesToDelete)
Asynchronously invokes UpdateClasses procedure.
|