public class IterableQueryExecutor<S extends Storable> extends AbstractQueryExecutor<S>
IteratorCursor| Constructor and Description |
|---|
IterableQueryExecutor(java.lang.Class<S> type,
java.lang.Iterable<S> iterable) |
IterableQueryExecutor(java.lang.Class<S> type,
java.lang.Iterable<S> iterable,
java.util.concurrent.locks.Lock lock) |
| Modifier and Type | Method and Description |
|---|---|
Cursor<S> |
fetch(FilterValues<S> values)
Returns a new cursor using the given filter values.
|
Cursor<S> |
fetch(FilterValues<S> values,
Query.Controller controller)
Returns a new cursor using the given filter values.
|
Filter<S> |
getFilter()
Returns an open filter.
|
OrderingList<S> |
getOrdering()
Returns an empty list.
|
boolean |
printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values)
Prints the query plan to any appendable, if applicable.
|
count, count, fetchSlice, fetchSlice, getStorableType, increaseIndent, indent, newline, printNativepublic IterableQueryExecutor(java.lang.Class<S> type, java.lang.Iterable<S> iterable)
type - type of Storableiterable - collection to iterate over, or null for empty cursorjava.lang.IllegalArgumentException - if type is nullpublic IterableQueryExecutor(java.lang.Class<S> type, java.lang.Iterable<S> iterable, java.util.concurrent.locks.Lock lock)
type - type of Storableiterable - collection to iterate over, or null for empty cursorlock - optional lock to hold while cursor is openjava.lang.IllegalArgumentException - if type is nullpublic Cursor<S> fetch(FilterValues<S> values)
QueryExecutorpublic Cursor<S> fetch(FilterValues<S> values, Query.Controller controller)
QueryExecutorcontroller - optional controller which can abort query operationpublic OrderingList<S> getOrdering()
public boolean printPlan(java.lang.Appendable app,
int indentLevel,
FilterValues<S> values)
throws java.io.IOException
QueryExecutorvalues - optionaljava.io.IOExceptionCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.