public class AtomDeserializer
extends java.lang.Object
Constructor and Description |
---|
AtomDeserializer(CellNameType type,
java.io.DataInput in,
ColumnSerializer.Flag flag,
int expireBefore,
Descriptor.Version version) |
Modifier and Type | Method and Description |
---|---|
int |
compareNextTo(Composite composite)
Compare the provided composite to the next atom to read on disk.
|
boolean |
hasNext()
Whether or not there is more atom to read.
|
boolean |
hasUnprocessed()
Whether or not some atom has been read but not processed (neither readNext() nor
skipNext() has been called for that atom) yet.
|
OnDiskAtom |
readNext()
Returns the next atom.
|
void |
skipNext()
Skips the next atom.
|
public AtomDeserializer(CellNameType type, java.io.DataInput in, ColumnSerializer.Flag flag, int expireBefore, Descriptor.Version version)
public boolean hasNext() throws java.io.IOException
java.io.IOException
public boolean hasUnprocessed() throws java.io.IOException
java.io.IOException
public int compareNextTo(Composite composite) throws java.io.IOException
java.io.IOException
public OnDiskAtom readNext() throws java.io.IOException
java.io.IOException
public void skipNext() throws java.io.IOException
java.io.IOException
Copyright © 2014 The Apache Software Foundation