| Access | Constructor and Description |
|---|---|
| public | TextBufferRow(NativePacketPayload buf, ColumnDefinition cd, ExceptionInterceptor exceptionInterceptor, ValueDecoder valueDecoder)
|
| Modifier and Type | Method and Description |
|---|---|
| protected int | findAndSeekToOffset(int index)
Implements abstract com.
|
| public byte[] | getBytes(int
index of column (starting at 0) to return from. index)Overrides default com. Returns the value at the given column as a byte array. |
| public boolean | getNull(int
of the column value (starting at 0) to check. columnIndex)Implements com. Check whether a column is NULL and update the 'wasNull' status. |
| public <T> T | getValue(int
index of column to retrieve value from (0-indexed, not JDBC 1-indexed) columnIndex, ValueFactory<T> value factory used to create the return value after decoding vf)Implements com. Implementation of getValue() based on the underlying Buffer object. |
| public Row | setMetadata(ColumnDefinition f)
Overrides com. Overrides default com. Set metadata to enable getValue functionality. |
| TextBufferRow | back to summary |
|---|---|
| public TextBufferRow(NativePacketPayload buf, ColumnDefinition cd, ExceptionInterceptor exceptionInterceptor, ValueDecoder valueDecoder) | |
| findAndSeekToOffset | back to summary |
|---|---|
| protected int findAndSeekToOffset(int index) Implements abstract com.
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes(int index) Overrides default com. Doc from com. Returns the value at the given column as a byte array. The bytes represent the raw values returned by the server.
| |
| getNull | back to summary |
|---|---|
| public boolean getNull(int columnIndex) Implements com. Doc from com. Check whether a column is NULL and update the 'wasNull' status.
| |
| getValue | back to summary |
|---|---|
| public <T> T getValue(int columnIndex, ValueFactory<T> vf) Implements com. Implementation of getValue() based on the underlying Buffer object. Delegate to superclass for decoding.
| |
| setMetadata | back to summary |
|---|---|
| public Row setMetadata(ColumnDefinition f) Overrides com. Overrides default com. Doc from com. Set metadata to enable getValue functionality.
| |