| Modifier and Type | Field and Description |
|---|---|
| pack-priv byte[][] |
| Access | Constructor and Description |
|---|---|
| public | ByteArrayRow(byte[][] internalRowData, ExceptionInterceptor exceptionInterceptor, ValueDecoder valueDecoder)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 byte array. |
| public boolean | |
| public void | setBytes(int
index of the column (starting at 0) to set to. index, byte[] the (raw) value to set value)Overrides default com. Sets the given byte array as a raw column value (only works currently with ByteArrayRow). |
| internalRowData | back to summary |
|---|---|
| pack-priv byte[][] internalRowData | |
| ByteArrayRow | back to summary |
|---|---|
| public ByteArrayRow(byte[][] internalRowData, ExceptionInterceptor exceptionInterceptor, ValueDecoder valueDecoder) | |
| ByteArrayRow | back to summary |
|---|---|
| public ByteArrayRow(byte[][] internalRowData, ExceptionInterceptor exceptionInterceptor) | |
| 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 byte array. Delegate to superclass for decoding.
| |
| isBinaryEncoded | back to summary |
|---|---|
| public boolean isBinaryEncoded() Overrides default com.
| |
| setBytes | back to summary |
|---|---|
| public void setBytes(int index, byte[] value) Overrides default com. Doc from com. Sets the given byte array as a raw column value (only works currently with ByteArrayRow).
| |