public class AsyncTimeseriesClient extends Object implements AsyncTimeseriesClientInterface
| 构造器和说明 |
|---|
AsyncTimeseriesClient(String endpoint,
CredentialsProvider credsProvider,
String instanceName,
ClientConfiguration config,
ResourceManager resourceManager)
Constructs a new
AsyncTimeseriesClient instance using the specified TableStore Endpoint and default configurations. |
AsyncTimeseriesClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName)
Constructs a new
AsyncTimeseriesClient instance using the specified TableStore Endpoint and default configuration. |
AsyncTimeseriesClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration conf)
Constructs a new
AsyncTimeseriesClient instance using the specified TableStore Endpoint and configuration. |
AsyncTimeseriesClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration config,
String stsToken)
Constructs a new
AsyncTimeseriesClient instance using the specified TableStore Endpoint and default configuration. |
AsyncTimeseriesClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
ClientConfiguration config,
String stsToken,
ExecutorService callbackExecutor)
Constructs a new
AsyncTimeseriesClient instance using the specified TableStore Endpoint and default configuration. |
AsyncTimeseriesClient(String endpoint,
String accessKeyId,
String accessKeySecret,
String instanceName,
String stsToken)
Constructs a new
AsyncTimeseriesClient instance using the specified TableStore Endpoint and default configuration. |
public AsyncTimeseriesClient(String endpoint, String accessKeyId, String accessKeySecret, String instanceName)
AsyncTimeseriesClient 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 of the TableStore service to access.public AsyncTimeseriesClient(String endpoint, String accessKeyId, String accessKeySecret, String instanceName, ClientConfiguration conf)
AsyncTimeseriesClient instance using the specified TableStore Endpoint and 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.conf - The client configuration information (ClientConfiguration). If null is passed, default configuration will be used.public AsyncTimeseriesClient(String endpoint, String accessKeyId, String accessKeySecret, String instanceName, String stsToken)
AsyncTimeseriesClient 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.stsToken - The Sts Token.public AsyncTimeseriesClient(String endpoint, String accessKeyId, String accessKeySecret, String instanceName, ClientConfiguration config, String stsToken)
AsyncTimeseriesClient 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.stsToken - The Sts Token.public AsyncTimeseriesClient(String endpoint, String accessKeyId, String accessKeySecret, String instanceName, ClientConfiguration config, String stsToken, ExecutorService callbackExecutor)
AsyncTimeseriesClient 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.stsToken - Sts Token.callbackExecutor - The thread pool for executing callbacks. Note that when the client is shut down, this thread pool will also be shut down.public AsyncTimeseriesClient(String endpoint, CredentialsProvider credsProvider, String instanceName, ClientConfiguration config, ResourceManager resourceManager)
AsyncTimeseriesClient instance using the specified TableStore Endpoint and default configurations.public Future<CreateTimeseriesTableResponse> createTimeseriesTable(CreateTimeseriesTableRequest request, TableStoreCallback<CreateTimeseriesTableRequest,CreateTimeseriesTableResponse> callback)
public Future<ListTimeseriesTableResponse> listTimeseriesTable(TableStoreCallback<ListTimeseriesTableRequest,ListTimeseriesTableResponse> 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) throws TableStoreException, ClientException
public Future<GetTimeseriesDataResponse> getTimeseriesData(GetTimeseriesDataRequest request, TableStoreCallback<GetTimeseriesDataRequest,GetTimeseriesDataResponse> callback) throws TableStoreException, ClientException
public Future<QueryTimeseriesMetaResponse> queryTimeseriesMeta(QueryTimeseriesMetaRequest request, TableStoreCallback<QueryTimeseriesMetaRequest,QueryTimeseriesMetaResponse> callback) throws TableStoreException, ClientException
public Future<UpdateTimeseriesMetaResponse> updateTimeseriesMeta(UpdateTimeseriesMetaRequest request, TableStoreCallback<UpdateTimeseriesMetaRequest,UpdateTimeseriesMetaResponse> callback) throws TableStoreException, ClientException
public Future<DeleteTimeseriesMetaResponse> deleteTimeseriesMeta(DeleteTimeseriesMetaRequest request, TableStoreCallback<DeleteTimeseriesMetaRequest,DeleteTimeseriesMetaResponse> callback) throws TableStoreException, ClientException
public Future<SplitTimeseriesScanTaskResponse> splitTimeseriesScanTask(SplitTimeseriesScanTaskRequest request, TableStoreCallback<SplitTimeseriesScanTaskRequest,SplitTimeseriesScanTaskResponse> callback) throws TableStoreException, ClientException
public Future<ScanTimeseriesDataResponse> scanTimeseriesData(ScanTimeseriesDataRequest request, TableStoreCallback<ScanTimeseriesDataRequest,ScanTimeseriesDataResponse> callback) throws TableStoreException, ClientException
public Future<CreateTimeseriesAnalyticalStoreResponse> createTimeseriesAnalyticalStore(CreateTimeseriesAnalyticalStoreRequest request, TableStoreCallback<CreateTimeseriesAnalyticalStoreRequest,CreateTimeseriesAnalyticalStoreResponse> callback) throws TableStoreException, ClientException
public Future<DeleteTimeseriesAnalyticalStoreResponse> deleteTimeseriesAnalyticalStore(DeleteTimeseriesAnalyticalStoreRequest request, TableStoreCallback<DeleteTimeseriesAnalyticalStoreRequest,DeleteTimeseriesAnalyticalStoreResponse> callback) throws TableStoreException, ClientException
public Future<DescribeTimeseriesAnalyticalStoreResponse> describeTimeseriesAnalyticalStore(DescribeTimeseriesAnalyticalStoreRequest request, TableStoreCallback<DescribeTimeseriesAnalyticalStoreRequest,DescribeTimeseriesAnalyticalStoreResponse> callback) throws TableStoreException, ClientException
public Future<UpdateTimeseriesAnalyticalStoreResponse> updateTimeseriesAnalyticalStore(UpdateTimeseriesAnalyticalStoreRequest request, TableStoreCallback<UpdateTimeseriesAnalyticalStoreRequest,UpdateTimeseriesAnalyticalStoreResponse> callback) throws TableStoreException, ClientException
public Future<CreateTimeseriesLastpointIndexResponse> createTimeseriesLastpointIndex(CreateTimeseriesLastpointIndexRequest request, TableStoreCallback<CreateTimeseriesLastpointIndexRequest,CreateTimeseriesLastpointIndexResponse> callback) throws TableStoreException, ClientException
public Future<DeleteTimeseriesLastpointIndexResponse> deleteTimeseriesLastpointIndex(DeleteTimeseriesLastpointIndexRequest request, TableStoreCallback<DeleteTimeseriesLastpointIndexRequest,DeleteTimeseriesLastpointIndexResponse> callback) throws TableStoreException, ClientException
public void shutdown()
AsyncTimeseriesClientInterfaceMake sure to release resources after all requests have been executed. After releasing resources, no further requests can be sent, and ongoing requests may not return results.
shutdown 在接口中 AsyncTimeseriesClientInterfacepublic TimeseriesClientInterface asTimeseriesClientInterface()
public SyncClient asSyncClient()
public AsyncClient asAsyncClient()
public TimeseriesClient asTimeseriesClient()
Copyright © 2025. All Rights Reserved.