|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryEngine
QueryEngine defines an interface for the evaluation of ColQuery queries
Field Summary | |
---|---|
static QueryEngine |
DEFAULT
Default instance |
Method Summary | ||
---|---|---|
long |
count(QueryMetadata metadata,
Map<Expression<?>,Iterable<?>> iterables)
Evaluate the given query and return the count of matched rows |
|
boolean |
exists(QueryMetadata metadata,
Map<Expression<?>,Iterable<?>> iterables)
|
|
|
list(QueryMetadata metadata,
Map<Expression<?>,Iterable<?>> iterables,
Expression<T> projection)
Evaluate the given query and return the projection as a list |
Field Detail |
---|
static final QueryEngine DEFAULT
Method Detail |
---|
long count(QueryMetadata metadata, Map<Expression<?>,Iterable<?>> iterables)
metadata
- iterables
-
<T> List<T> list(QueryMetadata metadata, Map<Expression<?>,Iterable<?>> iterables, Expression<T> projection)
metadata
- iterables
-
boolean exists(QueryMetadata metadata, Map<Expression<?>,Iterable<?>> iterables)
metadata
- iterables
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |