abstract class CoProcessFunctionInterceptor[IN1, IN2, OUT] extends CoProcessFunction[IN1, IN2, OUT]
This class wraps underlying CoProcessFunction and add possibility to add additional behaviour before and after processElement1
/processElement2
.
It can be used in tests for some kind of synchronization or in production kind for some additional logging, reports and so on.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CoProcessFunctionInterceptor
- CoProcessFunction
- AbstractRichFunction
- RichFunction
- Function
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CoProcessFunctionInterceptor(underlying: CoProcessFunction[IN1, IN2, OUT])
Type Members
Abstract Value Members
Concrete 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
- def afterProcessElement1(value: IN1): Unit
- Attributes
- protected
- def afterProcessElement2(value: IN2): Unit
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def beforeProcessElement1(value: IN1): Unit
- Attributes
- protected
- def beforeProcessElement2(value: IN2): Unit
- Attributes
- protected
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def close(): Unit
- Definition Classes
- CoProcessFunctionInterceptor → AbstractRichFunction → RichFunction
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getIterationRuntimeContext(): IterationRuntimeContext
- Definition Classes
- AbstractRichFunction → RichFunction
- def getRuntimeContext(): RuntimeContext
- Definition Classes
- AbstractRichFunction → RichFunction
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def onTimer(timestamp: Long, ctx: OnTimerContext, out: Collector[OUT]): Unit
- Definition Classes
- CoProcessFunctionInterceptor → CoProcessFunction
- def open(parameters: Configuration): Unit
- Definition Classes
- CoProcessFunctionInterceptor → AbstractRichFunction → RichFunction
- def open(arg0: OpenContext): Unit
- Definition Classes
- RichFunction
- Annotations
- @throws(classOf[java.lang.Exception])
- final def processElement1(value: IN1, ctx: Context, out: Collector[OUT]): Unit
- Definition Classes
- CoProcessFunctionInterceptor → CoProcessFunction
- final def processElement2(value: IN2, ctx: Context, out: Collector[OUT]): Unit
- Definition Classes
- CoProcessFunctionInterceptor → CoProcessFunction
- def setRuntimeContext(ctx: RuntimeContext): Unit
- Definition Classes
- CoProcessFunctionInterceptor → AbstractRichFunction → RichFunction
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)