Class GridSqlFunction
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.sql.GridSqlElement
-
- org.apache.ignite.internal.processors.query.h2.sql.GridSqlFunction
-
- All Implemented Interfaces:
GridSqlAst
- Direct Known Subclasses:
GridSqlAggregateFunction
public class GridSqlFunction extends GridSqlElement
Function.
-
-
Field Summary
Fields Modifier and Type Field Description protected GridSqlFunctionTypetype
-
Constructor Summary
Constructors Constructor Description GridSqlFunction(String schema, String name)GridSqlFunction(GridSqlFunctionType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSQL()Stringname()GridSqlFunctionTypetype()-
Methods inherited from class org.apache.ignite.internal.processors.query.h2.sql.GridSqlElement
addChild, child, child, child, equals, hashCode, resultType, resultType, size, toString
-
-
-
-
Field Detail
-
type
protected final GridSqlFunctionType type
-
-
Constructor Detail
-
GridSqlFunction
public GridSqlFunction(GridSqlFunctionType type)
- Parameters:
type- Function type.
-
-
Method Detail
-
getSQL
public String getSQL()
- Returns:
- Generate sql from this AST.
-
name
public String name()
- Returns:
- Name.
-
type
public GridSqlFunctionType type()
- Returns:
- Type.
-
-