Public Member Functions | |
| void | copy (VString from) |
| Copy data from another VString. | |
| void | copy (String from) |
| Copy character data from String. | |
| void | copy (byte[] from) |
| Copy character data from byte array to the VString's internal buffer. | |
| ByteBuffer | data () |
| Provides a read-only ByteBuffer to this VString's internal data. | |
| boolean | isNull () |
| Indicates if this VString contains the SQL NULL value. | |
| int | length () |
| Returns the length of this VString. | |
| void | setNull () |
| Sets this VString to the SQL NULL value. | |
| String | str () |
| Provides a copy of this VString's data as a Java String. | |
| String | toString () |
| VString (ByteBuffer hbuf, ByteBuffer dbuf, int hoffset, int doffset, int max_dlen) | |
| Contruct an out of line VString object. | |
| VString (ByteBuffer buf, int offset, int total_max_len) | |
| Contruct a VString object. | |
| com.vertica.sdk.VString.VString | ( | ByteBuffer | buf, | |
| int | offset, | |||
| int | total_max_len | |||
| ) |
| com.vertica.sdk.VString.VString | ( | ByteBuffer | hbuf, | |
| ByteBuffer | dbuf, | |||
| int | hoffset, | |||
| int | doffset, | |||
| int | max_dlen | |||
| ) |
Contruct an out of line VString object.
| void com.vertica.sdk.VString.copy | ( | VString | from | ) |
| void com.vertica.sdk.VString.copy | ( | String | from | ) |
Copy character data from String.
| from | Java String object as character input data |
| void com.vertica.sdk.VString.copy | ( | byte[] | from | ) |
Copy character data from byte array to the VString's internal buffer.
| from | array of bytes input data |
| ByteBuffer com.vertica.sdk.VString.data | ( | ) |
Provides a read-only ByteBuffer to this VString's internal data.
| boolean com.vertica.sdk.VString.isNull | ( | ) |
Indicates if this VString contains the SQL NULL value.
| int com.vertica.sdk.VString.length | ( | ) |
Returns the length of this VString.
| String com.vertica.sdk.VString.str | ( | ) |
Provides a copy of this VString's data as a Java String.