OutputNode¶
OutputNode
is an extension of the SingleSourcePlanNode abstraction for output nodes.
Contract¶
Optional Sink Name¶
Optional<SourceName> getSinkName()
The name of a stream or table (to write into)
Used when:
CreateSourceFactory
is requested to createStreamCommand and createTableCommandEngineExecutor
is requested to plan a statement, maybeCreateSinkDdl, validateExistingSinkQueryIdUtil
is requested tobuildId
Implementations¶
Creating Instance¶
OutputNode
takes the following to be created:
-
PlanNodeId
- Source PlanNode
-
LogicalSchema
- Limit
-
TimestampColumn
Abstract Class
OutputNode
is an abstract class and cannot be created directly. It is created indirectly for the concrete OutputNodes.