pyflink.table.statement_set.StatementSet.attach_as_datastream# StatementSet.attach_as_datastream()[source]# Optimizes all statements as one entity and adds them as transformations to the underlying StreamExecutionEnvironment. Use execute() to execute them. The added statements will be cleared after calling this method. New in version 1.16.0.