@Internal public class StreamStatementSetImpl extends StatementSetImpl<StreamTableEnvironmentImpl> implements StreamStatementSet
StreamStatementSet
.operations, tableEnvironment
Modifier | Constructor and Description |
---|---|
protected |
StreamStatementSetImpl(StreamTableEnvironmentImpl tableEnvironment) |
Modifier and Type | Method and Description |
---|---|
StreamStatementSet |
add(TablePipeline tablePipeline)
Adds a
TablePipeline . |
StreamStatementSet |
addInsert(String targetPath,
Table table)
Shorthand for
statementSet.add(table.insertInto(targetPath)) . |
StreamStatementSet |
addInsert(String targetPath,
Table table,
boolean overwrite)
Shorthand for
statementSet.add(table.insertInto(targetPath, overwrite)) . |
StreamStatementSet |
addInsert(TableDescriptor targetDescriptor,
Table table)
Shorthand for
statementSet.add(table.insertInto(targetDescriptor)) . |
StreamStatementSet |
addInsert(TableDescriptor targetDescriptor,
Table table,
boolean overwrite)
Shorthand for
statementSet.add(table.insertInto(targetDescriptor, overwrite)) . |
StreamStatementSet |
addInsertSql(String statement)
Adds an
INSERT INTO SQL statement. |
void |
attachAsDataStream()
Optimizes all statements as one entity and adds them as transformations to the underlying
StreamExecutionEnvironment . |
StreamStatementSet |
printExplain(ExplainDetail... extraDetails)
Like
Explainable.explain(ExplainDetail...) , but piping the result to System.out . |
compilePlan, execute, explain, getOperations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compilePlan, execute
explain, explain
protected StreamStatementSetImpl(StreamTableEnvironmentImpl tableEnvironment)
public StreamStatementSet add(TablePipeline tablePipeline)
StatementSet
TablePipeline
.add
in interface StreamStatementSet
add
in interface StatementSet
add
in class StatementSetImpl<StreamTableEnvironmentImpl>
public StreamStatementSet addInsertSql(String statement)
StatementSet
INSERT INTO
SQL statement.addInsertSql
in interface StreamStatementSet
addInsertSql
in interface StatementSet
addInsertSql
in class StatementSetImpl<StreamTableEnvironmentImpl>
public StreamStatementSet addInsert(String targetPath, Table table)
StatementSet
statementSet.add(table.insertInto(targetPath))
.addInsert
in interface StreamStatementSet
addInsert
in interface StatementSet
addInsert
in class StatementSetImpl<StreamTableEnvironmentImpl>
StatementSet.add(TablePipeline)
,
Table.insertInto(String)
public StreamStatementSet addInsert(String targetPath, Table table, boolean overwrite)
StatementSet
statementSet.add(table.insertInto(targetPath, overwrite))
.addInsert
in interface StreamStatementSet
addInsert
in interface StatementSet
addInsert
in class StatementSetImpl<StreamTableEnvironmentImpl>
StatementSet.add(TablePipeline)
,
Table.insertInto(String, boolean)
public StreamStatementSet addInsert(TableDescriptor targetDescriptor, Table table)
StatementSet
statementSet.add(table.insertInto(targetDescriptor))
.addInsert
in interface StreamStatementSet
addInsert
in interface StatementSet
addInsert
in class StatementSetImpl<StreamTableEnvironmentImpl>
StatementSet.add(TablePipeline)
,
Table.insertInto(TableDescriptor)
public StreamStatementSet addInsert(TableDescriptor targetDescriptor, Table table, boolean overwrite)
StatementSet
statementSet.add(table.insertInto(targetDescriptor, overwrite))
.addInsert
in interface StreamStatementSet
addInsert
in interface StatementSet
addInsert
in class StatementSetImpl<StreamTableEnvironmentImpl>
StatementSet.add(TablePipeline)
,
Table.insertInto(TableDescriptor, boolean)
public StreamStatementSet printExplain(ExplainDetail... extraDetails)
Explainable
Explainable.explain(ExplainDetail...)
, but piping the result to System.out
.printExplain
in interface StreamStatementSet
printExplain
in interface Explainable<StatementSet>
public void attachAsDataStream()
StreamStatementSet
StreamExecutionEnvironment
.
Use StreamExecutionEnvironment.execute()
to execute them.
The added statements will be cleared after calling this method.
attachAsDataStream
in interface StreamStatementSet
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.