public interface DataInputToObjectCollector
DataInput
and emits the object to an emitter.Modifier and Type | Method and Description |
---|---|
void |
collect(DataInputToObjectCollectorContext context)
Reads provided
DataInput and emits an object using the provided emitter. |
void collect(DataInputToObjectCollectorContext context) throws java.io.IOException
DataInput
and emits an object using the provided emitter.context
- contains input and emitterjava.io.IOException
- when the read operation cannot be completed