public class WherePredicate extends java.lang.Object implements OQLExpressionEvaluatorI<WhereNode>, java.util.function.Predicate<BOI>
INNER_JOIN_FILTERED_OUT| Constructor and Description |
|---|
WherePredicate(SchemaI schema,
EntityI entity,
java.lang.String alias,
WhereNode node,
java.lang.Object[] parameters) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlias() |
java.util.List<OQLExpressionEvaluatorI<?>> |
getChildren()
Nonnull list of available children
|
EntityI |
getEntity()
The entity of the current context
|
WhereNode |
getNode()
The parsed OQL Node that belongs to this expression evaluator
|
java.lang.Object[] |
getParameters()
Fixed parameter provided to the OQL Query
|
OQLExpressionEvaluatorI<?> |
getParent()
The parent evaluator
|
SchemaI |
getSchema()
The schema to use for evaluation.
|
java.lang.Object |
getValue(BOI bo)
Computes the raw value of the expression evaluated on the provided BO.
|
boolean |
test(BOI bo) |
public WherePredicate(SchemaI schema, EntityI entity, java.lang.String alias, WhereNode node, java.lang.Object[] parameters) throws OQLException
OQLExceptionpublic java.lang.Object getValue(BOI bo)
OQLExpressionEvaluatorIgetValue in interface OQLExpressionEvaluatorI<WhereNode>bo - the nonnull root BO to evaluate the node onpublic OQLExpressionEvaluatorI<?> getParent()
OQLExpressionEvaluatorIgetParent in interface OQLExpressionEvaluatorI<WhereNode>public java.util.List<OQLExpressionEvaluatorI<?>> getChildren()
OQLExpressionEvaluatorIgetChildren in interface OQLExpressionEvaluatorI<WhereNode>public WhereNode getNode()
OQLExpressionEvaluatorIgetNode in interface OQLExpressionEvaluatorI<WhereNode>public SchemaI getSchema()
OQLExpressionEvaluatorIgetSchema in interface OQLExpressionEvaluatorI<WhereNode>public EntityI getEntity()
OQLExpressionEvaluatorIgetEntity in interface OQLExpressionEvaluatorI<WhereNode>public java.lang.Object[] getParameters()
OQLExpressionEvaluatorIgetParameters in interface OQLExpressionEvaluatorI<WhereNode>public java.lang.String getAlias()
getAlias in interface OQLExpressionEvaluatorI<WhereNode>Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.