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