DataInput
Abstract base class for performing read operations of Lucene's low-level data types.
DataInput may only be used from one thread, because it is not thread safe (it keeps internal state like file position). To allow multithreaded use, every DataInput instance must be cloned before used in another thread. Subclasses must therefore implement .clone, returning a new DataInput which operates on the same underlying resource, but positioned independently.
Inheritors
Functions
Reads a specified number of bytes into an array at the specified offset.
Reads a specified number of bytes into an array at the specified offset with control over whether the read should be buffered (callers who have their own buffer should pass in "false" for useBuffer). Currently only BufferedIndexInput respects this parameter.
Reads a specified number of floats into an array at the specified offset.
Override if you have an efficient implementation. In general this is when the input supports random access.
Reads a Set
Reads a string.