public class SQLQueryResponse extends Response
| Constructor and Description |
|---|
SQLQueryResponse(Response meta,
Map<String,ConsumedCapacity> consumedCapacityByTable,
SQLPayloadVersion version,
SQLStatementType type,
com.google.protobuf.ByteString rows)
internal use
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ConsumedCapacity> |
getConsumedCapacity()
获取此次操作消耗的CapacityUnit。
|
String |
getNextSearchToken() |
SQLResultSet |
getSQLResultSet()
获取 SQL 数据集合。
SQLStatementType.SQL_CREATE_TABLE,SQLStatementType.SQL_DROP_TABLE,SQLStatementType.SQL_ALTER_TABLE 等 DDL 操作返回空 |
SQLStatementType |
getSQLStatementType()
获取 Statement 类型。
|
void |
setNextSearchToken(String nextSearchToken) |
getRequestId, getTraceId, setRequestId, setTraceIdpublic SQLQueryResponse(Response meta, Map<String,ConsumedCapacity> consumedCapacityByTable, SQLPayloadVersion version, SQLStatementType type, com.google.protobuf.ByteString rows)
public Map<String,ConsumedCapacity> getConsumedCapacity()
public SQLStatementType getSQLStatementType()
public SQLResultSet getSQLResultSet()
SQLStatementType.SQL_CREATE_TABLE,SQLStatementType.SQL_DROP_TABLE,SQLStatementType.SQL_ALTER_TABLE 等 DDL 操作返回空public String getNextSearchToken()
public void setNextSearchToken(String nextSearchToken)
Copyright © 2024. All Rights Reserved.