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