Class TableStreamOperator<OUT>

java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
org.apache.flink.table.runtime.operators.TableStreamOperator<OUT>
All Implemented Interfaces:
Serializable, org.apache.flink.api.common.state.CheckpointListener, org.apache.flink.streaming.api.operators.KeyContext, org.apache.flink.streaming.api.operators.KeyContextHandler, org.apache.flink.streaming.api.operators.StreamOperator<OUT>, org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperator, org.apache.flink.streaming.api.operators.YieldingOperator<OUT>
Direct Known Subclasses:
BufferDataOverWindowOperator, ConstraintEnforcer, GlobalRuntimeFilterBuilderOperator, HashJoinOperator, InputConversionOperator, LimitOperator, LocalRuntimeFilterBuilderOperator, NonBufferOverWindowOperator, OutputConversionOperator, RankOperator, RowKindSetter, SinkUpsertMaterializer, SortLimitOperator, SortMergeJoinOperator, SortOperator, StreamRecordTimestampInserter, StreamSortOperator, WindowAggOperator, WindowJoinOperator, WindowTableFunctionOperatorBase

public abstract class TableStreamOperator<OUT> extends org.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
Table operator to invoke close always. This is a base class for both batch and stream operators without key.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected class 
    Information available in an invocation of processElement.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected long
    We listen to this ourselves because we don't have an InternalTimerService.

    Fields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperator

    combinedWatermark, config, lastRecordAttributes1, lastRecordAttributes2, latencyStats, LOG, metrics, output, processingTimeService, stateHandler, stateKeySelector1, stateKeySelector2, timeServiceManager
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TableStreamOperator(org.apache.flink.streaming.api.operators.StreamOperatorParameters<OUT> parameters)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Compute memory size from memory faction.
    void
     
    void
    processWatermark(org.apache.flink.streaming.api.watermark.Watermark mark)
     
    boolean
     

    Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperator

    beforeInitializeStateHandler, close, finish, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getStateKeySelector1, getStateKeySelector2, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, initializeState, isAsyncStateProcessingEnabled, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark, processWatermark1, processWatermark1, processWatermark2, processWatermark2, processWatermarkStatus, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setMailboxExecutor, setProcessingTimeService, setup, snapshotState, snapshotState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.flink.streaming.api.operators.KeyContextHandler

    hasKeyContext

    Methods inherited from interface org.apache.flink.streaming.api.operators.StreamOperator

    getOperatorAttributes
  • Field Details

    • currentWatermark

      protected long currentWatermark
      We listen to this ourselves because we don't have an InternalTimerService.
    • ctx

      protected transient TableStreamOperator<OUT>.ContextImpl ctx
  • Constructor Details

    • TableStreamOperator

      public TableStreamOperator()
    • TableStreamOperator

      public TableStreamOperator(org.apache.flink.streaming.api.operators.StreamOperatorParameters<OUT> parameters)
  • Method Details

    • open

      public void open() throws Exception
      Specified by:
      open in interface org.apache.flink.streaming.api.operators.StreamOperator<OUT>
      Overrides:
      open in class org.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
      Throws:
      Exception
    • useSplittableTimers

      public boolean useSplittableTimers()
      Overrides:
      useSplittableTimers in class org.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
    • computeMemorySize

      public long computeMemorySize()
      Compute memory size from memory faction.
    • processWatermark

      public void processWatermark(org.apache.flink.streaming.api.watermark.Watermark mark) throws Exception
      Overrides:
      processWatermark in class org.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
      Throws:
      Exception