|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.types.SQLClob.HeaderInfo
private static class SQLClob.HeaderInfo
Holder class for header information gathered from the raw byte header in the stream.
| Field Summary | |
|---|---|
private int |
headerLength
The header length in bytes. |
private int |
valueLength
The value length, either in bytes or characters. |
| Constructor Summary | |
|---|---|
SQLClob.HeaderInfo(int headerLength,
int valueLength)
Creates a new header info object. |
|
| Method Summary | |
|---|---|
(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final int valueLength
private final int headerLength
| Constructor Detail |
|---|
SQLClob.HeaderInfo(int headerLength,
int valueLength)
headerLength - the header length in bytesvalueLength - the value length (chars or bytes)| Method Detail |
|---|
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.Object
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||