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
Fields inherited from class org.nuxeo.ecm.core.query.sql.model.Expression
info, lvalue, operator, rvalue
-
Constructor Summary
ConstructorDescriptionMultiExpression
(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:ASTNode
Accept the given visitor.- Specified by:
accept
in interfaceASTNode
- Overrides:
accept
in classExpression
- Parameters:
visitor
- the AST node visitor
-
toString
- Overrides:
toString
in classExpression
-
equals
- Overrides:
equals
in classExpression
-
equals
-
hashCode
public int hashCode()- Overrides:
hashCode
in classExpression
-