Class GridSqlOperation
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.sql.GridSqlElement
-
- org.apache.ignite.internal.processors.query.h2.sql.GridSqlOperation
-
- All Implemented Interfaces:
GridSqlAst
public class GridSqlOperation extends GridSqlElement
Unary or binary operation.
-
-
Constructor Summary
Constructors Constructor Description GridSqlOperation(GridSqlOperationType opType)GridSqlOperation(GridSqlOperationType opType, GridSqlAst left, GridSqlAst right)GridSqlOperation(GridSqlOperationType opType, GridSqlElement arg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSQL()GridSqlOperationTypeoperationType()-
Methods inherited from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlElement
addChild, child, child, child, equals, hashCode, resultType, resultType, size, toString
-
-
-
-
Constructor Detail
-
GridSqlOperation
public GridSqlOperation(GridSqlOperationType opType)
- Parameters:
opType- Operation type.
-
GridSqlOperation
public GridSqlOperation(GridSqlOperationType opType, GridSqlElement arg)
- Parameters:
opType- Op type.arg- argument.
-
GridSqlOperation
public GridSqlOperation(GridSqlOperationType opType, GridSqlAst left, GridSqlAst right)
- Parameters:
opType- Op type.left- Left.right- Right.
-
-
Method Detail
-
operationType
public GridSqlOperationType operationType()
- Returns:
- Operation type.
-
getSQL
public String getSQL()
- Returns:
- Generate sql from this AST.
-
-