Package org.apache.flink.table.api
Class PlanReference
java.lang.Object
org.apache.flink.table.api.PlanReference
- Direct Known Subclasses:
PlanReference.ContentPlanReference,PlanReference.FilePlanReference,PlanReference.ResourcePlanReference
Unresolved pointer to a persisted plan.
A plan represents a static, executable entity that has been compiled from a Table & SQL API pipeline definition.
You can load the content of this reference into a CompiledPlan using TableEnvironment.loadPlan(PlanReference), or you can directly load and execute it with TableEnvironment.executePlan(PlanReference).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPlan reference to a string containing the serialized persisted plan in JSON.static classPlan reference to a file in the local filesystem.static classPlan reference to a file in the providedClassLoader. -
Method Summary
Modifier and TypeMethodDescriptionstatic PlanReferenceCreate a reference starting from a file path.static PlanReferencestatic PlanReferencestatic PlanReferencefromJsonString(String jsonString) Create a reference starting from a JSON string.static PlanReferencefromResource(ClassLoader classLoader, String resourcePath) Create a reference from a file in the classpath.static PlanReferencefromResource(String resourcePath) Create a reference from a file in the classpath, usingThread.currentThread().getContextClassLoader()asClassLoader.
-
Method Details
-
fromFile
- See Also:
-
fromFile
- See Also:
-
fromFile
Create a reference starting from a file path. -
fromJsonString
Create a reference starting from a JSON string. -
fromResource
Create a reference from a file in the classpath, usingThread.currentThread().getContextClassLoader()asClassLoader. -
fromResource
Create a reference from a file in the classpath.
-