private static class SQLClob.HeaderInfo
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
private int |
headerLength |
The header length in bytes.
|
private int |
valueLength |
The value length, either in bytes or characters.
|
| Constructor | Description |
|---|---|
HeaderInfo(int headerLength,
int valueLength) |
Creates a new header info object.
|
| Modifier and Type | Method | Description |
|---|---|---|
(package private) int |
byteLength() |
Returns the byte length encoded in the header, if any.
|
(package private) int |
charLength() |
Returns the character length encoded in the header, if any.
|
(package private) int |
headerLength() |
Returns the header length in bytes.
|
(package private) boolean |
isCharLength() |
Tells whether the encoded length was in characters or bytes.
|
java.lang.String |
toString() |
Returns a textual representation.
|
private final int valueLength
private final int headerLength
HeaderInfo(int headerLength,
int valueLength)
headerLength - the header length in bytesvalueLength - the value length (chars or bytes)int headerLength()
int charLength()
0 (zero) if the header contained byte length
information.int byteLength()
0 (zero) if the header contained character
length information.boolean isCharLength()
true if the header contained a character count,
false if it contained a byte count.public java.lang.String toString()
toString in class java.lang.ObjectApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.