com.mysema.query.collections
Class DefaultQueryEngine
java.lang.Object
com.mysema.query.collections.DefaultQueryEngine
- All Implemented Interfaces:
- QueryEngine
public class DefaultQueryEngine
- extends Object
- implements QueryEngine
Default implementation of the QueryEngine interface
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultQueryEngine
public DefaultQueryEngine(DefaultEvaluatorFactory evaluatorFactory)
count
public long count(QueryMetadata metadata,
Map<Expression<?>,Iterable<?>> iterables)
- Description copied from interface:
QueryEngine
- Evaluate the given query and return the count of matched rows
- Specified by:
count
in interface QueryEngine
- Returns:
exists
public boolean exists(QueryMetadata metadata,
Map<Expression<?>,Iterable<?>> iterables)
- Specified by:
exists
in interface QueryEngine
- Returns:
list
public <T> List<T> list(QueryMetadata metadata,
Map<Expression<?>,Iterable<?>> iterables,
Expression<T> projection)
- Description copied from interface:
QueryEngine
- Evaluate the given query and return the projection as a list
- Specified by:
list
in interface QueryEngine
- Returns:
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.