Package org.apache.flink.sql.parser.dql
Class SqlShowFunctions
- java.lang.Object
-
- org.apache.calcite.sql.SqlNode
-
- org.apache.calcite.sql.SqlCall
-
- org.apache.flink.sql.parser.dql.SqlShowFunctions
-
- All Implemented Interfaces:
Cloneable
public class SqlShowFunctions extends org.apache.calcite.sql.SqlCallShow Functions sql call. The full syntax for show functions is as followings:SHOW [USER] FUNCTIONS [ ( FROM | IN ) [catalog_name.]database_name ] [ [NOT] (LIKE | ILIKE) <sql_like_pattern> ] statement
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.calcite.sql.SqlSpecialOperatorOPERATOR
-
Constructor Summary
Constructors Constructor Description SqlShowFunctions(org.apache.calcite.sql.parser.SqlParserPos pos, boolean requireUser, String preposition, org.apache.calcite.sql.SqlIdentifier databaseName, String likeType, org.apache.calcite.sql.SqlCharStringLiteral likeLiteral, boolean notLike)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]fullDatabaseName()StringgetLikeSqlPattern()StringgetLikeType()List<org.apache.calcite.sql.SqlNode>getOperandList()org.apache.calcite.sql.SqlOperatorgetOperator()StringgetPreposition()booleanisNotLike()booleanisWithLike()booleanrequireUser()voidunparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)-
Methods inherited from class org.apache.calcite.sql.SqlCall
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
-
-
-
-
Method Detail
-
getOperator
public org.apache.calcite.sql.SqlOperator getOperator()
- Specified by:
getOperatorin classorg.apache.calcite.sql.SqlCall
-
getOperandList
public List<org.apache.calcite.sql.SqlNode> getOperandList()
- Specified by:
getOperandListin classorg.apache.calcite.sql.SqlCall
-
unparse
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)- Overrides:
unparsein classorg.apache.calcite.sql.SqlCall
-
requireUser
public boolean requireUser()
-
getPreposition
public String getPreposition()
-
fullDatabaseName
public String[] fullDatabaseName()
-
isWithLike
public boolean isWithLike()
-
getLikeType
public String getLikeType()
-
getLikeSqlPattern
public String getLikeSqlPattern()
-
isNotLike
public boolean isNotLike()
-
-