public class DynamoQuery<Table> extends DynamoBaseAction<Table>
DynamoBaseAction.RangeValueclient, filterValues, index, limit, projectionNames, table| コンストラクタと説明 |
|---|
DynamoQuery(DynamoClient.DynamoClientPrivate client,
DynamoTable table) |
DynamoQuery(DynamoClient.DynamoClientPrivate client,
DynamoTable table,
DynamoIndex index) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
DynamoQuery<Table> |
filter(DynamoConditionAttributeValue cond)
フィルタ条件を追加します。
|
DynamoQuery<Table> |
filterOr(DynamoConditionAttributeValue... conditions) |
List<Table> |
getAsList()
クエリを実行し、結果を返します。
|
List<Table> |
getAsListDesc()
クエリを実行し、結果を返します。
|
Integer |
getCount() |
DynamoQuery<Table> |
key(Object partitionKey) |
DynamoQuery<Table> |
key(Object partitionKey,
Object sortKey) |
DynamoQuery<Table> |
keyRange(Object partitionKey,
Object sortKeyFrom,
Object sortKeyTo) |
DynamoQuery<Table> |
limit(Integer limit) |
DynamoQuery<Table> |
projection(DynamoConditionAttribute... attrs) |
DynamoQuery<Table> |
withAdjustThroughput()
クエリー実行時、スループットが超えないようにウェイトを入れます(Exponential Backoff Algorithm)。
|
DynamoQuery<Table> |
withAdjustThroughput(long retryLimitMillisecond)
クエリー実行時、スループットが超えないようにウェイトを入れます(Exponential Backoff Algorithm)。
|
appendFilterValue, appendFilterValue, appendKeyValue, appendValue, getIndexName, isTargetIndexPartition, makeFilterExpression, makeProjectionExpressionpublic DynamoQuery(DynamoClient.DynamoClientPrivate client, DynamoTable table)
public DynamoQuery(DynamoClient.DynamoClientPrivate client, DynamoTable table, DynamoIndex index)
public DynamoQuery<Table> key(Object partitionKey)
public DynamoQuery<Table> key(Object partitionKey, Object sortKey)
public DynamoQuery<Table> keyRange(Object partitionKey, Object sortKeyFrom, Object sortKeyTo)
public DynamoQuery<Table> filter(DynamoConditionAttributeValue cond)
cond - public DynamoQuery<Table> filterOr(DynamoConditionAttributeValue... conditions)
public DynamoQuery<Table> projection(DynamoConditionAttribute... attrs)
public DynamoQuery<Table> limit(Integer limit)
public DynamoQuery<Table> withAdjustThroughput()
public DynamoQuery<Table> withAdjustThroughput(long retryLimitMillisecond)
retryLimitMillisecond - 最大Nミリ秒ウェイトを入れます。実際には累乗でウェイトが入るため、ここの値よりも長くウェイトが入る可能性があります。public Integer getCount()
Copyright © 2016 jp.co.bizreach. All rights reserved.