trait CodecInlet[T] extends Inlet
A handle to read and deserialize data into elements of type T
.
- Alphabetic
- By Inheritance
- CodecInlet
- Inlet
- StreamletPort
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
codec: Codec[T]
The codec is used to deserialize the data that is read from the inlet.
-
abstract
val
errorHandler: (Array[Byte], Throwable) ⇒ Option[T]
handle marshalling errors
-
abstract
def
hasUniqueGroupId: Boolean
Returns true when this inlet has a unique group Id, so that the inlet will receive data from all partitions.
Returns true when this inlet has a unique group Id, so that the inlet will receive data from all partitions. This is useful for when you scale a streamlet, and you want all the streamlet instances to receive all the data. If no unique group Id is set (which is the default), streamlet instances will each receive part of the data (on this inlet).
-
abstract
def
name: String
- Definition Classes
- StreamletPort
-
abstract
def
schemaAsString: String
Describes the schema used to deserialize the data.
-
abstract
def
schemaDefinition: SchemaDefinition
- Definition Classes
- StreamletPort
-
abstract
def
withErrorHandler(f: (Array[Byte], Throwable) ⇒ Option[T]): CodecInlet[T]
Sets a value for error handler for potential data unmarshalling errors If no error handler is specified, defaults to logging error and skipping record.
-
abstract
def
withUniqueGroupId: CodecInlet[T]
Sets a unique group Id so that the inlet will receive data from all partitions.
Sets a unique group Id so that the inlet will receive data from all partitions. This is useful for when you scale a streamlet, and you want all the streamlet instances to receive all the data. If no unique group Id is set (which is the default), streamlet instances will each receive part of the data (on this inlet).
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @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
-
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
- @throws( ... ) @native()