|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexQuery<K,C>
Method Summary | |
---|---|
IndexColumnExpression<K,C> |
addExpression()
Add an expression (EQ, GT, GTE, LT, LTE) to the clause. |
IndexQuery<K,C> |
addPreparedExpressions(Collection<PreparedIndexExpression<K,C>> expressions)
Add a set of prepare index expressions. |
IndexQuery<K,C> |
autoPaginateRows(boolean autoPaginate)
Automatically sets the next start key so that the next call to execute will fetch the next block of rows |
IndexQuery<K,C> |
setIsPaginating()
Deprecated. autoPaginateRows() |
IndexQuery<K,C> |
setLimit(int count)
Deprecated. Use setRowLimit instead |
IndexQuery<K,C> |
setRowLimit(int count)
Limits the number of rows returned |
IndexQuery<K,C> |
setStartKey(K key)
? |
IndexQuery<K,C> |
withColumnRange(ByteBuffer startColumn,
ByteBuffer endColumn,
boolean reversed,
int count)
Specify a range and provide pre-constructed start and end columns. |
IndexQuery<K,C> |
withColumnRange(ByteBufferRange range)
Specify a range of composite columns. |
IndexQuery<K,C> |
withColumnRange(C startColumn,
C endColumn,
boolean reversed,
int count)
Specify a range of columns to return. |
IndexQuery<K,C> |
withColumnSlice(C... columns)
Specify a non-contiguous set of columns to retrieve. |
IndexQuery<K,C> |
withColumnSlice(Collection<C> columns)
Specify a non-contiguous set of columns to retrieve. |
IndexQuery<K,C> |
withColumnSlice(ColumnSlice<C> columns)
Use this when your application caches the column slice. |
Methods inherited from interface com.netflix.astyanax.Execution |
---|
execute, executeAsync |
Method Detail |
---|
@Deprecated IndexQuery<K,C> setLimit(int count)
count
-
IndexQuery<K,C> setRowLimit(int count)
count
-
IndexQuery<K,C> setStartKey(K key)
key
-
IndexColumnExpression<K,C> addExpression()
IndexQuery<K,C> addPreparedExpressions(Collection<PreparedIndexExpression<K,C>> expressions)
expressions
-
IndexQuery<K,C> withColumnSlice(C... columns)
columns
-
IndexQuery<K,C> withColumnSlice(Collection<C> columns)
columns
-
IndexQuery<K,C> withColumnSlice(ColumnSlice<C> columns)
slice
-
IndexQuery<K,C> withColumnRange(C startColumn, C endColumn, boolean reversed, int count)
startColumn
- First column in the rangeendColumn
- Last column in the rangereversed
- True if the order should be reversed. Note that for reversed,
startColumn should be greater than endColumn.count
- Maximum number of columns to return (similar to SQL LIMIT)
IndexQuery<K,C> withColumnRange(ByteBuffer startColumn, ByteBuffer endColumn, boolean reversed, int count)
startColumn
- endColumn
- reversed
- count
-
IndexQuery<K,C> withColumnRange(ByteBufferRange range)
range
-
IndexQuery<K,C> setIsPaginating()
IndexQuery<K,C> autoPaginateRows(boolean autoPaginate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |