class OnConnectedStream[IN1, IN2] extends AnyRef
Wraps a connected data stream, allowing to use anonymous partial functions to perform extraction of items in a tuple, case class instance or collection
- IN1
The type of the data stream items coming from the first connection
- IN2
The type of the data stream items coming from the second connection
- Alphabetic
- By Inheritance
- OnConnectedStream
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
OnConnectedStream(stream: ConnectedStreams[IN1, IN2])
- stream
The wrapped data stream
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
flatMapWith[R](flatMap1: (IN1) ⇒ TraversableOnce[R], flatMap2: (IN2) ⇒ TraversableOnce[R])(implicit arg0: TypeInformation[R]): DataStream[R]
Applies a CoFlatMap transformation on the connected streams.
Applies a CoFlatMap transformation on the connected streams.
The transformation consists of two separate functions, where the first one is called for each element of the first connected stream, and the second one is called for each element of the second connected stream.
- flatMap1
Function called per element of the first input.
- flatMap2
Function called per element of the second input.
- returns
The resulting data stream.
- Annotations
- @PublicEvolving()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
keyingBy[KEY](key1: (IN1) ⇒ KEY, key2: (IN2) ⇒ KEY)(implicit arg0: TypeInformation[KEY]): ConnectedStreams[IN1, IN2]
Keys the two connected streams together.
Keys the two connected streams together. After this operation, all elements with the same key from both streams will be sent to the same parallel instance of the transformation functions.
- key1
The first stream's key function
- key2
The second stream's key function
- returns
The key-grouped connected streams
- Annotations
- @PublicEvolving()
-
def
mapWith[R](map1: (IN1) ⇒ R, map2: (IN2) ⇒ R)(implicit arg0: TypeInformation[R]): DataStream[R]
Applies a CoMap transformation on the connected streams.
Applies a CoMap transformation on the connected streams.
The transformation consists of two separate functions, where the first one is called for each element of the first connected stream, and the second one is called for each element of the second connected stream.
- map1
Function called per element of the first input.
- map2
Function called per element of the second input.
- returns
The resulting data stream.
- Annotations
- @PublicEvolving()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated