Package | Description |
---|---|
org.voltdb.client |
Package containing code specific to the VoltDB Java Client Driver.
|
Modifier and Type | Field and Description |
---|---|
ClientResponse |
ClientResponseWithPartitionKey.response |
Modifier and Type | Method and Description |
---|---|
ClientResponse |
Client.callProcedure(java.lang.String procName,
java.lang.Object... parameters)
Invoke a procedure.
|
ClientResponse |
Client2.callProcedureSync(Client2CallOptions options,
java.lang.String procName,
java.lang.Object... parameters)
Synchronously call stored procedure with optional overrides
for selected values.
|
ClientResponse |
Client2.callProcedureSync(java.lang.String procName,
java.lang.Object... parameters)
Synchronously call stored 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.
|
ClientResponse |
Client.callProcedureWithTimeout(int queryTimeout,
java.lang.String procName,
java.lang.Object... parameters)
Invoke a procedure with specified query timeout.
|
ClientResponse |
ProcCallException.getClientResponse()
When a ProcCallException has a response from the server, retrieve it with this method.
|
ClientResponse |
SyncCallback.getResponse()
Retrieve the ClientResponse returned for this procedure invocation.
|
static ClientResponse |
UpdateClasses.update(Client client,
java.io.File jarPath,
java.lang.String classesToDelete)
Synchronously updates class definitions.
|
ClientResponse |
Client.updateClasses(java.io.File jarPath,
java.lang.String classesToDelete)
Synchronously updates class definitions in the VoltDB database.
|
static ClientResponse |
UpdateClasses.updateSync(Client2 client,
java.io.File jarPath,
java.lang.String classesToDelete)
Synchronously updates class definitions via a "version 2" client.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<ClientResponse> |
Client2.callProcedureAsync(Client2CallOptions options,
java.lang.String procName,
java.lang.Object... parameters)
Asynchronously call stored procedure with optional overrides
for selected values.
|
java.util.concurrent.CompletableFuture<ClientResponse> |
Client2.callProcedureAsync(java.lang.String procName,
java.lang.Object... parameters)
Asynchronously call stored procedure.
|
static java.util.concurrent.CompletableFuture<ClientResponse> |
UpdateClasses.updateAsync(Client2 client,
java.io.File jarPath,
java.lang.String classesToDelete)
Asynchronously updates class definitions via a "version 2" client.
|
Modifier and Type | Method and Description |
---|---|
void |
Client2Notification.LateResponse.accept(ClientResponse resp,
java.lang.String host,
int port) |
void |
NullCallback.clientCallback(ClientResponse clientResponse) |
void |
ProcedureCallback.clientCallback(ClientResponse clientResponse)
Implementation of callback to be provided by client applications.
|
void |
SyncCallback.clientCallback(ClientResponse clientResponse) |
void |
ClientStatusListenerExt.lateProcedureResponse(ClientResponse r,
java.lang.String hostname,
int port)
Called when a response arrives on a connection that has already had its callback called
due to an elapsed timeout.
|
void |
ClientStatusListenerExt.uncaughtException(ProcedureCallback callback,
ClientResponse r,
java.lang.Throwable e)
Called when a
ProcedureCallback.clientCallback(ClientResponse) invocation throws
an exception. |
Constructor and Description |
---|
ClientResponseWithPartitionKey(java.lang.Object partitionKey,
ClientResponse response,
int partitionId) |