Class ShowFunctionsOperation
- java.lang.Object
-
- org.apache.flink.table.operations.ShowFunctionsOperation
-
- All Implemented Interfaces:
ExecutableOperation,Operation,ShowOperation
@Internal public class ShowFunctionsOperation extends Object implements ShowOperation
Operation to describe a SHOW 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 classShowFunctionsOperation.FunctionScopeRepresent scope of function.-
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context
-
-
Constructor Summary
Constructors Constructor Description ShowFunctionsOperation()ShowFunctionsOperation(ShowFunctionsOperation.FunctionScope functionScope, String likeType, String likePattern, boolean notLike)ShowFunctionsOperation(ShowFunctionsOperation.FunctionScope functionScope, String preposition, String catalogName, String databaseName, String likeType, String likePattern, boolean notLike)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasSummaryString()Returns a string that summarizes this operation for printing to a console.TableResultInternalexecute(ExecutableOperation.Context ctx)Executes the given operation and return the execution result.ShowFunctionsOperation.FunctionScopegetFunctionScope()booleanisLike()booleanisNotLike()booleanisWithLike()
-
-
-
Constructor Detail
-
ShowFunctionsOperation
public ShowFunctionsOperation()
-
ShowFunctionsOperation
public ShowFunctionsOperation(ShowFunctionsOperation.FunctionScope functionScope, String likeType, String likePattern, boolean notLike)
-
-
Method Detail
-
asSummaryString
public String asSummaryString()
Description copied from interface:OperationReturns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryStringin interfaceOperation- Returns:
- summary string of this operation for debugging purposes
-
getFunctionScope
public ShowFunctionsOperation.FunctionScope getFunctionScope()
-
isLike
public boolean isLike()
-
isWithLike
public boolean isWithLike()
-
isNotLike
public boolean isNotLike()
-
execute
public TableResultInternal execute(ExecutableOperation.Context ctx)
Description copied from interface:ExecutableOperationExecutes the given operation and return the execution result.- Specified by:
executein interfaceExecutableOperation- Parameters:
ctx- the context to execute the operation.- Returns:
- the content of the execution result.
- See Also:
TableEnvironmentInternal.executeInternal(Operation)
-
-