| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| private static int | |
| public int | compareTypeSafe(Value
the other value v, CompareMode the compare mode mode, CastDataProvider the cast information provider provider)Implements abstract org. Compare this value against another value given that the values are of the same data type. |
| pack-priv ValueBlob | Returns: the truncated or this valuethe new precision precision)Convert the precision to the requested value. |
| public ValueLob | copy(DataHandler
the data handler database, int the table where this object is used tableId)Implements abstract org. Copy a large value, to be used in the given table. |
| public static ValueBlob | Returns: the BLOBthe data data)Creates a small BLOB value that can be stored in the row directly. |
| public static ValueBlob | Returns: the lob valuethe input stream in, long the number of characters to read, or -1 for no limit length, DataHandler the data handler handler)Create a temporary BLOB value from a stream. |
| private static ValueBlob | createTemporary(DataHandler handler, byte[] buff, int len, InputStream in, long remaining)
Create a BLOB in a temporary file. |
| pack-priv byte[] | |
| public InputStream | |
| public InputStream | getInputStream(long
the offset (1 means no offset) oneBasedOffset, long the requested length length)Overrides org. Get the input stream |
| public Reader | getReader(long
the offset (1 means no offset) oneBasedOffset, long the requested length length)Overrides org. Get the reader |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements org. Appends the SQL statement of this object to the specified builder. |
| public String | |
| public int | |
| public long |
| ValueBlob | back to summary |
|---|---|
| public ValueBlob(LobData lobData, long octetLength) | |
| charLength | back to summary |
|---|---|
| public long charLength() Overrides org. Doc from org. Returns length of this value in characters.
| |
| compare | back to summary |
|---|---|
| private static int compare(ValueBlob v1, ValueBlob v2) Compares two BLOB values directly. | |
| compareTypeSafe | back to summary |
|---|---|
| public int compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) Implements abstract org. Doc from org. Compare this value against another value given that the values are of the same data type.
| |
| convertPrecision | back to summary |
|---|---|
| pack-priv ValueBlob convertPrecision(long precision) Convert the precision to the requested value.
| |
| copy | back to summary |
|---|---|
| public ValueLob copy(DataHandler database, int tableId) Implements abstract org. Doc from org. Copy a large value, to be used in the given table. For values that are kept fully in memory this method has no effect.
| |
| createSmall | back to summary |
|---|---|
| public static ValueBlob createSmall(byte[] data) Creates a small BLOB value that can be stored in the row directly.
| |
| createTempBlob | back to summary |
|---|---|
| public static ValueBlob createTempBlob(InputStream in, long length, DataHandler handler) Create a temporary BLOB value from a stream.
| |
| createTemporary | back to summary |
|---|---|
| private static ValueBlob createTemporary(DataHandler handler, byte[] buff, int len, InputStream in, long remaining) throws IOException Create a BLOB in a temporary file. | |
| getBytesInternal | back to summary |
|---|---|
| pack-priv byte[] getBytesInternal() Implements abstract org.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() Overrides org.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream(long oneBasedOffset, long length) Overrides org. Doc from org. Get the input stream
| |
| getReader | back to summary |
|---|---|
| public Reader getReader(long oneBasedOffset, long length) Overrides org. Doc from org. Get the reader | |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getString | back to summary |
|---|---|
| public String getString() Implements abstract org. Doc from org. Get the value as a string. | |
| getValueType | back to summary |
|---|---|
| public int getValueType() Implements abstract org. Doc from org. Get the value type.
| |
| octetLength | back to summary |
|---|---|
| public long octetLength() Overrides org. Doc from org. Returns length of this value in bytes.
| |