类 QueryResponse
- java.lang.Object
-
- com.baidubce.model.AbstractBceResponse
-
- com.baidubce.services.moladb.model.QueryResponse
-
- 所有已实现的接口:
Serializable
public class QueryResponse extends AbstractBceResponse
Represents the output of a Query operation.- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 com.baidubce.model.AbstractBceResponse
metadata
-
-
构造器概要
构造器 构造器 说明 QueryResponse()Constructs a new QueryResponse object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<Map<String,AttributeValue>>getItems()Get the list of result items from this query operation.KeygetLastEvaluatedKey()Get the LastEvaluatedKey for this query operation, and for next time's request, you can get next page of items from the LastEvaluatedKey.voidsetItems(List<Map<String,AttributeValue>> items)Set the list of result items from this query operation.voidsetLastEvaluatedKey(Key lastKey)Set the LastEvaluatedKey for this query operation, and for next time's request, you can get next page of items from the LastEvaluatedKey.-
从类继承的方法 com.baidubce.model.AbstractBceResponse
getMetadata
-
-
-
-
方法详细资料
-
setLastEvaluatedKey
public void setLastEvaluatedKey(Key lastKey)
Set the LastEvaluatedKey for this query operation, and for next time's request, you can get next page of items from the LastEvaluatedKey.- 参数:
lastKey- The LastEvaluatedKey for this query operation, and for next time's request, you can get next page of items from the LastEvaluatedKey.
-
setItems
public void setItems(List<Map<String,AttributeValue>> items)
Set the list of result items from this query operation.- 参数:
items- A list of result items from this query operation.
-
getLastEvaluatedKey
public Key getLastEvaluatedKey()
Get the LastEvaluatedKey for this query operation, and for next time's request, you can get next page of items from the LastEvaluatedKey.- 返回:
- The LastEvaluatedKey for this query operation, and for next time's request, you can get next page of items from the LastEvaluatedKey.
- 另请参阅:
Key
-
getItems
public List<Map<String,AttributeValue>> getItems()
Get the list of result items from this query operation.- 返回:
- A list of result items from this query operation.
-
-