Class QuantifiableBinaryExpressionPredicate
java.lang.Object
com.blazebit.persistence.parser.expression.AbstractExpression
com.blazebit.persistence.parser.predicate.AbstractPredicate
com.blazebit.persistence.parser.predicate.BinaryExpressionPredicate
com.blazebit.persistence.parser.predicate.QuantifiableBinaryExpressionPredicate
- All Implemented Interfaces:
Expression,Negatable,Predicate
- Direct Known Subclasses:
EqPredicate,GePredicate,GtPredicate,LePredicate,LtPredicate
public abstract class QuantifiableBinaryExpressionPredicate extends BinaryExpressionPredicate
- Since:
- 1.0.0
- Author:
- Christian Beikov, Moritz Becker
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.parser.expression.Expression
Expression.ResultVisitor<T>, Expression.Visitor -
Field Summary
Fields Modifier and Type Field Description protected PredicateQuantifierquantifierFields inherited from class com.blazebit.persistence.parser.predicate.BinaryExpressionPredicate
left, right -
Constructor Summary
Constructors Constructor Description QuantifiableBinaryExpressionPredicate()QuantifiableBinaryExpressionPredicate(Expression left, Expression right, boolean negated)QuantifiableBinaryExpressionPredicate(Expression left, Expression right, PredicateQuantifier quantifier, boolean negated) -
Method Summary
Modifier and Type Method Description abstract QuantifiableBinaryExpressionPredicatecopy(ExpressionCopyContext copyContext)booleanequals(Object o)PredicateQuantifiergetQuantifier()inthashCode()voidsetQuantifier(PredicateQuantifier quantifier)Methods inherited from class com.blazebit.persistence.parser.predicate.BinaryExpressionPredicate
getLeft, getRight, setLeft, setRightMethods inherited from class com.blazebit.persistence.parser.predicate.AbstractPredicate
isNegated, negate, setNegatedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blazebit.persistence.parser.expression.Expression
accept, accept, toString
-
Field Details
-
Constructor Details
-
QuantifiableBinaryExpressionPredicate
public QuantifiableBinaryExpressionPredicate() -
QuantifiableBinaryExpressionPredicate
-
QuantifiableBinaryExpressionPredicate
public QuantifiableBinaryExpressionPredicate(Expression left, Expression right, PredicateQuantifier quantifier, boolean negated)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceExpression- Specified by:
copyin interfacePredicate- Specified by:
copyin classBinaryExpressionPredicate- Returns:
-
getQuantifier
-
setQuantifier
-
equals
- Overrides:
equalsin classBinaryExpressionPredicate
-
hashCode
public int hashCode()- Overrides:
hashCodein classBinaryExpressionPredicate
-