|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.collections.DefaultEvaluatorFactory
@Immutable public class DefaultEvaluatorFactory
DefaultEvaluatorFactory extends the EvaluatorFactory class to provide Java source templates for evaluation of ColQuery queries
Constructor Summary | |
---|---|
DefaultEvaluatorFactory(ColQueryTemplates templates)
|
|
DefaultEvaluatorFactory(ColQueryTemplates templates,
URLClassLoader classLoader,
JavaCompiler compiler)
|
Method Summary | ||
---|---|---|
|
create(QueryMetadata metadata,
List<? extends Expression<?>> sources,
Expression<T> projection)
Create an Evaluator for the given query sources and projection |
|
|
createEvaluator(QueryMetadata metadata,
Expression<? extends T> source,
Predicate filter)
Create an Evaluator for the given source and filter |
|
com.mysema.codegen.Evaluator<List<Object[]>> |
createEvaluator(QueryMetadata metadata,
List<JoinExpression> joins,
Predicate filter)
Create an Evaluator for the given sources and the given optional filter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultEvaluatorFactory(ColQueryTemplates templates)
public DefaultEvaluatorFactory(ColQueryTemplates templates, URLClassLoader classLoader, JavaCompiler compiler)
Method Detail |
---|
public <T> com.mysema.codegen.Evaluator<T> create(QueryMetadata metadata, List<? extends Expression<?>> sources, Expression<T> projection)
T
- sources
- projection
-
public <T> com.mysema.codegen.Evaluator<List<T>> createEvaluator(QueryMetadata metadata, Expression<? extends T> source, Predicate filter)
T
- source
- filter
-
public com.mysema.codegen.Evaluator<List<Object[]>> createEvaluator(QueryMetadata metadata, List<JoinExpression> joins, @Nullable Predicate filter)
joins
- filter
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |