public final class BinaryTermOp extends Expr
Modifier and Type | Field and Description |
---|---|
static int |
CONCAT |
static int |
MINUS |
static String[] |
OPS |
static int |
OVER |
static int |
PLUS |
static int |
TIMES |
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 static final String[] OPS
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 © 2022 CURS. All rights reserved.