Uses of Class
org.apache.flink.streaming.runtime.streamrecord.StreamRecord
-
Packages that use StreamRecord Package Description org.apache.flink.streaming.api.functions.query org.apache.flink.streaming.api.functions.source org.apache.flink.streaming.api.operators org.apache.flink.streaming.api.operators.async org.apache.flink.streaming.api.operators.co org.apache.flink.streaming.runtime.io org.apache.flink.streaming.runtime.operators This package contains the operators that perform the stream transformations.org.apache.flink.streaming.runtime.operators.windowing This package contains the operators that implement the various window operations on data streams.org.apache.flink.streaming.runtime.partitioner org.apache.flink.streaming.runtime.streamrecord org.apache.flink.streaming.runtime.tasks This package contains classes that realize streaming tasks.org.apache.flink.streaming.runtime.translators -
-
Uses of StreamRecord in org.apache.flink.streaming.api.functions.query
Methods in org.apache.flink.streaming.api.functions.query with parameters of type StreamRecord Modifier and Type Method Description voidQueryableAppendingStateOperator. processElement(StreamRecord<IN> element)voidQueryableValueStateOperator. processElement(StreamRecord<IN> element) -
Uses of StreamRecord in org.apache.flink.streaming.api.functions.source
Methods in org.apache.flink.streaming.api.functions.source with parameters of type StreamRecord Modifier and Type Method Description voidContinuousFileReaderOperator. processElement(StreamRecord<T> element) -
Uses of StreamRecord in org.apache.flink.streaming.api.operators
Fields in org.apache.flink.streaming.api.operators with type parameters of type StreamRecord Modifier and Type Field Description protected Output<StreamRecord<OUT>>AbstractInput. outputprotected Output<StreamRecord<OUT>>AbstractStreamOperator. outputprotected Output<StreamRecord<OUT>>AbstractStreamOperatorV2. outputMethods in org.apache.flink.streaming.api.operators that return types with arguments of type StreamRecord Modifier and Type Method Description Output<StreamRecord<OUT>>StreamOperatorParameters. getOutput()Methods in org.apache.flink.streaming.api.operators with parameters of type StreamRecord Modifier and Type Method Description voidCountingOutput. collect(StreamRecord<OUT> record)<X> voidCountingOutput. collect(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record)<X> voidOutput. collect(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record)Emits a record to the side output identified by the givenOutputTag.<X> voidTimestampedCollector. collect(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record)protected <T> voidAbstractStreamOperatorV2. internalSetKeyContextElement(StreamRecord<T> record, org.apache.flink.api.java.functions.KeySelector<T,?> selector)voidBatchGroupedReduceOperator. processElement(StreamRecord<IN> element)voidInput. processElement(StreamRecord<IN> element)Processes one element that arrived on this input of theMultipleInputStreamOperator.voidKeyedProcessOperator. processElement(StreamRecord<IN> element)voidLegacyKeyedProcessOperator. processElement(StreamRecord<IN> element)Deprecated.voidProcessOperator. processElement(StreamRecord<IN> element)voidStreamFilter. processElement(StreamRecord<IN> element)voidStreamFlatMap. processElement(StreamRecord<IN> element)voidStreamGroupedReduceOperator. processElement(StreamRecord<IN> element)voidStreamMap. processElement(StreamRecord<IN> element)voidStreamProject. processElement(StreamRecord<IN> element)voidStreamSink. processElement(StreamRecord<IN> element)voidTwoInputStreamOperator. processElement1(StreamRecord<IN1> element)Processes one element that arrived on the first input of this two-input operator.voidTwoInputStreamOperator. processElement2(StreamRecord<IN2> element)Processes one element that arrived on the second input of this two-input operator.voidAbstractInput. setKeyContextElement(StreamRecord record)voidInput. setKeyContextElement(StreamRecord<IN> record)Set the correct key context before processing therecord.default voidOneInputStreamOperator. setKeyContextElement(StreamRecord<IN> record)voidAbstractStreamOperator. setKeyContextElement1(StreamRecord record)voidAbstractStreamOperatorV2. setKeyContextElement1(StreamRecord<?> record)voidStreamOperator. setKeyContextElement1(StreamRecord<?> record)voidAbstractStreamOperator. setKeyContextElement2(StreamRecord record)voidAbstractStreamOperatorV2. setKeyContextElement2(StreamRecord<?> record)voidStreamOperator. setKeyContextElement2(StreamRecord<?> record)voidTimestampedCollector. setTimestamp(StreamRecord<?> timestampBase)Method parameters in org.apache.flink.streaming.api.operators with type arguments of type StreamRecord Modifier and Type Method Description static <OUT,OP extends StreamOperator<OUT>>
org.apache.flink.api.java.tuple.Tuple2<OP,Optional<ProcessingTimeService>>StreamOperatorFactoryUtil. createOperator(StreamOperatorFactory<OUT> operatorFactory, StreamTask<OUT,?> containingTask, StreamConfig configuration, Output<StreamRecord<OUT>> output, org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher operatorEventDispatcher)Creates a new operator using a factory and makes sure that all special factory traits are properly handled.static <OUT> SourceFunction.SourceContext<OUT>StreamSourceContexts. getSourceContext(TimeCharacteristic timeCharacteristic, ProcessingTimeService processingTimeService, Object checkpointLock, Output<StreamRecord<OUT>> output, long watermarkInterval, long idleTimeout, boolean emitProgressiveWatermarks)Deprecated.Depending on theTimeCharacteristic, this method will return the adequateSourceFunction.SourceContext.voidStreamSource. run(Object lockingObject, Output<StreamRecord<OUT>> collector, OperatorChain<?,?> operatorChain)Deprecated.voidAbstractStreamOperator. setup(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output)voidAbstractUdfStreamOperator. setup(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output)voidSetupableStreamOperator. setup(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output)Deprecated.Initializes the operator.voidSourceOperator. setup(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output)Constructor parameters in org.apache.flink.streaming.api.operators with type arguments of type StreamRecord Constructor Description CountingOutput(WatermarkGaugeExposingOutput<StreamRecord<OUT>> output, org.apache.flink.metrics.Counter numRecordsOut)StreamOperatorParameters(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output, Supplier<ProcessingTimeService> processingTimeServiceFactory, org.apache.flink.runtime.operators.coordination.OperatorEventDispatcher operatorEventDispatcher)TimestampedCollector(Output<StreamRecord<T>> output)Creates a newTimestampedCollectorthat wraps the givenOutput. -
Uses of StreamRecord in org.apache.flink.streaming.api.operators.async
Methods in org.apache.flink.streaming.api.operators.async with parameters of type StreamRecord Modifier and Type Method Description voidAsyncWaitOperator. processElement(StreamRecord<IN> record)Method parameters in org.apache.flink.streaming.api.operators.async with type arguments of type StreamRecord Modifier and Type Method Description voidAsyncWaitOperator. setup(StreamTask<?,?> containingTask, StreamConfig config, Output<StreamRecord<OUT>> output) -
Uses of StreamRecord in org.apache.flink.streaming.api.operators.co
Methods in org.apache.flink.streaming.api.operators.co with parameters of type StreamRecord Modifier and Type Method Description voidBatchCoBroadcastWithKeyedOperator. processElement1(StreamRecord<IN1> element)voidBatchCoBroadcastWithNonKeyedOperator. processElement1(StreamRecord<IN1> element)voidCoBroadcastWithKeyedOperator. processElement1(StreamRecord<IN1> element)voidCoBroadcastWithNonKeyedOperator. processElement1(StreamRecord<IN1> element)voidCoProcessOperator. processElement1(StreamRecord<IN1> element)voidCoStreamFlatMap. processElement1(StreamRecord<IN1> element)voidCoStreamMap. processElement1(StreamRecord<IN1> element)voidIntervalJoinOperator. processElement1(StreamRecord<T1> record)Process aStreamRecordfrom the left stream.voidKeyedCoProcessOperator. processElement1(StreamRecord<IN1> element)voidLegacyKeyedCoProcessOperator. processElement1(StreamRecord<IN1> element)Deprecated.voidCoBroadcastWithKeyedOperator. processElement2(StreamRecord<IN2> element)voidCoBroadcastWithNonKeyedOperator. processElement2(StreamRecord<IN2> element)voidCoProcessOperator. processElement2(StreamRecord<IN2> element)voidCoStreamFlatMap. processElement2(StreamRecord<IN2> element)voidCoStreamMap. processElement2(StreamRecord<IN2> element)voidIntervalJoinOperator. processElement2(StreamRecord<T2> record)Process aStreamRecordfrom the right stream.voidKeyedCoProcessOperator. processElement2(StreamRecord<IN2> element)voidLegacyKeyedCoProcessOperator. processElement2(StreamRecord<IN2> element)Deprecated. -
Uses of StreamRecord in org.apache.flink.streaming.runtime.io
Methods in org.apache.flink.streaming.runtime.io that return types with arguments of type StreamRecord Modifier and Type Method Description static <T> org.apache.flink.util.function.ThrowingConsumer<StreamRecord<T>,Exception>RecordProcessorUtils. getRecordProcessor(Input<T> input)Get record processor forInput, which will omit call ofInput.setKeyContextElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<IN>)if it doesn't have key context.static <T> org.apache.flink.util.function.ThrowingConsumer<StreamRecord<T>,Exception>RecordProcessorUtils. getRecordProcessor1(TwoInputStreamOperator<T,?,?> operator)Get record processor for the first input ofTwoInputStreamOperator, which will omit call ofStreamOperator.setKeyContextElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<?>)if it doesn't have key context.static <T> org.apache.flink.util.function.ThrowingConsumer<StreamRecord<T>,Exception>RecordProcessorUtils. getRecordProcessor2(TwoInputStreamOperator<?,T,?> operator)Get record processor for the second input ofTwoInputStreamOperator, which will omit call ofStreamOperator.setKeyContextElement2(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<?>)if it doesn't have key context.Methods in org.apache.flink.streaming.runtime.io with parameters of type StreamRecord Modifier and Type Method Description voidRecordWriterOutput. collect(StreamRecord<OUT> record)<X> voidRecordWriterOutput. collect(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record)booleanRecordWriterOutput. collectAndCheckIfChained(StreamRecord<OUT> record)<X> booleanRecordWriterOutput. collectAndCheckIfChained(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record)voidFinishedDataOutput. emitRecord(StreamRecord<IN> streamRecord)voidPushingAsyncDataInput.DataOutput. emitRecord(StreamRecord<T> streamRecord)Constructor parameters in org.apache.flink.streaming.runtime.io with type arguments of type StreamRecord Constructor Description RecordWriterOutput(org.apache.flink.runtime.io.network.api.writer.RecordWriter<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<OUT>>> recordWriter, org.apache.flink.api.common.typeutils.TypeSerializer<OUT> outSerializer, org.apache.flink.util.OutputTag outputTag, boolean supportsUnalignedCheckpoints) -
Uses of StreamRecord in org.apache.flink.streaming.runtime.operators
Methods in org.apache.flink.streaming.runtime.operators with parameters of type StreamRecord Modifier and Type Method Description voidGenericWriteAheadSink. processElement(StreamRecord<IN> element)voidTimestampsAndWatermarksOperator. processElement(StreamRecord<T> element) -
Uses of StreamRecord in org.apache.flink.streaming.runtime.operators.windowing
Methods in org.apache.flink.streaming.runtime.operators.windowing that return StreamRecord Modifier and Type Method Description StreamRecord<T>TimestampedValue. getStreamRecord()Creates aStreamRecordfrom this TimestampedValue.Methods in org.apache.flink.streaming.runtime.operators.windowing with parameters of type StreamRecord Modifier and Type Method Description static <T> TimestampedValue<T>TimestampedValue. from(StreamRecord<T> streamRecord)Creates a TimestampedValue from givenStreamRecord.protected booleanWindowOperator. isElementLate(StreamRecord<IN> element)Decide if a record is currently late, based on current watermark and allowed lateness.TriggerResultWindowOperator.Context. onElement(StreamRecord<IN> element)voidEvictingWindowOperator. processElement(StreamRecord<IN> element)voidWindowOperator. processElement(StreamRecord<IN> element)protected voidWindowOperator. sideOutput(StreamRecord<IN> element)Write skipped late arriving element to SideOutput.Constructor parameters in org.apache.flink.streaming.runtime.operators.windowing with type arguments of type StreamRecord Constructor Description EvictingWindowOperator(WindowAssigner<? super IN,W> windowAssigner, org.apache.flink.api.common.typeutils.TypeSerializer<W> windowSerializer, org.apache.flink.api.java.functions.KeySelector<IN,K> keySelector, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.state.StateDescriptor<? extends org.apache.flink.api.common.state.ListState<StreamRecord<IN>>,?> windowStateDescriptor, InternalWindowFunction<Iterable<IN>,OUT,K,W> windowFunction, Trigger<? super IN,? super W> trigger, Evictor<? super IN,? super W> evictor, long allowedLateness, org.apache.flink.util.OutputTag<IN> lateDataOutputTag) -
Uses of StreamRecord in org.apache.flink.streaming.runtime.partitioner
Method parameters in org.apache.flink.streaming.runtime.partitioner with type arguments of type StreamRecord Modifier and Type Method Description intBroadcastPartitioner. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)Note: Broadcast mode could be handled directly for all the output channels in record writer, so it is no need to select channels via this method.intCustomPartitionerWrapper. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)intForwardForConsecutiveHashPartitioner. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)intForwardForUnspecifiedPartitioner. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)intForwardPartitioner. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)intGlobalPartitioner. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)intKeyGroupStreamPartitioner. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)intRebalancePartitioner. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)intRescalePartitioner. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record)intShufflePartitioner. selectChannel(org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<T>> record) -
Uses of StreamRecord in org.apache.flink.streaming.runtime.streamrecord
Methods in org.apache.flink.streaming.runtime.streamrecord that return StreamRecord Modifier and Type Method Description <E> StreamRecord<E>StreamElement. asRecord()Casts this element into a StreamRecord.StreamRecord<T>StreamRecord. copy(T valueCopy)Creates a copy of this stream record.StreamRecord<T>StreamElementSerializer. createInstance()<X> StreamRecord<X>StreamRecord. replace(X element)Replace the currently stored value by the given new value.<X> StreamRecord<X>StreamRecord. replace(X value, long timestamp)Replace the currently stored value by the given new value and the currently stored timestamp with the new timestamp.Methods in org.apache.flink.streaming.runtime.streamrecord with parameters of type StreamRecord Modifier and Type Method Description voidStreamRecord. copyTo(T valueCopy, StreamRecord<T> target)Copies this record into the new stream record. -
Uses of StreamRecord in org.apache.flink.streaming.runtime.tasks
Fields in org.apache.flink.streaming.runtime.tasks with type parameters of type StreamRecord Modifier and Type Field Description protected WatermarkGaugeExposingOutput<StreamRecord<OUT>>OperatorChain. mainOperatorOutputprotected org.apache.flink.runtime.io.network.api.writer.RecordWriterDelegate<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<OUT>>>StreamTask. recordWriterMethods in org.apache.flink.streaming.runtime.tasks that return types with arguments of type StreamRecord Modifier and Type Method Description static <OUT> org.apache.flink.runtime.io.network.api.writer.RecordWriterDelegate<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<OUT>>>StreamTask. createRecordWriterDelegate(StreamConfig configuration, org.apache.flink.runtime.execution.Environment environment)List<Output<StreamRecord<?>>>OperatorChain. getChainedSourceOutputs()WatermarkGaugeExposingOutput<StreamRecord<OUT>>FinishedOperatorChain. getMainOperatorOutput()WatermarkGaugeExposingOutput<StreamRecord<OUT>>OperatorChain. getMainOperatorOutput()WatermarkGaugeExposingOutput<StreamRecord<?>>OperatorChain.ChainedSource. getSourceOutput()Methods in org.apache.flink.streaming.runtime.tasks with parameters of type StreamRecord Modifier and Type Method Description <X> voidFinishedOnRestoreMainOperatorOutput. collect(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record)<X> booleanOutputWithChainingCheck. collectAndCheckIfChained(org.apache.flink.util.OutputTag<X> outputTag, StreamRecord<X> record)voidSourceOperatorStreamTask.AsyncDataOutputToOutput. emitRecord(StreamRecord<T> streamRecord)voidFinishedOnRestoreInput. processElement(StreamRecord<IN> element)voidFinishedOnRestoreInput. setKeyContextElement(StreamRecord<IN> record)Constructor parameters in org.apache.flink.streaming.runtime.tasks with type arguments of type StreamRecord Constructor Description AsyncDataOutputToOutput(Output<StreamRecord<T>> output, org.apache.flink.runtime.metrics.groups.InternalSourceReaderMetricGroup metricGroup, WatermarkGauge inputWatermarkGauge)ChainedSource(WatermarkGaugeExposingOutput<StreamRecord<?>> chainedSourceOutput, StreamTaskSourceInput<?> sourceTaskInput)FinishedOperatorChain(StreamTask<OUT,OP> containingTask, org.apache.flink.runtime.io.network.api.writer.RecordWriterDelegate<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<OUT>>> recordWriterDelegate)OperatorChain(StreamTask<OUT,OP> containingTask, org.apache.flink.runtime.io.network.api.writer.RecordWriterDelegate<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<OUT>>> recordWriterDelegate)RegularOperatorChain(StreamTask<OUT,OP> containingTask, org.apache.flink.runtime.io.network.api.writer.RecordWriterDelegate<org.apache.flink.runtime.plugable.SerializationDelegate<StreamRecord<OUT>>> recordWriterDelegate) -
Uses of StreamRecord in org.apache.flink.streaming.runtime.translators
Methods in org.apache.flink.streaming.runtime.translators with parameters of type StreamRecord Modifier and Type Method Description voidCacheTransformationTranslator.IdentityStreamOperator. processElement(StreamRecord<T> element)voidCacheTransformationTranslator.NoOpStreamOperator. processElement(StreamRecord<T> element)
-