public class FullScanQueryExecutor<S extends Storable> extends AbstractQueryExecutor<S>
Modifier and Type | Class and Description |
---|---|
static interface |
FullScanQueryExecutor.Support<S extends Storable>
Provides support for
FullScanQueryExecutor . |
Constructor and Description |
---|
FullScanQueryExecutor(FullScanQueryExecutor.Support<S> support) |
Modifier and Type | Method and Description |
---|---|
long |
count(FilterValues<S> values)
Counts results by opening a cursor and skipping entries.
|
long |
count(FilterValues<S> values,
Query.Controller controller)
Counts results by opening a cursor and skipping entries.
|
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.
|
fetchSlice, fetchSlice, getStorableType, increaseIndent, indent, newline, printNative
public FullScanQueryExecutor(FullScanQueryExecutor.Support<S> support)
support
- support for full scanjava.lang.IllegalArgumentException
- if support is nullpublic long count(FilterValues<S> values) throws FetchException
AbstractQueryExecutor
count
in interface QueryExecutor<S extends Storable>
count
in class AbstractQueryExecutor<S extends Storable>
FetchException
public long count(FilterValues<S> values, Query.Controller controller) throws FetchException
AbstractQueryExecutor
count
in interface QueryExecutor<S extends Storable>
count
in class AbstractQueryExecutor<S extends Storable>
controller
- optional controller which can abort query operationFetchException
public Cursor<S> fetch(FilterValues<S> values) throws FetchException
QueryExecutor
FetchException
public Cursor<S> fetch(FilterValues<S> values, Query.Controller controller) throws FetchException
QueryExecutor
controller
- optional controller which can abort query operationFetchException
public OrderingList<S> getOrdering()
public boolean printPlan(java.lang.Appendable app, int indentLevel, FilterValues<S> values) throws java.io.IOException
QueryExecutor
values
- optionaljava.io.IOException
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.