public class InternalClient extends Object
| 构造器和说明 |
|---|
InternalClient(String endpoint,
CredentialsProvider credsProvider,
String instanceName,
ClientConfiguration config,
ResourceManager resourceManager) |
InternalClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName)
Constructs a new
AsyncClient instance using the specified TableStore Endpoint and default configuration. |
InternalClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration config)
Constructs a new
AsyncClient instance using the specified TableStore Endpoint and default configuration. |
InternalClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration config,
ExecutorService callbackExecutor)
Constructs a new
AsyncClient instance using the specified TableStore Endpoint and default configuration. |
InternalClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration config,
ExecutorService callbackExecutor,
String stsToken)
Constructs a new
AsyncClient instance using the specified TableStore Endpoint and default configuration. |
public InternalClient(String endpoint, String accessKeyId, String accessKeySecret, String instanceName)
AsyncClient instance using the specified TableStore Endpoint and default configuration.endpoint - The endpoint of the TableStore service.accessKeyId - The Access ID for accessing the TableStore service.accessKeySecret - The Access Key for accessing the TableStore service.instanceName - The instance name for accessing the TableStore service.public InternalClient(String endpoint, String accessKeyId, String accessKeySecret, String instanceName, ClientConfiguration config)
AsyncClient instance using the specified TableStore Endpoint and default configuration.endpoint - The endpoint of the TableStore service.accessKeyId - The Access ID for accessing the TableStore service.accessKeySecret - The Access Key for accessing the TableStore service.instanceName - The instance name for accessing the TableStore service.config - The client configuration information (ClientConfiguration). If null is passed, the default configuration will be used.public InternalClient(String endpoint, String accessKeyId, String accessKeySecret, String instanceName, ClientConfiguration config, ExecutorService callbackExecutor)
AsyncClient instance using the specified TableStore Endpoint and default configuration.endpoint - The endpoint of the TableStore service.accessKeyId - The Access ID for accessing the TableStore service.accessKeySecret - The Access Key for accessing the TableStore service.instanceName - The instance name for accessing the TableStore service.config - Client configuration information (ClientConfiguration). If null is passed, the default configuration will be used.callbackExecutor - Executes the Callback provided by the user when calling asynchronous interfaces. If null is passed, the default configuration will be used (a thread pool with the same number of threads as CPU cores).public InternalClient(String endpoint, String accessKeyId, String accessKeySecret, String instanceName, ClientConfiguration config, ExecutorService callbackExecutor, String stsToken)
AsyncClient instance using the specified TableStore Endpoint and default configuration.endpoint - The endpoint of the TableStore service.accessKeyId - The Access ID for accessing the TableStore service.accessKeySecret - The Access Key for accessing the TableStore service.instanceName - The instance name for accessing the TableStore service.config - The client configuration information (ClientConfiguration). If null is passed, the default configuration will be used.callbackExecutor - Executes the Callback provided by the user when calling asynchronous interfaces. If null is passed, the default configuration will be used (a thread pool with a number of threads equal to the number of CPU cores).stsToken - Sts Token.public InternalClient(String endpoint, CredentialsProvider credsProvider, String instanceName, ClientConfiguration config, ResourceManager resourceManager)
public String getEndpoint()
public String getInstanceName()
public ClientConfiguration getClientConfig()
protected void setTimeseriesMetaCache(com.google.common.cache.Cache<String,Long> cache)
protected com.google.common.cache.Cache<String,Long> getTimeseriesMetaCache()
public Future<ListTableResponse> listTable(TableStoreCallback<ListTableRequest,ListTableResponse> callback)
public Future<CreateTableResponse> createTable(CreateTableRequest request, TableStoreCallback<CreateTableRequest,CreateTableResponse> callback)
public Future<CreateTableResponse> createTableEx(CreateTableRequestEx request, TableStoreCallback<CreateTableRequestEx,CreateTableResponse> callback)
public Future<DescribeTableResponse> describeTable(DescribeTableRequest request, TableStoreCallback<DescribeTableRequest,DescribeTableResponse> callback)
public Future<DeleteTableResponse> deleteTable(DeleteTableRequest request, TableStoreCallback<DeleteTableRequest,DeleteTableResponse> callback)
public Future<UpdateTableResponse> updateTable(UpdateTableRequest request, TableStoreCallback<UpdateTableRequest,UpdateTableResponse> callback)
public Future<CreateGlobalTableResponse> createGlobalTable(CreateGlobalTableRequest request, TableStoreCallback<CreateGlobalTableRequest,CreateGlobalTableResponse> callback)
public Future<BindGlobalTableResponse> bindGlobalTable(BindGlobalTableRequest request, TableStoreCallback<BindGlobalTableRequest,BindGlobalTableResponse> callback)
public Future<UnbindGlobalTableResponse> unbindGlobalTable(UnbindGlobalTableRequest request, TableStoreCallback<UnbindGlobalTableRequest,UnbindGlobalTableResponse> callback)
public Future<DescribeGlobalTableResponse> describeGlobalTable(DescribeGlobalTableRequest request, TableStoreCallback<DescribeGlobalTableRequest,DescribeGlobalTableResponse> callback)
public Future<UpdateGlobalTableResponse> updateGlobalTable(UpdateGlobalTableRequest request, TableStoreCallback<UpdateGlobalTableRequest,UpdateGlobalTableResponse> callback)
public Future<CreateIndexResponse> createIndex(CreateIndexRequest request, TableStoreCallback<CreateIndexRequest,CreateIndexResponse> callback)
public Future<DeleteIndexResponse> deleteIndex(DeleteIndexRequest request, TableStoreCallback<DeleteIndexRequest,DeleteIndexResponse> callback)
public Future<AddDefinedColumnResponse> addDefinedColumn(AddDefinedColumnRequest request, TableStoreCallback<AddDefinedColumnRequest,AddDefinedColumnResponse> callback)
public Future<DeleteDefinedColumnResponse> deleteDefinedColumn(DeleteDefinedColumnRequest request, TableStoreCallback<DeleteDefinedColumnRequest,DeleteDefinedColumnResponse> callback)
public Future<GetRowResponse> getRowInternal(GetRowRequest request, TableStoreCallback<GetRowRequest,GetRowResponse> callback)
public Future<GetRowResponse> getRow(GetRowRequest request, TableStoreCallback<GetRowRequest,GetRowResponse> callback)
public Future<PutRowResponse> putRow(PutRowRequest request, TableStoreCallback<PutRowRequest,PutRowResponse> callback)
public Future<UpdateRowResponse> updateRow(UpdateRowRequest request, TableStoreCallback<UpdateRowRequest,UpdateRowResponse> callback)
public Future<DeleteRowResponse> deleteRow(DeleteRowRequest request, TableStoreCallback<DeleteRowRequest,DeleteRowResponse> callback)
public Future<BatchGetRowResponse> batchGetRowInternal(BatchGetRowRequest request, TableStoreCallback<BatchGetRowRequest,BatchGetRowResponse> callback)
public Future<BatchGetRowResponse> batchGetRow(BatchGetRowRequest request, TableStoreCallback<BatchGetRowRequest,BatchGetRowResponse> callback)
public Future<BatchWriteRowResponse> batchWriteRow(BatchWriteRowRequest request, TableStoreCallback<BatchWriteRowRequest,BatchWriteRowResponse> callback)
public Future<BulkImportResponse> bulkImport(BulkImportRequest request, TableStoreCallback<BulkImportRequest,BulkImportResponse> callback)
public Future<GetRangeResponse> getRangeInternal(GetRangeRequest request, TableStoreCallback<GetRangeRequest,GetRangeResponse> callback)
public Future<BulkExportResponse> bulkExportInternal(BulkExportRequest request, TableStoreCallback<BulkExportRequest,BulkExportResponse> callback)
public Future<GetRangeResponse> getRange(GetRangeRequest request, TableStoreCallback<GetRangeRequest,GetRangeResponse> callback)
public Future<BulkExportResponse> bulkExport(BulkExportRequest request, TableStoreCallback<BulkExportRequest,BulkExportResponse> callback)
public Future<ComputeSplitsBySizeResponse> computeSplitsBySize(ComputeSplitsBySizeRequest request, TableStoreCallback<ComputeSplitsBySizeRequest,ComputeSplitsBySizeResponse> callback)
public void shutdown()
public Future<ListStreamResponse> listStream(ListStreamRequest request, TableStoreCallback<ListStreamRequest,ListStreamResponse> callback)
public Future<DescribeStreamResponse> describeStream(DescribeStreamRequest request, TableStoreCallback<DescribeStreamRequest,DescribeStreamResponse> callback)
public Future<GetShardIteratorResponse> getShardIterator(GetShardIteratorRequest request, TableStoreCallback<GetShardIteratorRequest,GetShardIteratorResponse> callback)
public Future<GetStreamRecordResponse> getStreamRecord(GetStreamRecordRequest request, TableStoreCallback<GetStreamRecordRequest,GetStreamRecordResponse> callback)
public Future<StartLocalTransactionResponse> startLocalTransaction(StartLocalTransactionRequest request, TableStoreCallback<StartLocalTransactionRequest,StartLocalTransactionResponse> callback)
public Future<CommitTransactionResponse> commitTransaction(CommitTransactionRequest request, TableStoreCallback<CommitTransactionRequest,CommitTransactionResponse> callback)
public Future<AbortTransactionResponse> abortTransaction(AbortTransactionRequest request, TableStoreCallback<AbortTransactionRequest,AbortTransactionResponse> callback)
public Future<CreateSearchIndexResponse> createSearchIndex(CreateSearchIndexRequest request, TableStoreCallback<CreateSearchIndexRequest,CreateSearchIndexResponse> callback)
public Future<UpdateSearchIndexResponse> updateSearchIndex(UpdateSearchIndexRequest request, TableStoreCallback<UpdateSearchIndexRequest,UpdateSearchIndexResponse> callback)
public Future<ListSearchIndexResponse> listSearchIndex(ListSearchIndexRequest request, TableStoreCallback<ListSearchIndexRequest,ListSearchIndexResponse> callback)
public Future<DeleteSearchIndexResponse> deleteSearchIndex(DeleteSearchIndexRequest request, TableStoreCallback<DeleteSearchIndexRequest,DeleteSearchIndexResponse> callback)
public Future<DescribeSearchIndexResponse> describeSearchIndex(DescribeSearchIndexRequest request, TableStoreCallback<DescribeSearchIndexRequest,DescribeSearchIndexResponse> callback)
public Future<ComputeSplitsResponse> computeSplits(ComputeSplitsRequest request, TableStoreCallback<ComputeSplitsRequest,ComputeSplitsResponse> callback)
public Future<ParallelScanResponse> parallelScan(ParallelScanRequest request, TableStoreCallback<ParallelScanRequest,ParallelScanResponse> callback)
public Future<SearchResponse> search(SearchRequest request, TableStoreCallback<SearchRequest,SearchResponse> callback)
public Future<CreateTunnelResponse> createTunnel(CreateTunnelRequest request, TableStoreCallback<CreateTunnelRequest,CreateTunnelResponse> callback)
public Future<ListTunnelResponse> listTunnel(ListTunnelRequest request, TableStoreCallback<ListTunnelRequest,ListTunnelResponse> callback)
public Future<DescribeTunnelResponse> describeTunnel(DescribeTunnelRequest request, TableStoreCallback<DescribeTunnelRequest,DescribeTunnelResponse> callback)
public Future<DeleteTunnelResponse> deleteTunnel(DeleteTunnelRequest request, TableStoreCallback<DeleteTunnelRequest,DeleteTunnelResponse> callback)
public Future<com.alicloud.openservices.tablestore.model.tunnel.internal.ConnectTunnelResponse> connectTunnel(com.alicloud.openservices.tablestore.model.tunnel.internal.ConnectTunnelRequest request, TableStoreCallback<com.alicloud.openservices.tablestore.model.tunnel.internal.ConnectTunnelRequest,com.alicloud.openservices.tablestore.model.tunnel.internal.ConnectTunnelResponse> callback)
public Future<com.alicloud.openservices.tablestore.model.tunnel.internal.HeartbeatResponse> heartbeat(com.alicloud.openservices.tablestore.model.tunnel.internal.HeartbeatRequest request, TableStoreCallback<com.alicloud.openservices.tablestore.model.tunnel.internal.HeartbeatRequest,com.alicloud.openservices.tablestore.model.tunnel.internal.HeartbeatResponse> callback)
public Future<com.alicloud.openservices.tablestore.model.tunnel.internal.ShutdownTunnelResponse> shutdownTunnel(com.alicloud.openservices.tablestore.model.tunnel.internal.ShutdownTunnelRequest request, TableStoreCallback<com.alicloud.openservices.tablestore.model.tunnel.internal.ShutdownTunnelRequest,com.alicloud.openservices.tablestore.model.tunnel.internal.ShutdownTunnelResponse> callback)
public Future<com.alicloud.openservices.tablestore.model.tunnel.internal.GetCheckpointResponse> getCheckpoint(com.alicloud.openservices.tablestore.model.tunnel.internal.GetCheckpointRequest request, TableStoreCallback<com.alicloud.openservices.tablestore.model.tunnel.internal.GetCheckpointRequest,com.alicloud.openservices.tablestore.model.tunnel.internal.GetCheckpointResponse> callback)
public Future<com.alicloud.openservices.tablestore.model.tunnel.internal.ReadRecordsResponse> readRecords(com.alicloud.openservices.tablestore.model.tunnel.internal.ReadRecordsRequest request, TableStoreCallback<com.alicloud.openservices.tablestore.model.tunnel.internal.ReadRecordsRequest,com.alicloud.openservices.tablestore.model.tunnel.internal.ReadRecordsResponse> callback)
public Future<com.alicloud.openservices.tablestore.model.tunnel.internal.CheckpointResponse> checkpoint(com.alicloud.openservices.tablestore.model.tunnel.internal.CheckpointRequest request, TableStoreCallback<com.alicloud.openservices.tablestore.model.tunnel.internal.CheckpointRequest,com.alicloud.openservices.tablestore.model.tunnel.internal.CheckpointResponse> callback)
public Future<CreateDeliveryTaskResponse> createDeliveryTask(CreateDeliveryTaskRequest request, TableStoreCallback<CreateDeliveryTaskRequest,CreateDeliveryTaskResponse> callback)
public Future<DeleteDeliveryTaskResponse> deleteDeliveryTask(DeleteDeliveryTaskRequest request, TableStoreCallback<DeleteDeliveryTaskRequest,DeleteDeliveryTaskResponse> callback)
public Future<DescribeDeliveryTaskResponse> describeDeliveryTask(DescribeDeliveryTaskRequest request, TableStoreCallback<DescribeDeliveryTaskRequest,DescribeDeliveryTaskResponse> callback)
public Future<ListDeliveryTaskResponse> listDeliveryTask(ListDeliveryTaskRequest request, TableStoreCallback<ListDeliveryTaskRequest,ListDeliveryTaskResponse> callback)
public Future<CreateTimeseriesTableResponse> createTimeseriesTable(CreateTimeseriesTableRequest request, TableStoreCallback<CreateTimeseriesTableRequest,CreateTimeseriesTableResponse> callback)
public Future<DeleteTimeseriesTableResponse> deleteTimeseriesTable(DeleteTimeseriesTableRequest request, TableStoreCallback<DeleteTimeseriesTableRequest,DeleteTimeseriesTableResponse> callback)
public Future<DescribeTimeseriesTableResponse> describeTimeseriesTable(DescribeTimeseriesTableRequest request, TableStoreCallback<DescribeTimeseriesTableRequest,DescribeTimeseriesTableResponse> callback)
public Future<UpdateTimeseriesTableResponse> updateTimeseriesTable(UpdateTimeseriesTableRequest request, TableStoreCallback<UpdateTimeseriesTableRequest,UpdateTimeseriesTableResponse> callback)
public Future<PutTimeseriesDataResponse> putTimeseriesData(PutTimeseriesDataRequest request, TableStoreCallback<PutTimeseriesDataRequest,PutTimeseriesDataResponse> callback)
public Future<GetTimeseriesDataResponse> getTimeseriesData(GetTimeseriesDataRequest request, TableStoreCallback<GetTimeseriesDataRequest,GetTimeseriesDataResponse> callback)
public Future<ListTimeseriesTableResponse> listTimeseriesTable(TableStoreCallback<ListTimeseriesTableRequest,ListTimeseriesTableResponse> callback)
public Future<QueryTimeseriesMetaResponse> queryTimeseriesMeta(QueryTimeseriesMetaRequest request, TableStoreCallback<QueryTimeseriesMetaRequest,QueryTimeseriesMetaResponse> callback)
public Future<UpdateTimeseriesMetaResponse> updateTimeseriesMeta(UpdateTimeseriesMetaRequest request, TableStoreCallback<UpdateTimeseriesMetaRequest,UpdateTimeseriesMetaResponse> callback)
public Future<DeleteTimeseriesMetaResponse> deleteTimeseriesMeta(DeleteTimeseriesMetaRequest request, TableStoreCallback<DeleteTimeseriesMetaRequest,DeleteTimeseriesMetaResponse> callback)
public Future<SplitTimeseriesScanTaskResponse> splitTimeseriesScanTask(SplitTimeseriesScanTaskRequest request, TableStoreCallback<SplitTimeseriesScanTaskRequest,SplitTimeseriesScanTaskResponse> callback)
public Future<ScanTimeseriesDataResponse> scanTimeseriesData(ScanTimeseriesDataRequest request, TableStoreCallback<ScanTimeseriesDataRequest,ScanTimeseriesDataResponse> callback)
public Future<CreateTimeseriesAnalyticalStoreResponse> createTimeseriesAnalyticalStore(CreateTimeseriesAnalyticalStoreRequest request, TableStoreCallback<CreateTimeseriesAnalyticalStoreRequest,CreateTimeseriesAnalyticalStoreResponse> callback)
public Future<DeleteTimeseriesAnalyticalStoreResponse> deleteTimeseriesAnalyticalStore(DeleteTimeseriesAnalyticalStoreRequest request, TableStoreCallback<DeleteTimeseriesAnalyticalStoreRequest,DeleteTimeseriesAnalyticalStoreResponse> callback)
public Future<DescribeTimeseriesAnalyticalStoreResponse> describeTimeseriesAnalyticalStore(DescribeTimeseriesAnalyticalStoreRequest request, TableStoreCallback<DescribeTimeseriesAnalyticalStoreRequest,DescribeTimeseriesAnalyticalStoreResponse> callback)
public Future<UpdateTimeseriesAnalyticalStoreResponse> updateTimeseriesAnalyticalStore(UpdateTimeseriesAnalyticalStoreRequest request, TableStoreCallback<UpdateTimeseriesAnalyticalStoreRequest,UpdateTimeseriesAnalyticalStoreResponse> callback)
public Future<CreateTimeseriesLastpointIndexResponse> createTimeseriesLastpointIndex(CreateTimeseriesLastpointIndexRequest request, TableStoreCallback<CreateTimeseriesLastpointIndexRequest,CreateTimeseriesLastpointIndexResponse> callback)
public Future<DeleteTimeseriesLastpointIndexResponse> deleteTimeseriesLastpointIndex(DeleteTimeseriesLastpointIndexRequest request, TableStoreCallback<DeleteTimeseriesLastpointIndexRequest,DeleteTimeseriesLastpointIndexResponse> callback)
public void setCredentials(ServiceCredentials credentials)
public void switchCredentialsProvider(CredentialsProvider newCrdsProvider)
public Future<SQLQueryResponse> sqlQuery(SQLQueryRequest request, TableStoreCallback<SQLQueryRequest,SQLQueryResponse> callback)
Copyright © 2025. All Rights Reserved.