public abstract class AbstractResultsetRow extends java.lang.Object implements ResultsetRow
| Modifier and Type | Field and Description |
|---|---|
protected ExceptionInterceptor |
exceptionInterceptor |
protected ColumnDefinition |
metadata
The metadata of the fields of this result set.
|
protected ValueDecoder |
valueDecoder |
protected boolean |
wasNull
Did the previous value retrieval find a NULL?
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractResultsetRow(ExceptionInterceptor exceptionInterceptor) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
getValueFromBytes(int columnIndex,
byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
Get a value from a byte array.
|
Row |
setMetadata(ColumnDefinition f)
Set metadata to enable getValue functionality.
|
boolean |
wasNull()
Was the last value retrieved a NULL value?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisBinaryEncodedprotected ExceptionInterceptor exceptionInterceptor
protected ColumnDefinition metadata
protected ValueDecoder valueDecoder
protected boolean wasNull
protected AbstractResultsetRow(ExceptionInterceptor exceptionInterceptor)
protected <T> T getValueFromBytes(int columnIndex,
byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
ValueDecoder which uses the value factory create the
return value.T - value typecolumnIndex - The (internal) index of the columnbytes - byte arrayoffset - offset into byte arraylength - length of value in byte arrayvf - value factorypublic Row setMetadata(ColumnDefinition f)
RowsetMetadata in interface Rowf - ColumnDefinitionRow