Class ShowFunctionsOperation
- java.lang.Object
-
- org.apache.flink.table.operations.AbstractShowOperation
-
- org.apache.flink.table.operations.ShowFunctionsOperation
-
- All Implemented Interfaces:
ExecutableOperation
,Operation
,ShowOperation
@Internal public class ShowFunctionsOperation extends AbstractShowOperation
Operation to describe a SHOW FUNCTIONS statement. 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShowFunctionsOperation.FunctionScope
Represent scope of function.-
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context
-
-
Field Summary
-
Fields inherited from class org.apache.flink.table.operations.AbstractShowOperation
catalogName, likeOp, preposition
-
-
Constructor Summary
Constructors Constructor Description ShowFunctionsOperation(String catalogName, String databaseName)
ShowFunctionsOperation(ShowFunctionsOperation.FunctionScope functionScope, String preposition, String catalogName, String databaseName, ShowLikeOperator likeOp)
ShowFunctionsOperation(ShowFunctionsOperation.FunctionScope functionScope, String catalogName, String databaseName, ShowLikeOperator likeOp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getColumnName()
protected String
getOperationName()
String
getPrepositionSummaryString()
protected Collection<String>
retrieveDataForTableResult(ExecutableOperation.Context ctx)
-
Methods inherited from class org.apache.flink.table.operations.AbstractShowOperation
asSummaryString, equals, execute, hashCode, toString
-
-
-
-
Constructor Detail
-
ShowFunctionsOperation
public ShowFunctionsOperation(@Nullable String catalogName, @Nullable String databaseName)
-
ShowFunctionsOperation
public ShowFunctionsOperation(ShowFunctionsOperation.FunctionScope functionScope, @Nullable String catalogName, @Nullable String databaseName, @Nullable ShowLikeOperator likeOp)
-
ShowFunctionsOperation
public ShowFunctionsOperation(ShowFunctionsOperation.FunctionScope functionScope, @Nullable String preposition, @Nullable String catalogName, @Nullable String databaseName, @Nullable ShowLikeOperator likeOp)
-
-
Method Detail
-
retrieveDataForTableResult
protected Collection<String> retrieveDataForTableResult(ExecutableOperation.Context ctx)
- Specified by:
retrieveDataForTableResult
in classAbstractShowOperation
-
getOperationName
protected String getOperationName()
- Specified by:
getOperationName
in classAbstractShowOperation
-
getColumnName
protected String getColumnName()
- Specified by:
getColumnName
in classAbstractShowOperation
-
getPrepositionSummaryString
public String getPrepositionSummaryString()
- Overrides:
getPrepositionSummaryString
in classAbstractShowOperation
-
-