abstract class Buffer[T <: Serializable] extends AnyRef
A buffer is used in between stages. It is often an external source that stores and queues elements (like Kafka).
- T
Type of this buffer.
- Alphabetic
- By Inheritance
- Buffer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Buffer(pipeline: Pipeline, properties: Properties, relatedStageName: String)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[T])
- pipeline
The pipeline for which we use this Buffer.
- properties
The properties of this buffer.
- relatedStageName
The name of the related stage the buffer is linked to. We need this to for instance set the topic id.
Abstract Value Members
-
abstract
def
getSink: SinkFunction[T]
Get the sink function for this buffer.
Get the sink function for this buffer. A stage writes to this.
- returns
The SinkFunction retrieved from a Buffer.
-
abstract
def
getSource: DataStream[T]
Get the source for this buffer.
Get the source for this buffer. A stage reads from this.
- returns
The DataStream retrieved from a Buffer.
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getProperties: Properties
Returns the properties of this buffer.
-
def
getSerializer: AbstractSerde[T]
Get serializer/deserializer of elements for a buffer.
Get serializer/deserializer of elements for a buffer. Defaults to JSON.
- returns
The configured serializer.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val inputClassType: Class[T]
-
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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- implicit val typeInfo: TypeInformation[T]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )