Class StreamStatementSetImpl
java.lang.Object
org.apache.flink.table.api.internal.StatementSetImpl<StreamTableEnvironmentImpl>
org.apache.flink.table.api.bridge.java.internal.StreamStatementSetImpl
- All Implemented Interfaces:
StreamStatementSet,org.apache.flink.table.api.Compilable,org.apache.flink.table.api.Executable,org.apache.flink.table.api.Explainable<org.apache.flink.table.api.StatementSet>,org.apache.flink.table.api.StatementSet
@Internal
public class StreamStatementSetImpl
extends org.apache.flink.table.api.internal.StatementSetImpl<StreamTableEnvironmentImpl>
implements StreamStatementSet
Implementation for
StreamStatementSet.-
Field Summary
Fields inherited from class org.apache.flink.table.api.internal.StatementSetImpl
operations, tableEnvironment -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStreamStatementSetImpl(StreamTableEnvironmentImpl tableEnvironment) -
Method Summary
Modifier and TypeMethodDescriptionadd(org.apache.flink.table.api.TablePipeline tablePipeline) addInsert(org.apache.flink.table.api.TableDescriptor targetDescriptor, org.apache.flink.table.api.Table table) addInsert(org.apache.flink.table.api.TableDescriptor targetDescriptor, org.apache.flink.table.api.Table table, boolean overwrite) addInsertSql(String statement) voidOptimizes all statements as one entity and adds them as transformations to the underlyingStreamExecutionEnvironment.printExplain(org.apache.flink.table.api.ExplainDetail... extraDetails) Methods inherited from class org.apache.flink.table.api.internal.StatementSetImpl
compilePlan, execute, explain, getOperationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.api.Explainable
explain, explainMethods inherited from interface org.apache.flink.table.api.StatementSet
compilePlan, execute
-
Constructor Details
-
StreamStatementSetImpl
-
-
Method Details
-
add
- Specified by:
addin interfaceorg.apache.flink.table.api.StatementSet- Specified by:
addin interfaceStreamStatementSet- Overrides:
addin classorg.apache.flink.table.api.internal.StatementSetImpl<StreamTableEnvironmentImpl>
-
addInsertSql
- Specified by:
addInsertSqlin interfaceorg.apache.flink.table.api.StatementSet- Specified by:
addInsertSqlin interfaceStreamStatementSet- Overrides:
addInsertSqlin classorg.apache.flink.table.api.internal.StatementSetImpl<StreamTableEnvironmentImpl>
-
addInsert
- Specified by:
addInsertin interfaceorg.apache.flink.table.api.StatementSet- Specified by:
addInsertin interfaceStreamStatementSet- Overrides:
addInsertin classorg.apache.flink.table.api.internal.StatementSetImpl<StreamTableEnvironmentImpl>
-
addInsert
public StreamStatementSet addInsert(String targetPath, org.apache.flink.table.api.Table table, boolean overwrite) - Specified by:
addInsertin interfaceorg.apache.flink.table.api.StatementSet- Specified by:
addInsertin interfaceStreamStatementSet- Overrides:
addInsertin classorg.apache.flink.table.api.internal.StatementSetImpl<StreamTableEnvironmentImpl>
-
addInsert
public StreamStatementSet addInsert(org.apache.flink.table.api.TableDescriptor targetDescriptor, org.apache.flink.table.api.Table table) - Specified by:
addInsertin interfaceorg.apache.flink.table.api.StatementSet- Specified by:
addInsertin interfaceStreamStatementSet- Overrides:
addInsertin classorg.apache.flink.table.api.internal.StatementSetImpl<StreamTableEnvironmentImpl>
-
addInsert
public StreamStatementSet addInsert(org.apache.flink.table.api.TableDescriptor targetDescriptor, org.apache.flink.table.api.Table table, boolean overwrite) - Specified by:
addInsertin interfaceorg.apache.flink.table.api.StatementSet- Specified by:
addInsertin interfaceStreamStatementSet- Overrides:
addInsertin classorg.apache.flink.table.api.internal.StatementSetImpl<StreamTableEnvironmentImpl>
-
printExplain
- Specified by:
printExplainin interfaceorg.apache.flink.table.api.Explainable<org.apache.flink.table.api.StatementSet>- Specified by:
printExplainin interfaceStreamStatementSet
-
attachAsDataStream
public void attachAsDataStream()Description copied from interface:StreamStatementSetOptimizes all statements as one entity and adds them as transformations to the underlyingStreamExecutionEnvironment.Use
StreamExecutionEnvironment.execute()to execute them.The added statements will be cleared after calling this method.
- Specified by:
attachAsDataStreamin interfaceStreamStatementSet
-