public interface QueryItemsBuilder<T>
Modifier and Type | Method and Description |
---|---|
QueryItemsBuilder<T> |
beginsWith(String value) |
<V> QueryItemsBuilder<T> |
between(V value1,
V value2) |
int |
count() |
<V> QueryItemsBuilder<T> |
eq(V value) |
QueryItemsBuilder<T> |
filter(FilterCondFn filterCondFn) |
<V> QueryItemsBuilder<T> |
ge(V value) |
<V> QueryItemsBuilder<T> |
gt(V value) |
<V> QueryItemsBuilder<T> |
le(V value) |
default List<T> |
list()
Fetch all attributes.
|
default <V> List<V> |
list(Class<V> type)
Fetch all attributes.
|
List<T> |
list(Collection<String> attrNames) |
<V> List<V> |
list(Collection<String> attrNames,
Class<V> type) |
<V> QueryItemsBuilder<T> |
lt(V value) |
<V> QueryItemsBuilder<T> eq(V value)
V
- is the type of value.value
- specifies that the range key must be equal to this value.<V> QueryItemsBuilder<T> lt(V value)
V
- is the type of value.value
- specifies that the range key must be less than this value.<V> QueryItemsBuilder<T> le(V value)
V
- is the type of value.value
- specifies that the range key must be less than or equal to this value.<V> QueryItemsBuilder<T> gt(V value)
V
- is the type of value.value
- specifies that the range key must be greater than this value.<V> QueryItemsBuilder<T> ge(V value)
V
- is the type of value.value
- specifies that the range key must be greater than or equal to this value.<V> QueryItemsBuilder<T> between(V value1, V value2)
V
- is the type of value1 and value2.value1
- specifies that the range key must be greater than or equal to value1.value2
- specifies that the range key must be less than or equal to value2.QueryItemsBuilder<T> beginsWith(String value)
value
- specifies that the range key must begin with value.QueryItemsBuilder<T> filter(FilterCondFn filterCondFn)
filterCondFn
- is used to filter the result set based on additional conditionals.int count()
<V> List<V> list(Collection<String> attrNames, Class<V> type)
V
- is the type of item items to return.attrNames
- is a set of attribute names to fetch.type
- is the class of items to return.List<T> list(Collection<String> attrNames)
attrNames
- is a set of attribute names to fetch.default <V> List<V> list(Class<V> type)
V
- is the type of item items to return.type
- is the class of items to return.Copyright © 2018. All rights reserved.