Class DescribeTableOperation
- java.lang.Object
-
- org.apache.flink.table.operations.DescribeTableOperation
-
- All Implemented Interfaces:
ExecutableOperation
,Operation
@Internal public class DescribeTableOperation extends Object implements Operation, ExecutableOperation
Operation to describe a DESCRIBE [EXTENDED] [[catalogName.] dataBasesName].sqlIdentifier statement.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context
-
-
Constructor Summary
Constructors Constructor Description DescribeTableOperation(ObjectIdentifier sqlIdentifier, boolean isExtended)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asSummaryString()
Returns a string that summarizes this operation for printing to a console.TableResultInternal
execute(ExecutableOperation.Context ctx)
Executes the given operation and return the execution result.ObjectIdentifier
getSqlIdentifier()
boolean
isExtended()
-
-
-
Constructor Detail
-
DescribeTableOperation
public DescribeTableOperation(ObjectIdentifier sqlIdentifier, boolean isExtended)
-
-
Method Detail
-
getSqlIdentifier
public ObjectIdentifier getSqlIdentifier()
-
isExtended
public boolean isExtended()
-
asSummaryString
public String asSummaryString()
Description copied from interface:Operation
Returns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryString
in interfaceOperation
- Returns:
- summary string of this operation for debugging purposes
-
execute
public TableResultInternal execute(ExecutableOperation.Context ctx)
Description copied from interface:ExecutableOperation
Executes the given operation and return the execution result.- Specified by:
execute
in interfaceExecutableOperation
- Parameters:
ctx
- the context to execute the operation.- Returns:
- the content of the execution result.
- See Also:
TableEnvironmentInternal.executeInternal(Operation)
-
-