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:
CreateSourceFactoryis requested to createStreamCommand and createTableCommandEngineExecutoris requested to plan a statement, maybeCreateSinkDdl, validateExistingSinkQueryIdUtilis 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.