Interface Compilable

All Known Subinterfaces:
StatementSet, TablePipeline
All Known Implementing Classes:
StatementSetImpl

@Experimental public interface Compilable
Represents an artifact that can be compiled to a CompiledPlan.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Compiles this object into a CompiledPlan that can be executed as one job.
  • Method Details

    • compilePlan

      @Experimental CompiledPlan compilePlan() throws org.apache.flink.table.api.TableException
      Compiles this object into a CompiledPlan that can be executed as one job.

      Compiled plans can be persisted and reloaded across Flink versions. They describe static pipelines to ensure backwards compatibility and enable stateful streaming job upgrades. See CompiledPlan and the website documentation for more information.

      Note: The compiled plan feature is not supported in batch mode.

      Throws:
      org.apache.flink.table.api.TableException - if any of the statements is invalid or if the plan cannot be persisted.