public class DefaultEvaluatorFactory extends Object
Modifier | Constructor and Description |
---|---|
|
DefaultEvaluatorFactory(CollQueryTemplates templates) |
protected |
DefaultEvaluatorFactory(CollQueryTemplates templates,
ClassLoader classLoader) |
|
DefaultEvaluatorFactory(CollQueryTemplates templates,
com.mysema.codegen.EvaluatorFactory factory) |
protected |
DefaultEvaluatorFactory(CollQueryTemplates templates,
URLClassLoader classLoader,
JavaCompiler compiler) |
Modifier and Type | Method and Description |
---|---|
<T> com.mysema.codegen.Evaluator<T> |
create(QueryMetadata metadata,
List<? extends Expression<?>> sources,
Expression<T> projection)
Create an Evaluator for the given query sources and projection
|
<T> com.mysema.codegen.Evaluator<List<T>> |
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
|
public DefaultEvaluatorFactory(CollQueryTemplates templates)
public DefaultEvaluatorFactory(CollQueryTemplates templates, com.mysema.codegen.EvaluatorFactory factory)
protected DefaultEvaluatorFactory(CollQueryTemplates templates, URLClassLoader classLoader, JavaCompiler compiler)
protected DefaultEvaluatorFactory(CollQueryTemplates templates, ClassLoader classLoader)
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
- Copyright © 2007–2015 Mysema Ltd. All rights reserved.