public final class BinaryTermOp extends Expr
Modifier and Type | Field and Description |
---|---|
static int |
CONCAT
Index for string concatenation operator.
|
static int |
MINUS
Index for subtraction operator.
|
static int |
OVER
Index for division operator.
|
static int |
PLUS
Index for addition operator.
|
static int |
TIMES
Index for multiplication operator.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ExprVisitor visitor)
Accepts a visitor during a traversal of the parse tree for solving tasks of
types validation, code generation etc.
|
ViewColumnMeta<?> |
getMeta()
Returns the expression type.
|
List<Expr> |
getOperands()
Returns the operands.
|
int |
getOperator()
Returns the operator.
|
getCSQL, getSQL, resolveFieldRefs
public static final int PLUS
public static final int MINUS
public static final int TIMES
public static final int OVER
public static final int CONCAT
public int getOperator()
public ViewColumnMeta<?> getMeta()
Expr
public void accept(ExprVisitor visitor) throws ParseException
Expr
visitor
- universal visitor element performing tasks with the parse tree.ParseException
- semantic error during the tree traversalCopyright © 2023 CURS. All rights reserved.