public class DefaultEvaluatorFactory
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
|
DefaultEvaluatorFactory(CollQueryTemplates templates) |
protected |
DefaultEvaluatorFactory(CollQueryTemplates templates,
java.lang.ClassLoader classLoader) |
|
DefaultEvaluatorFactory(CollQueryTemplates templates,
com.mysema.codegen.EvaluatorFactory factory) |
protected |
DefaultEvaluatorFactory(CollQueryTemplates templates,
java.net.URLClassLoader classLoader,
javax.tools.JavaCompiler compiler) |
Modifier and Type | Method and Description |
---|---|
<T> com.mysema.codegen.Evaluator<T> |
create(QueryMetadata metadata,
java.util.List<? extends Expression<?>> sources,
Expression<T> projection)
Create an Evaluator for the given query sources and projection
|
<T> com.mysema.codegen.Evaluator<java.util.List<T>> |
createEvaluator(QueryMetadata metadata,
Expression<? extends T> source,
Predicate filter)
Create an Evaluator for the given source and filter
|
com.mysema.codegen.Evaluator<java.util.List<java.lang.Object[]>> |
createEvaluator(QueryMetadata metadata,
java.util.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, java.net.URLClassLoader classLoader, javax.tools.JavaCompiler compiler)
protected DefaultEvaluatorFactory(CollQueryTemplates templates, java.lang.ClassLoader classLoader)
public <T> com.mysema.codegen.Evaluator<T> create(QueryMetadata metadata, java.util.List<? extends Expression<?>> sources, Expression<T> projection)
T
- sources
- projection
- public <T> com.mysema.codegen.Evaluator<java.util.List<T>> createEvaluator(QueryMetadata metadata, Expression<? extends T> source, Predicate filter)
T
- source
- filter
- public com.mysema.codegen.Evaluator<java.util.List<java.lang.Object[]>> createEvaluator(QueryMetadata metadata, java.util.List<JoinExpression> joins, @Nullable Predicate filter)
joins
- filter
- Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.