Class AsyncStateTableStreamOperator<OUT>
java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
org.apache.flink.runtime.asyncprocessing.operators.AbstractAsyncStateStreamOperator<OUT>
org.apache.flink.table.runtime.operators.AsyncStateTableStreamOperator<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>,org.apache.flink.streaming.runtime.operators.asyncprocessing.AsyncStateProcessing,org.apache.flink.streaming.runtime.operators.asyncprocessing.AsyncStateProcessingOperator
- Direct Known Subclasses:
AsyncStateWindowAggOperator,AsyncStateWindowJoinOperator
public abstract class AsyncStateTableStreamOperator<OUT>
extends org.apache.flink.runtime.asyncprocessing.operators.AbstractAsyncStateStreamOperator<OUT>
Table operator to invoke close always. This is a base class for both batch and stream operators
without key.
This class is nearly identical with TableStreamOperator, but extending from AbstractAsyncStateStreamOperator to integrate with asynchronous state access.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classInformation available in an invocation of processElement. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AsyncStateTableStreamOperator<OUT>.ContextImplprotected longWe listen to this ourselves because we don't have anInternalTimerService.Fields inherited from class org.apache.flink.runtime.asyncprocessing.operators.AbstractAsyncStateStreamOperator
declarationManagerFields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperator
combinedWatermark, config, lastRecordAttributes1, lastRecordAttributes2, latencyStats, metrics, output, processingTimeService, stateHandler, stateKeySelector1, stateKeySelector2, timeServiceManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongCompute memory size from memory faction.voidopen()org.apache.flink.streaming.api.watermark.WatermarkpreProcessWatermark(org.apache.flink.streaming.api.watermark.Watermark mark) booleanMethods inherited from class org.apache.flink.runtime.asyncprocessing.operators.AbstractAsyncStateStreamOperator
asyncProcessWithKey, beforeInitializeStateHandler, close, drainStateRequests, finish, getAsyncKeyedStateBackend, getCurrentKey, getDeclarationManager, getElementOrder, getInternalTimerService, getOrCreateKeyedState, getRecordProcessor, isAsyncStateProcessingEnabled, newKeySelected, postProcessElement, postProcessWatermark, prepareSnapshotPreBarrier, preserveRecordOrderAndProcess, processRecordAttributes, processRecordAttributes1, processRecordAttributes2, processWatermark, processWatermark, processWatermark1, processWatermark1Internal, processWatermark2, processWatermark2Internal, processWatermarkInternal, processWatermarkStatus, processWatermarkStatus, reportOrForwardLatencyMarker, setAsyncKeyedContextElement, setKeyContextElement1, setKeyContextElement2Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperator
getContainingTask, getExecutionConfig, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getStateKeySelector1, getStateKeySelector2, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processWatermark1, processWatermark2, processWatermarkStatus1, processWatermarkStatus2, setCurrentKey, setMailboxExecutor, setProcessingTimeService, setup, snapshotState, snapshotStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.api.operators.KeyContextHandler
hasKeyContextMethods inherited from interface org.apache.flink.streaming.api.operators.StreamOperator
getOperatorAttributes
-
Field Details
-
currentWatermark
protected long currentWatermarkWe listen to this ourselves because we don't have anInternalTimerService. -
ctx
-
-
Constructor Details
-
AsyncStateTableStreamOperator
public AsyncStateTableStreamOperator()
-
-
Method Details
-
open
-
useSplittableTimers
public boolean useSplittableTimers()- Overrides:
useSplittableTimersin classorg.apache.flink.streaming.api.operators.AbstractStreamOperator<OUT>
-
computeMemorySize
public long computeMemorySize()Compute memory size from memory faction. -
preProcessWatermark
public org.apache.flink.streaming.api.watermark.Watermark preProcessWatermark(org.apache.flink.streaming.api.watermark.Watermark mark) throws Exception
-