Interface InputKineticStream

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
ByteInputKineticStream, CsvInputKineticStream

public interface InputKineticStream extends AutoCloseable
Interface which needs to be implemented to support deserialization of new types of kinetic streams.

All of them read values from the stream which were previously written there by OutputKineticStream.

Methods for reading arrays are called with the value from the field of the object which is being deserialized. This helps to populate fixed size array fields. Users can populate such arrays directly and then return reference back so that kineticstreamer don't have to allocate new arrays for them.

Each method additionally accepts all field annotations associated with the field, value for which is currently read.