| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv long | charLength
Length in characters. |
| private int | hash
Cache the hashCode because it can be expensive to compute. |
| pack-priv final LobData | |
| pack-priv long | octetLength
Length in bytes. |
| private TypeInfo |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public abstract ValueLob | Returns: the new value or itselfthe data handler database, int the table where this object is used tableId)Copy a large value, to be used in the given table. |
| public ValueLob | Returns: the value (this for small objects)Create an independent copy of this value, that will be bound to a result. |
| pack-priv static String | Returns: full path and name of the created fileto get path from handler)Create file name for temporary LOB storage |
| public boolean | equals(Object
the other value other)Implements abstract org. Check if the two values have the same hash code. |
| pack-priv final void | |
| pack-priv DbException | |
| pack-priv static int | |
| public byte[] | |
| pack-priv abstract byte[] | |
| public byte[] | |
| public LobData | |
| public int | |
| public Reader | |
| private byte[] | |
| pack-priv DbException | |
| public TypeInfo | getType()
Implements abstract org. Implements org. Returns the data type. |
| public int | hashCode()
Implements abstract org. Returns a hash code value for this object. |
| public boolean | |
| private static void | |
| protected static InputStream | Returns: the smaller input streamthe source input stream inputStream, long the offset (1 means no offset) oneBasedOffset, long the length of the result, in bytes length, long the length of the input, in bytes dataSize)Create an input stream that is s subset of the given stream. |
| pack-priv static Reader | Returns: the smaller input streamthe input reader reader, long the offset (1 means no offset) oneBasedOffset, long the length of the result, in bytes length, long the length of the input, in bytes dataSize)Create a reader that is s subset of the given reader. |
| pack-priv byte[] | |
| pack-priv String | |
| public void |
| BLOCK_COMPARISON_SIZE | back to summary |
|---|---|
| pack-priv static final int BLOCK_COMPARISON_SIZE | |
| charLength | back to summary |
|---|---|
| pack-priv long charLength Length in characters. | |
| hash | back to summary |
|---|---|
| private int hash Cache the hashCode because it can be expensive to compute. | |
| lobData | back to summary |
|---|---|
| pack-priv final LobData lobData | |
| octetLength | back to summary |
|---|---|
| pack-priv long octetLength Length in bytes. | |
| type | back to summary |
|---|---|
| private TypeInfo type | |
| ValueLob | back to summary |
|---|---|
| pack-priv ValueLob(LobData lobData, long octetLength, long charLength) | |
| copy | back to summary |
|---|---|
| public abstract ValueLob copy(DataHandler database, int tableId) Copy a large value, to be used in the given table. For values that are kept fully in memory this method has no effect.
| |
| copyToResult | back to summary |
|---|---|
| public ValueLob copyToResult() Create an independent copy of this value, that will be bound to a result.
| |
| createTempLobFileName | back to summary |
|---|---|
| pack-priv static String createTempLobFileName(DataHandler handler) throws IOException Create file name for temporary LOB storage
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Implements abstract org. Doc from org. Check if the two values have the same hash code. No data conversion is made; this method returns false if the other object is not of the same class. For some values, compareTo may return 0 even if equals return false. Example: ValueDecimal 0.0 and 0.00. | |
| formatLobDataComment | back to summary |
|---|---|
| pack-priv final void formatLobDataComment(StringBuilder builder) | |
| getBinaryTooLong | back to summary |
|---|---|
| pack-priv DbException getBinaryTooLong(long precision) | |
| getBufferSize | back to summary |
|---|---|
| pack-priv static int getBufferSize(DataHandler handler, long remaining) | |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() Overrides org.
| |
| getBytesInternal | back to summary |
|---|---|
| pack-priv abstract byte[] getBytesInternal() | |
| getBytesNoCopy | back to summary |
|---|---|
| public byte[] getBytesNoCopy() Overrides org.
| |
| getLobData | back to summary |
|---|---|
| public LobData getLobData() | |
| getMemory | back to summary |
|---|---|
| public int getMemory() Overrides org. Doc from org. Get the memory used by this object.
| |
| getReader | back to summary |
|---|---|
| public Reader getReader() Overrides org.
| |
| getSmall | back to summary |
|---|---|
| private byte[] getSmall() | |
| getStringTooLong | back to summary |
|---|---|
| pack-priv DbException getStringTooLong(long precision) | |
| getType | back to summary |
|---|---|
| public TypeInfo getType() Implements abstract org. Implements org. Doc from org. Returns the data type. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isLinkedToTable | back to summary |
|---|---|
| public boolean isLinkedToTable() Check if this value is linked to a specific table. For values that are kept fully in memory, this method returns false.
| |
| rangeCheckUnknown | back to summary |
|---|---|
| private static void rangeCheckUnknown(long zeroBasedOffset, long length) | |
| rangeInputStream | back to summary |
|---|---|
| protected static InputStream rangeInputStream(InputStream inputStream, long oneBasedOffset, long length, long dataSize) Create an input stream that is s subset of the given stream.
| |
| rangeReader | back to summary |
|---|---|
| pack-priv static Reader rangeReader(Reader reader, long oneBasedOffset, long length, long dataSize) Create a reader that is s subset of the given reader. | |
| readBytes | back to summary |
|---|---|
| pack-priv byte[] readBytes(int len) | |
| readString | back to summary |
|---|---|
| pack-priv String readString(int len) | |
| remove | back to summary |
|---|---|
| public void remove() Remove the underlying resource, if any. For values that are kept fully in memory this method has no effect. | |