public class ResponseFactory extends Object
构造器和说明 |
---|
ResponseFactory() |
public static CreateTableResponse createCreateTableResponse(ResponseContentWithMeta response, OtsInternalApi.CreateTableResponse createTableResponse)
public static ListTableResponse createListTableResponse(ResponseContentWithMeta response, OtsInternalApi.ListTableResponse listTableResponse)
public static DescribeTableResponse createDescribeTableResponse(ResponseContentWithMeta response, OtsInternalApi.DescribeTableResponse describeTableResponse)
public static DeleteTableResponse createDeleteTableResponse(ResponseContentWithMeta response, OtsInternalApi.DeleteTableResponse deleteTableResponse)
public static CreateIndexResponse createCreteIndexResponse(ResponseContentWithMeta response, OtsInternalApi.CreateIndexResponse createIndexResponse)
public static DeleteIndexResponse createDeleteIndexResponse(ResponseContentWithMeta response, OtsInternalApi.DropIndexResponse dropIndexResponse)
public static UpdateTableResponse createUpdateTableResponse(ResponseContentWithMeta response, OtsInternalApi.UpdateTableResponse updateTableResponse)
public static GetRowResponse createGetRowResponse(ResponseContentWithMeta response, OtsInternalApi.GetRowResponse getRowResponse)
public static PutRowResponse createPutRowResponse(ResponseContentWithMeta response, OtsInternalApi.PutRowResponse putRowResponse)
public static UpdateRowResponse createUpdateRowResponse(ResponseContentWithMeta response, OtsInternalApi.UpdateRowResponse updateRowResponse)
public static DeleteRowResponse createDeleteRowResponse(ResponseContentWithMeta response, OtsInternalApi.DeleteRowResponse deleteRowResponse)
public static GetRangeResponse createGetRangeResponse(ResponseContentWithMeta response, OtsInternalApi.GetRangeResponse getRangeResponse)
public static ComputeSplitsBySizeResponse createComputeSplitsBySizeResponse(ResponseContentWithMeta response, OtsInternalApi.ComputeSplitPointsBySizeResponse computeSplitPointsBySizeResponse)
public static BatchGetRowResponse createBatchGetRowResponse(ResponseContentWithMeta response, OtsInternalApi.BatchGetRowResponse batchGetRowResponse)
public static BatchWriteRowResponse createBatchWriteRowResponse(ResponseContentWithMeta response, OtsInternalApi.BatchWriteRowResponse batchWriteRowResponse)
public static ListStreamResponse createListStreamResponse(ResponseContentWithMeta response, OtsInternalApi.ListStreamResponse listStreamResponse)
public static DescribeStreamResponse createDescribeStreamResponse(ResponseContentWithMeta response, OtsInternalApi.DescribeStreamResponse describeStreamResponse)
public static GetShardIteratorResponse createGetShardIteratorResponse(ResponseContentWithMeta response, OtsInternalApi.GetShardIteratorResponse getShardIteratorResponse)
public static GetStreamRecordResponse createGetStreamRecordResponse(ResponseContentWithMeta response, OtsInternalApi.GetStreamRecordResponse getStreamRecordResponse)
public static StartLocalTransactionResponse createStartLocalTransactionResponse(ResponseContentWithMeta response, OtsInternalApi.StartLocalTransactionResponse startLocalTransactionResponse)
public static CommitTransactionResponse createCommitTransactionResponse(ResponseContentWithMeta response, OtsInternalApi.CommitTransactionResponse commitTransactionResponse)
public static AbortTransactionResponse createAbortTransactionResponse(ResponseContentWithMeta response, OtsInternalApi.AbortTransactionResponse abortTransactionResponse)
public static CreateSearchIndexResponse createCreateSearchIndexResponse(ResponseContentWithMeta response, Search.CreateSearchIndexResponse createSearchIndexResponse)
public static DeleteSearchIndexResponse createDeleteSearchIndexResponse(ResponseContentWithMeta response, Search.DeleteSearchIndexResponse deleteSearchIndexResponse)
public static ListSearchIndexResponse createListSearchIndexResponse(ResponseContentWithMeta response, Search.ListSearchIndexResponse listSearchIndexResponse)
public static DescribeSearchIndexResponse createDescribeSearchIndexResponse(ResponseContentWithMeta response, Search.DescribeSearchIndexResponse describeSearchIndexResponse)
public static SearchResponse createSearchResponse(ResponseContentWithMeta response, Search.SearchResponse searchResponse) throws IOException
IOException
Copyright © 2018. All Rights Reserved.