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 IOException
DataInput
and emits an object using the provided emitter.context
- contains input and emitterIOException
- when the read operation cannot be completed