| Package | Description |
|---|---|
| org.apache.flink.streaming.api.datastream | |
| org.apache.flink.streaming.api.datastream.temporal |
| Modifier and Type | Class and Description |
|---|---|
class |
SingleOutputStreamOperator<OUT,O extends SingleOutputStreamOperator<OUT,O>>
The SingleOutputStreamOperator represents a user defined transformation
applied on a
DataStream with one predefined output type. |
| Modifier and Type | Class and Description |
|---|---|
class |
DataStreamSink<IN>
Represents the end of a DataStream.
|
class |
DataStreamSource<OUT>
The DataStreamSource represents the starting point of a DataStream.
|
class |
IterativeDataStream<IN>
The iterative data stream represents the start of an iteration in a
DataStream. |
| Modifier and Type | Method and Description |
|---|---|
<OUT> SingleOutputStreamOperator<OUT,?> |
ConnectedDataStream.addGeneralWindowCombine(CoWindowFunction<IN1,IN2,OUT> coWindowFunction,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo,
long windowSize,
long slideInterval,
TimestampWrapper<IN1> timestamp1,
TimestampWrapper<IN2> timestamp2) |
protected SingleOutputStreamOperator<OUT,?> |
GroupedDataStream.aggregate(AggregationFunction<OUT> aggregate) |
protected SingleOutputStreamOperator<OUT,?> |
DataStream.aggregate(AggregationFunction<OUT> aggregate) |
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.broadcast() |
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.copy() |
SingleOutputStreamOperator<Long,?> |
DataStream.count()
Creates a new DataStream containing the current number (count) of
received records.
|
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.disableChaining()
Turns off chaining for this operator so thread co-location will not be
used as an optimization.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.filter(org.apache.flink.api.common.functions.FilterFunction<OUT> filter)
Applies a Filter transformation on a
DataStream. |
<OUT> SingleOutputStreamOperator<OUT,?> |
ConnectedDataStream.flatMap(CoFlatMapFunction<IN1,IN2,OUT> coFlatMapper)
Applies a CoFlatMap transformation on a
ConnectedDataStream and
maps the output to a common type. |
<R> SingleOutputStreamOperator<R,?> |
DataStream.flatMap(org.apache.flink.api.common.functions.FlatMapFunction<OUT,R> flatMapper)
Applies a FlatMap transformation on a
DataStream. |
<R> SingleOutputStreamOperator<R,?> |
GroupedDataStream.fold(R initialValue,
org.apache.flink.api.common.functions.FoldFunction<OUT,R> folder)
Applies a fold transformation on the grouped data stream grouped on by
the given key position.
|
<R> SingleOutputStreamOperator<R,?> |
DataStream.fold(R initialValue,
org.apache.flink.api.common.functions.FoldFunction<OUT,R> folder)
Applies a fold transformation on the data stream.
|
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.forward() |
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.global() |
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.isolateResources()
Isolates the operator in its own resource group.
|
<OUT> SingleOutputStreamOperator<OUT,?> |
ConnectedDataStream.map(CoMapFunction<IN1,IN2,OUT> coMapper)
Applies a CoMap transformation on a
ConnectedDataStream and maps
the output to a common type. |
<R> SingleOutputStreamOperator<R,?> |
DataStream.map(org.apache.flink.api.common.functions.MapFunction<OUT,R> mapper)
Applies a Map transformation on a
DataStream. |
SingleOutputStreamOperator<OUT,?> |
GroupedDataStream.max(int positionToMax)
Applies an aggregation that gives the maximum of the grouped data stream
at the given position, grouped by the given key position.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.max(int positionToMax)
Applies an aggregation that gives the current maximum of the data stream
at the given position.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.max(String field)
Applies an aggregation that that gives the current maximum of the pojo
data stream at the given field expression.
|
SingleOutputStreamOperator<OUT,?> |
GroupedDataStream.maxBy(int positionToMaxBy)
Applies an aggregation that that gives the current element with the
maximum value at the given position for each group on a grouped data
stream.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.maxBy(int positionToMaxBy)
Applies an aggregation that that gives the current element with the
maximum value at the given position, if more elements have the maximum
value at the given position, the operator returns the first one by
default.
|
SingleOutputStreamOperator<OUT,?> |
GroupedDataStream.maxBy(int positionToMaxBy,
boolean first)
Applies an aggregation that that gives the current element with the
maximum value at the given position for each group on a grouped data
stream.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.maxBy(int positionToMaxBy,
boolean first)
Applies an aggregation that that gives the current element with the
maximum value at the given position, if more elements have the maximum
value at the given position, the operator returns either the first or
last one, depending on the parameter set.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.maxBy(String positionToMaxBy)
Applies an aggregation that that gives the current element with the
maximum value at the given position, if more elements have the maximum
value at the given position, the operator returns the first one by
default.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.maxBy(String field,
boolean first)
Applies an aggregation that that gives the current maximum element of the
pojo data stream by the given field expression.
|
SingleOutputStreamOperator<OUT,?> |
GroupedDataStream.min(int positionToMin)
Applies an aggregation that gives the minimum of the grouped data stream
at the given position, grouped by the given key position.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.min(int positionToMin)
Applies an aggregation that that gives the current minimum of the data
stream at the given position.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.min(String field)
Applies an aggregation that that gives the current minimum of the pojo
data stream at the given field expression.
|
SingleOutputStreamOperator<OUT,?> |
GroupedDataStream.minBy(int positionToMinBy)
Applies an aggregation that that gives the current element with the
minimum value at the given position for each group on a grouped data
stream.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.minBy(int positionToMinBy)
Applies an aggregation that that gives the current element with the
minimum value at the given position, if more elements have the minimum
value at the given position, the operator returns the first one by
default.
|
SingleOutputStreamOperator<OUT,?> |
GroupedDataStream.minBy(int positionToMinBy,
boolean first)
Applies an aggregation that that gives the current element with the
minimum value at the given position for each group on a grouped data
stream.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.minBy(int positionToMinBy,
boolean first)
Applies an aggregation that that gives the current element with the
minimum value at the given position, if more elements have the minimum
value at the given position, the operator returns either the first or
last one, depending on the parameter set.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.minBy(String positionToMinBy)
Applies an aggregation that that gives the current element with the
minimum value at the given position, if more elements have the minimum
value at the given position, the operator returns the first one by
default.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.minBy(String field,
boolean first)
Applies an aggregation that that gives the current minimum element of the
pojo data stream by the given field expression.
|
<R extends org.apache.flink.api.java.tuple.Tuple> |
DataStream.project(int... fieldIndexes)
Initiates a Project transformation on a
Tuple DataStream.Note: Only Tuple DataStreams can be projected. The transformation projects each Tuple of the DataSet onto a (sub)set of fields. |
<T0> SingleOutputStreamOperator<org.apache.flink.api.java.tuple.Tuple1<T0>,?> |
StreamProjection.projectTuple1()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9> |
StreamProjection.projectTuple10()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
StreamProjection.projectTuple11()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> |
StreamProjection.projectTuple12()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> |
StreamProjection.projectTuple13()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> |
StreamProjection.projectTuple14()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> |
StreamProjection.projectTuple15()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> |
StreamProjection.projectTuple16()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> |
StreamProjection.projectTuple17()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> |
StreamProjection.projectTuple18()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> |
StreamProjection.projectTuple19()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1> SingleOutputStreamOperator<org.apache.flink.api.java.tuple.Tuple2<T0,T1>,?> |
StreamProjection.projectTuple2()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> |
StreamProjection.projectTuple20()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> |
StreamProjection.projectTuple21()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> |
StreamProjection.projectTuple22()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> |
StreamProjection.projectTuple23()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23> |
StreamProjection.projectTuple24()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24> |
StreamProjection.projectTuple25()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2> SingleOutputStreamOperator<org.apache.flink.api.java.tuple.Tuple3<T0,T1,T2>,?> |
StreamProjection.projectTuple3()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3> |
StreamProjection.projectTuple4()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4> |
StreamProjection.projectTuple5()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5> |
StreamProjection.projectTuple6()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6> |
StreamProjection.projectTuple7()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7> |
StreamProjection.projectTuple8()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8> |
StreamProjection.projectTuple9()
Projects a
Tuple DataStream to the previously selected fields. |
<OUT extends org.apache.flink.api.java.tuple.Tuple> |
StreamProjection.projectTupleX()
Chooses a projectTupleX according to the length of
StreamProjection.fieldIndexes |
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.rebalance() |
<OUT> SingleOutputStreamOperator<OUT,?> |
ConnectedDataStream.reduce(CoReduceFunction<IN1,IN2,OUT> coReducer)
Applies a reduce transformation on a
ConnectedDataStream and maps
the outputs to a common type. |
SingleOutputStreamOperator<OUT,?> |
GroupedDataStream.reduce(org.apache.flink.api.common.functions.ReduceFunction<OUT> reducer)
Applies a reduce transformation on the grouped data stream grouped on by
the given key position.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.reduce(org.apache.flink.api.common.functions.ReduceFunction<OUT> reducer)
Applies a reduce transformation on the data stream.
|
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.setBufferTimeout(long timeoutMillis)
Sets the maximum time frequency (ms) for the flushing of the output
buffer.
|
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.setParallelism(int parallelism)
Sets the parallelism for this operator.
|
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.shuffle() |
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.startNewChain()
Starts a new task chain beginning at this operator.
|
SingleOutputStreamOperator<OUT,O> |
SingleOutputStreamOperator.startNewResourceGroup()
By default all operators in a streaming job share the same resource
group.
|
SingleOutputStreamOperator<OUT,?> |
GroupedDataStream.sum(int positionToSum)
Applies an aggregation that sums the grouped data stream at the given
position, grouped by the given key position.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.sum(int positionToSum)
Applies an aggregation that sums the data stream at the given position.
|
SingleOutputStreamOperator<OUT,?> |
DataStream.sum(String field)
Applies an aggregation that that gives the current sum of the pojo data
stream at the given field expression.
|
<OUT> SingleOutputStreamOperator<OUT,?> |
ConnectedDataStream.transform(String functionName,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outTypeInfo,
TwoInputStreamOperator<IN1,IN2,OUT> operator) |
<R> SingleOutputStreamOperator<R,?> |
DataStream.transform(String operatorName,
org.apache.flink.api.common.typeinfo.TypeInformation<R> outTypeInfo,
OneInputStreamOperator<OUT,R> operator)
Method for passing user defined operators along with the type
information that will transform the DataStream.
|
<OUT> SingleOutputStreamOperator<OUT,?> |
ConnectedDataStream.windowReduce(CoWindowFunction<IN1,IN2,OUT> coWindowFunction,
long windowSize,
long slideInterval)
Applies a CoWindow transformation on the connected DataStreams.
|
<OUT> SingleOutputStreamOperator<OUT,?> |
ConnectedDataStream.windowReduce(CoWindowFunction<IN1,IN2,OUT> coWindowFunction,
long windowSize,
long slideInterval,
TimestampWrapper<IN1> timestamp1,
TimestampWrapper<IN2> timestamp2)
Applies a CoWindow transformation on the connected DataStreams.
|
| Constructor and Description |
|---|
DiscretizedStream(SingleOutputStreamOperator<StreamWindow<OUT>,?> discretizedStream,
org.apache.flink.api.java.functions.KeySelector<OUT,?> groupByKey,
WindowUtils.WindowTransformation tranformation,
boolean isPartitioned) |
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamCrossOperator.CrossWindow<I1,I2> |
static class |
StreamJoinOperator.JoinedStream<I1,I2> |
| Modifier and Type | Method and Description |
|---|---|
<R> SingleOutputStreamOperator<R,?> |
StreamCrossOperator.CrossWindow.with(org.apache.flink.api.common.functions.CrossFunction<I1,I2,R> function)
Finalizes a temporal Cross transformation by applying a
CrossFunction to each pair of crossed elements.Each CrossFunction call returns exactly one element. |
<OUT> SingleOutputStreamOperator<OUT,?> |
StreamJoinOperator.JoinedStream.with(org.apache.flink.api.common.functions.JoinFunction<I1,I2,OUT> joinFunction)
Completes a stream join.
|
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.