|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryExecutor<S extends Storable>
Performs all the actual work of executing a query. QueryExecutors are linked together forming a query plan.
QueryExecutorFactory| Method Summary | |
|---|---|
long |
count(FilterValues<S> values)
Counts the query results using the given filter values. |
Cursor<S> |
fetch(FilterValues<S> values)
Returns a new cursor using the given filter values. |
Cursor<S> |
fetchSlice(FilterValues<S> values,
long from,
Long to)
Returns a new cursor using the given filter values and slice. |
Filter<S> |
getFilter()
Returns the filter used by this QueryExecutor. |
OrderingList<S> |
getOrdering()
Returns the result ordering of this QueryExecutor. |
Class<S> |
getStorableType()
Returns the storable type that this executor operates on. |
boolean |
printNative(Appendable app,
int indentLevel,
FilterValues<S> values)
Prints the native query to any appendable, if applicable. |
boolean |
printPlan(Appendable app,
int indentLevel,
FilterValues<S> values)
Prints the query plan to any appendable, if applicable. |
| Method Detail |
|---|
Class<S> getStorableType()
Cursor<S> fetch(FilterValues<S> values)
throws FetchException
FetchException
Cursor<S> fetchSlice(FilterValues<S> values,
long from,
Long to)
throws FetchException
FetchException
long count(FilterValues<S> values)
throws FetchException
FetchExceptionFilter<S> getFilter()
OrderingList<S> getOrdering()
boolean printNative(Appendable app,
int indentLevel,
FilterValues<S> values)
throws IOException
values - optional
IOException
boolean printPlan(Appendable app,
int indentLevel,
FilterValues<S> values)
throws IOException
values - optional
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||