public interface QueryEngine
QueryEngine
defines an interface for the evaluation of ColQuery queriesModifier and Type | Method and Description |
---|---|
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)
Evaluate the given query return whether rows where matched
|
<T> List<T> |
list(QueryMetadata metadata,
Map<Expression<?>,Iterable<?>> iterables,
Expression<T> projection)
Evaluate the given query and return the projection as a list
|
long count(QueryMetadata metadata, Map<Expression<?>,Iterable<?>> iterables)
metadata
- query metadataiterables
- source contents<T> List<T> list(QueryMetadata metadata, Map<Expression<?>,Iterable<?>> iterables, Expression<T> projection)
metadata
- query metadataiterables
- source contentsboolean exists(QueryMetadata metadata, Map<Expression<?>,Iterable<?>> iterables)
metadata
- query metadataiterables
- source contentsCopyright © 2007–2016 Querydsl. All rights reserved.