public interface QueryEngine
Modifier and Type | Method and Description |
---|---|
long |
count(QueryMetadata metadata,
java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables)
Evaluate the given query and return the count of matched rows
|
boolean |
exists(QueryMetadata metadata,
java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables) |
<T> java.util.List<T> |
list(QueryMetadata metadata,
java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables,
Expression<T> projection)
Evaluate the given query and return the projection as a list
|
long count(QueryMetadata metadata, java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables)
metadata
- iterables
- <T> java.util.List<T> list(QueryMetadata metadata, java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables, Expression<T> projection)
metadata
- iterables
- boolean exists(QueryMetadata metadata, java.util.Map<Expression<?>,java.lang.Iterable<?>> iterables)
metadata
- iterables
- Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.