@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface Decoder
The core data block decoder should be as fast as possible, so we push the complexity and
performance expense of concurrently tracking multiple cells to layers above the Decoder
.
The current()
method will return a reference to a the decodable type.
while (scanner.next()) { KeyValue kv = scanner.get(); // do something }
KeyValue current()
boolean advance() throws IOException
current()
will return a valid objectIOException
- if there is an error reading the next entryCopyright © 2014 The Apache Software Foundation. All Rights Reserved.