Package org.apache.flink.table.api
Interface Explainable<SELF extends Explainable<SELF>>
- All Known Subinterfaces:
CompiledPlan,StatementSet,Table,TablePipeline
- All Known Implementing Classes:
StatementSetImpl,TableImpl
@PublicEvolving
public interface Explainable<SELF extends Explainable<SELF>>
Represents an artifact that can be explained using a summary string.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault Stringexplain(ExplainDetail... extraDetails) Returns the AST of this object and the execution plan to compute the result of the given statement.explain(ExplainFormat format, ExplainDetail... extraDetails) Returns the AST of this object and the execution plan to compute the result of the given statement.default SELFprintExplain(ExplainDetail... extraDetails) Likeexplain(ExplainDetail...), but piping the result toSystem.out.
-
Method Details
-
explain
Returns the AST of this object and the execution plan to compute the result of the given statement.- Parameters:
extraDetails- The extra explain details which the result of this method should include, e.g. estimated cost, changelog mode for streaming- Returns:
- AST and the execution plan.
-
explain
Returns the AST of this object and the execution plan to compute the result of the given statement.- Parameters:
format- The output format of explained planextraDetails- The extra explain details which the result of this method should include, e.g. estimated cost, changelog mode for streaming- Returns:
- AST and the execution plan.
-
printExplain
Likeexplain(ExplainDetail...), but piping the result toSystem.out.
-