Class MultiExpression
java.lang.Object
org.nuxeo.ecm.core.query.sql.model.Expression
org.nuxeo.ecm.core.query.sql.model.Predicate
org.nuxeo.ecm.core.query.sql.model.MultiExpression
- All Implemented Interfaces:
Serializable,ASTNode,Operand
An expression for an single operator with an arbitrary number of operands.
It extends Predicate but it's really not a real Predicate (some users of Predicate expect it to have lvalue
and rvalue fields, which are null in this class).
- Author:
- Florent Guillaume
- See Also:
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.core.query.sql.model.Expression
info, lvalue, operator, rvalue -
Constructor Summary
ConstructorsConstructorDescriptionMultiExpression(MultiExpression other) Copy constructor.MultiExpression(Operator operator, List<Predicate> predicates) -
Method Summary
Methods inherited from class org.nuxeo.ecm.core.query.sql.model.Expression
getInfo, isPathExpression, isSuffix, setInfo
-
Field Details
-
predicates
-
-
Constructor Details
-
MultiExpression
-
MultiExpression
Copy constructor.- Since:
- 10.3
-
-
Method Details
-
accept
Description copied from interface:ASTNodeAccept the given visitor.- Specified by:
acceptin interfaceASTNode- Overrides:
acceptin classExpression- Parameters:
visitor- the AST node visitor
-
toString
- Overrides:
toStringin classExpression
-
equals
- Overrides:
equalsin classExpression
-
equals
-
hashCode
public int hashCode()- Overrides:
hashCodein classExpression
-