public interface Decoder<T>
Modifier and Type | Method and Description |
---|---|
void |
clearValue()
Resets this reader to the state in which no reads have been called.
|
java.lang.Class<T> |
getContentClass()
Class of object that is read from column data.
|
T |
getValue()
Returns the value that has been read into this reader.
|
void |
readItem(ColumnReader crdr)
Reads a primitive value from the supplied column reader into
this decoder's current value.
|
void |
readNull()
Reads a null value into this decoder's current value.
|
java.lang.Class<T> getContentClass()
void readItem(ColumnReader crdr)
crdr
- column reader with a primitive value ready to readvoid readNull()
void clearValue()
T getValue()
readItem
and
readNull()
calls since the last call to clearValue()
(in the case of a scalar value, there will only have been one
such call).