| Package | Description |
|---|---|
| com.baidubce.services.moladb | |
| com.baidubce.services.moladb.model |
| Modifier and Type | Method and Description |
|---|---|
QueryResponse |
MolaDbClient.query(QueryRequest request)
The Query operation get items from Moladb with Hash Key and an interval of Range Key
|
| Modifier and Type | Method and Description |
|---|---|
QueryRequest |
QueryRequest.orderByAsc()
Set the query items result in ascending order by rangekey.
|
QueryRequest |
QueryRequest.orderByDesc()
Set the query items result in descending order by rangekey.
|
QueryRequest |
QueryRequest.withAttributesToGet(List<String> attributes)
Set the names of attributes to retrieve from the result items.
|
QueryRequest |
QueryRequest.withConsistentRead(boolean consistent)
Set the type of the consistency of a read operation.The default value is false, representing that it is
eventually consistent read.
|
QueryRequest |
QueryRequest.withExclusiveStartKey(Key exclusiveStartKey)
Set the primary key(hashkey or hashkey and rangekey) of the first item that this
operation will evaluate.
|
QueryRequest |
QueryRequest.withExpressionAttributeValues(Map<String,AttributeValue> attributes)
Set the values for the parameters in the the query condition expression for this query request.
|
QueryRequest |
QueryRequest.withKeyConditionExpression(String expression)
Set the query condition expression for this query request.
|
QueryRequest |
QueryRequest.withLimit(int limit)
Set the maximum number of return query items in one time.
|
QueryRequest |
QueryRequest.withOrder(String order)
Set the order by rangekey for the query items result, in descedning order or in ascending order.
|
QueryRequest |
QueryRequest.withRequestCredentials(BceCredentials credentials) |
QueryRequest |
QueryRequest.withTableName(String tableName)
Set the name of table for this query items.
|
Copyright © 2020. All rights reserved.