T
- The type of response from server-side@InterfaceAudience.Private @InterfaceStability.Evolving public class AsyncProcessTask<T> extends Object
AsyncProcess
.
The attributes will be validated by AsyncProcess.
It's intended for advanced client applications.Modifier and Type | Class and Description |
---|---|
static class |
AsyncProcessTask.Builder<T> |
static class |
AsyncProcessTask.SubmittedRows
The number of processed rows.
|
Modifier and Type | Method and Description |
---|---|
Batch.Callback<T> |
getCallback() |
boolean |
getNeedResults() |
int |
getOperationTimeout() |
ExecutorService |
getPool() |
RowAccess<? extends Row> |
getRowAccess() |
int |
getRpcTimeout() |
AsyncProcessTask.SubmittedRows |
getSubmittedRows() |
TableName |
getTableName() |
static AsyncProcessTask.Builder |
newBuilder() |
static <T> AsyncProcessTask.Builder<T> |
newBuilder(Batch.Callback<T> callback) |
public static <T> AsyncProcessTask.Builder<T> newBuilder(Batch.Callback<T> callback)
public static AsyncProcessTask.Builder newBuilder()
public int getOperationTimeout()
public ExecutorService getPool()
public TableName getTableName()
public AsyncProcessTask.SubmittedRows getSubmittedRows()
public Batch.Callback<T> getCallback()
public boolean getNeedResults()
public int getRpcTimeout()
Copyright © 2007–2019 Cloudera. All rights reserved.