java.sql.ResultSet .
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final @Nullable byte[][] | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private Tuple | |
| public @NonNegative int | |
| public @Nullable byte[] | Returns: byte array of the data0-based field position in the tuple index)Get the data for the given field |
| public @NonNegative int | |
| public Tuple | Returns: a copy of the tuple that does not allow updatesCreate a read-only copy of the tuple |
| public void | set(@NonNegative int
0-based field position index, @Nullable byte[] the data to set fieldData)Set the given field to the given data. |
| public Tuple | Returns: a copy of the tuple that allows updatesCreate a copy of the tuple for updating. |
| data | back to summary |
|---|---|
| pack-priv final @Nullable byte[][] data | |
| forUpdate | back to summary |
|---|---|
| private final boolean forUpdate | |
| Tuple | back to summary |
|---|---|
| public Tuple(int length) Construct an empty tuple. Used in updatable result sets.
| |
| Tuple | back to summary |
|---|---|
| public Tuple(@Nullable byte[][] data) Construct a populated tuple. Used when returning results.
| |
| Tuple | back to summary |
|---|---|
| private Tuple(@Nullable byte[][] data, boolean forUpdate) | |
| copy | back to summary |
|---|---|
| private Tuple copy(boolean forUpdate) | |
| fieldCount | back to summary |
|---|---|
| public @NonNegative int fieldCount() Number of fields in the tuple
| |
| get | back to summary |
|---|---|
| public @Nullable byte[] get(@NonNegative int index) Get the data for the given field
| |
| length | back to summary |
|---|---|
| public @NonNegative int length() Total length in bytes of the tuple data.
| |
| readOnlyCopy | back to summary |
|---|---|
| public Tuple readOnlyCopy() Create a read-only copy of the tuple
| |
| set | back to summary |
|---|---|
| public void set(@NonNegative int index, @Nullable byte[] fieldData) Set the given field to the given data.
| |
| updateableCopy | back to summary |
|---|---|
| public Tuple updateableCopy() Create a copy of the tuple for updating.
| |