T
- public class EvaluationQueryConverter<T extends org.neo4j.graphdb.PropertyContainer> extends QueryConverter<Evaluator<T>>
EOQualifier
to Evaluator
having exactly the same semantics.Constructor and Description |
---|
EvaluationQueryConverter() |
Modifier and Type | Method and Description |
---|---|
protected Evaluator<T> |
comparison(EOEntity entity,
String key,
ComparisonOperator operator,
Object value)
Creates clause that matches records where the given entity key matches given value using comparison operator.
|
Evaluator<T> |
fullQuery(EOEntity entity,
EOQualifier qualifier) |
protected Evaluator<T> |
joinWithAndOperator(Collection<Evaluator<T>> queries) |
protected Evaluator<T> |
joinWithOrOperator(Collection<Evaluator<T>> queries) |
protected Evaluator<T> |
matchAll() |
protected Evaluator<T> |
negate(Evaluator<T> query)
Creates negation of the given clause.
|
convert, convertKeyValueQualifier
protected Evaluator<T> comparison(EOEntity entity, String key, ComparisonOperator operator, Object value)
QueryConverter
comparison
in class QueryConverter<Evaluator<T extends org.neo4j.graphdb.PropertyContainer>>
public Evaluator<T> fullQuery(EOEntity entity, EOQualifier qualifier)
fullQuery
in class QueryConverter<Evaluator<T extends org.neo4j.graphdb.PropertyContainer>>
protected Evaluator<T> joinWithAndOperator(Collection<Evaluator<T>> queries)
joinWithAndOperator
in class QueryConverter<Evaluator<T extends org.neo4j.graphdb.PropertyContainer>>
queries
- clauses to join with logical conjunctiontrue
if all of queries evaluate to true
protected Evaluator<T> joinWithOrOperator(Collection<Evaluator<T>> queries)
joinWithOrOperator
in class QueryConverter<Evaluator<T extends org.neo4j.graphdb.PropertyContainer>>
queries
- clauses to join with logical alternativetrue
if at least one of queries evaluates to true
protected Evaluator<T> matchAll()
matchAll
in class QueryConverter<Evaluator<T extends org.neo4j.graphdb.PropertyContainer>>
protected Evaluator<T> negate(Evaluator<T> query)
QueryConverter
negate
in class QueryConverter<Evaluator<T extends org.neo4j.graphdb.PropertyContainer>>
query
- clause to negateCopyright © 2002 – 2024 Project Wonder.