Class CommonExecLegacySink<T>

    • Field Detail

      • tableSink

        protected final TableSink<T> tableSink
      • upsertKeys

        @Nullable
        protected final String[] upsertKeys
      • needRetraction

        protected final boolean needRetraction
      • isStreaming

        protected final boolean isStreaming
    • Method Detail

      • translateToPlanInternal

        protected Transformation<T> translateToPlanInternal​(org.apache.flink.table.planner.delegation.PlannerBase planner,
                                                            ExecNodeConfig config)
        Description copied from class: ExecNodeBase
        Internal method, translates this node into a Flink operator.
        Specified by:
        translateToPlanInternal in class ExecNodeBase<T>
        Parameters:
        planner - The planner.
        config - per-ExecNode configuration that contains the merged configuration from various layers which all the nodes implementing this method should use, instead of retrieving configuration from the planner. For more details check ExecNodeConfig.
      • checkAndConvertInputTypeIfNeeded

        protected abstract RowType checkAndConvertInputTypeIfNeeded​(RowType inputRowType)
        Check whether the given row type is legal and do some conversion if needed.