- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.BinaryExpression
-
- net.sf.jsqlparser.expression.operators.arithmetic.Modulo
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class Modulo extends BinaryExpression
Modulo expression (a % b).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Modulo()
Modulo(Expression leftExpression, Expression rightExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)
java.lang.String
getStringExpression()
Modulo
withLeftExpression(Expression arg0)
Modulo
withRightExpression(Expression arg0)
-
Methods inherited from class net.sf.jsqlparser.expression.BinaryExpression
add, and, bitAnd, bitOr, bitShiftLeft, bitShiftRight, bitXor, build, concat, divide, divideInt, getLeftExpression, getLeftExpression, getRightExpression, getRightExpression, modulo, multiply, or, setLeftExpression, setRightExpression, subtract, toString, xor
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.parser.ASTNodeAccess
getASTNode, setASTNode
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Constructor Detail
-
Modulo
public Modulo()
-
Modulo
public Modulo(Expression leftExpression, Expression rightExpression)
-
-
Method Detail
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
-
getStringExpression
public java.lang.String getStringExpression()
- Specified by:
getStringExpression
in classBinaryExpression
-
withLeftExpression
public Modulo withLeftExpression(Expression arg0)
- Overrides:
withLeftExpression
in classBinaryExpression
-
withRightExpression
public Modulo withRightExpression(Expression arg0)
- Overrides:
withRightExpression
in classBinaryExpression
-
-