Class DataInputToObjectCollectorSerializable
java.lang.Object
com.espertech.esper.common.client.dataflow.io.DataInputToObjectCollectorSerializable
- All Implemented Interfaces:
DataInputToObjectCollector
public class DataInputToObjectCollectorSerializable
extends Object
implements DataInputToObjectCollector
Reads a
Serializable
from DataInput
and emits the resulting object.
The input must carry an int-typed number of bytes followed by the serialized object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
collect
(DataInputToObjectCollectorContext context) Reads providedDataInput
and emits an object using the provided emitter.
-
Constructor Details
-
DataInputToObjectCollectorSerializable
public DataInputToObjectCollectorSerializable()
-
-
Method Details
-
collect
Description copied from interface:DataInputToObjectCollector
Reads providedDataInput
and emits an object using the provided emitter.- Specified by:
collect
in interfaceDataInputToObjectCollector
- Parameters:
context
- contains input and emitter- Throws:
IOException
- when the read operation cannot be completed
-