@PublicEvolving public class StreamProjection<IN> extends Object
DataStream.project(int...)
. This can be used to add more fields to the
projection.Modifier | Constructor and Description |
---|---|
protected |
StreamProjection(DataStream<IN> dataStream,
int[] fieldIndexes) |
Modifier and Type | Method and Description |
---|---|
static TypeInformation<?>[] |
extractFieldTypes(int[] fields,
TypeInformation<?> inType) |
<T0> SingleOutputStreamOperator<Tuple1<T0>> |
projectTuple1()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9> |
projectTuple10()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
projectTuple11()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> |
projectTuple12()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> |
projectTuple13()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> |
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> |
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> |
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> |
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> |
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> |
projectTuple19()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1> SingleOutputStreamOperator<Tuple2<T0,T1>> |
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> |
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> |
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> |
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> |
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> |
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> |
projectTuple25()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2> SingleOutputStreamOperator<Tuple3<T0,T1,T2>> |
projectTuple3()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3> |
projectTuple4()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4> |
projectTuple5()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5> |
projectTuple6()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6> |
projectTuple7()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7> |
projectTuple8()
Projects a
Tuple DataStream to the previously selected fields. |
<T0,T1,T2,T3,T4,T5,T6,T7,T8> |
projectTuple9()
Projects a
Tuple DataStream to the previously selected fields. |
<OUT extends Tuple> |
projectTupleX()
Chooses a projectTupleX according to the length of
fieldIndexes . |
protected StreamProjection(DataStream<IN> dataStream, int[] fieldIndexes)
public <OUT extends Tuple> SingleOutputStreamOperator<OUT> projectTupleX()
fieldIndexes
.ProjectOperator.Projection
public <T0> SingleOutputStreamOperator<Tuple1<T0>> projectTuple1()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1> SingleOutputStreamOperator<Tuple2<T0,T1>> projectTuple2()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2> SingleOutputStreamOperator<Tuple3<T0,T1,T2>> projectTuple3()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3> SingleOutputStreamOperator<Tuple4<T0,T1,T2,T3>> projectTuple4()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4> SingleOutputStreamOperator<Tuple5<T0,T1,T2,T3,T4>> projectTuple5()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5> SingleOutputStreamOperator<Tuple6<T0,T1,T2,T3,T4,T5>> projectTuple6()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6> SingleOutputStreamOperator<Tuple7<T0,T1,T2,T3,T4,T5,T6>> projectTuple7()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7> SingleOutputStreamOperator<Tuple8<T0,T1,T2,T3,T4,T5,T6,T7>> projectTuple8()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8> SingleOutputStreamOperator<Tuple9<T0,T1,T2,T3,T4,T5,T6,T7,T8>> projectTuple9()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9> SingleOutputStreamOperator<Tuple10<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>> projectTuple10()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> SingleOutputStreamOperator<Tuple11<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>> projectTuple11()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11> SingleOutputStreamOperator<Tuple12<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>> projectTuple12()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> SingleOutputStreamOperator<Tuple13<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>> projectTuple13()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> SingleOutputStreamOperator<Tuple14<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>> projectTuple14()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> SingleOutputStreamOperator<Tuple15<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>> projectTuple15()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> SingleOutputStreamOperator<Tuple16<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>> projectTuple16()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> SingleOutputStreamOperator<Tuple17<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>> projectTuple17()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17> SingleOutputStreamOperator<Tuple18<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>> projectTuple18()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18> SingleOutputStreamOperator<Tuple19<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>> projectTuple19()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19> SingleOutputStreamOperator<Tuple20<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>> projectTuple20()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20> SingleOutputStreamOperator<Tuple21<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>> projectTuple21()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21> SingleOutputStreamOperator<Tuple22<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>> projectTuple22()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22> SingleOutputStreamOperator<Tuple23<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>> projectTuple23()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23> SingleOutputStreamOperator<Tuple24<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23>> projectTuple24()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public <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> SingleOutputStreamOperator<Tuple25<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>> projectTuple25()
Tuple
DataStream
to the previously selected fields.Tuple
,
DataStream
public static TypeInformation<?>[] extractFieldTypes(int[] fields, TypeInformation<?> inType)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.