public static class UnfilteredDeserializer.OldFormatDeserializer extends UnfilteredDeserializer
UnfilteredDeserializer.OldFormatDeserializer
helper, in, metadata
Modifier and Type | Method and Description |
---|---|
long |
bytesReadForUnconsumedData()
For the legacy layout deserializer, we have to deal with the fact that a row can span multiple index blocks and that
the call to hasNext() reads the next element upfront.
|
void |
clearState()
Clears any state in this deserializer.
|
int |
compareNextTo(ClusteringBound bound)
Compare the provided bound to the next atom to read on disk.
|
boolean |
hasNext()
Whether or not there is more atom to read.
|
boolean |
nextIsRow()
Returns whether the next atom is a row or not.
|
boolean |
nextIsStatic()
Returns whether the next atom is the static row or not.
|
Unfiltered |
readNext()
Returns the next atom.
|
void |
setSkipStatic() |
void |
skipNext()
Skips the next atom.
|
create
public void setSkipStatic()
public boolean hasNext() throws java.io.IOException
UnfilteredDeserializer
hasNext
in class UnfilteredDeserializer
java.io.IOException
public int compareNextTo(ClusteringBound bound) throws java.io.IOException
UnfilteredDeserializer
compareNextTo
in class UnfilteredDeserializer
java.io.IOException
public boolean nextIsRow() throws java.io.IOException
UnfilteredDeserializer
nextIsRow
in class UnfilteredDeserializer
java.io.IOException
public boolean nextIsStatic() throws java.io.IOException
UnfilteredDeserializer
nextIsStatic
in class UnfilteredDeserializer
java.io.IOException
public Unfiltered readNext() throws java.io.IOException
UnfilteredDeserializer
readNext
in class UnfilteredDeserializer
java.io.IOException
public void skipNext() throws java.io.IOException
UnfilteredDeserializer
skipNext
in class UnfilteredDeserializer
java.io.IOException
public long bytesReadForUnconsumedData()
UnfilteredDeserializer
bytesReadForUnconsumedData
in class UnfilteredDeserializer
public void clearState()
UnfilteredDeserializer
clearState
in class UnfilteredDeserializer
Copyright © 2020 The Apache Software Foundation