Serialized Form
Package org.apache.derby.catalog.types |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on read error
java.lang.ClassNotFoundException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on write error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on read error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on write error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
Package org.apache.derby.iapi.error |
nested
java.lang.Exception nested
nestedException
java.lang.Throwable nestedException
severity
int severity
textMessage
java.lang.String textMessage
sqlState
java.lang.String sqlState
Package org.apache.derby.iapi.services.context |
Package org.apache.derby.iapi.services.io |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this array from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this array out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Note: gracefully handles zero length
bits -- will create a zero length array
with no bits being used. Fortunately
in.read() is ok with a zero length array
so no special code.
WARNING: this method cannot be changed w/o
changing SQLBit because SQLBit calls this
directly w/o calling read/writeObject(), so
the format id is not stored in that case.
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Format:
- int length in bits
- byte[]
- Throws:
java.io.IOException
- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read the hash table from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the hash table out. Step through
the enumeration and write the strings out
in UTF.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this formatable from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this formatable out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this formatable from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this formatable out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read the properties from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the properties out. Step through
the enumeration and write the strings out
in UTF.
- Throws:
java.io.IOException
- thrown on error
Package org.apache.derby.iapi.services.sanity |
nestedException
java.lang.Throwable nestedException
Package org.apache.derby.iapi.sql.depend |
Package org.apache.derby.iapi.sql.dictionary |
scanned
boolean scanned
scanned
boolean scanned
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on read error
java.lang.ClassNotFoundException
- Thrown on read error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on write error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
Package org.apache.derby.iapi.types |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Note the use of data2c: we reuse the array if the
incoming array is the same length or smaller than
the array length.
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Distill the Decimal to a byte array and
Write out:
- scale (unsigned byte)
- length of byte array
- the byte array
readExternal
public void readExternal(java.io.ObjectInput)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput)
throws java.io.IOException
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- delegated to bit
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- class not found
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the value out from the byte array (not called if null)
using the 8.1 encoding.
- Throws:
java.io.IOException
- io exception
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- delegated to bit
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- class not found
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the value out from the byte array (not called if null)
using the 8.1 encoding.
- Throws:
java.io.IOException
- io exception
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- delegated to bit
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- class not found
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the value out from the byte array (not called if null)
using the 8.1 encoding.
- Throws:
java.io.IOException
- io exception
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on error reading the object- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Note the use of rawData: we reuse the array if the
incoming array is the same length or smaller than
the array length.
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Distill the BigDecimal to a byte array and
write out:
- scale (zero or positive) as a byte
- length of byte array as a byte
- the byte array
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- delegated to bit
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- class not found
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the value out from the byte array (not called if null)
using the 8.1 encoding.
- Throws:
java.io.IOException
- io exception
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on error reading the object
java.lang.ClassNotFoundException
- Thrown if the class of the object
read from the stream can't be found
(not likely, since it's supposed to
be SQLRef).- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on error reading the object- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on error reading the object- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- delegated to bit
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- class not found
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the value out from the byte array (not called if null)
using the 8.1 encoding.
- Throws:
java.io.IOException
- io exception
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on error reading the object
java.lang.ClassNotFoundException
- Thrown if the class of the object
is not found- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read an XML value from an input stream.
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write an XML value.
Package org.apache.derby.iapi.util |
read
java.util.Properties read
write
java.util.Properties write
Package org.apache.derby.impl.jdbc |
messageId
java.lang.String messageId
Package org.apache.derby.impl.services.locks |
factory
SinglePool factory
deadlockTimeout
int deadlockTimeout
- Timeout for deadlocks, in ms.
MT - immutable
waitTimeout
int waitTimeout
deadlockTrace
boolean deadlockTrace
lockTraces
java.util.Hashtable lockTraces
blockCount
int blockCount
lockTable
LockSet lockTable
- The complete set of locks in the system
MT - immutable - content dynamic : LockSet is ThreadSafe
deadlockMonitor
int deadlockMonitor
- True if all deadlocks errors should be logged.
Package org.apache.derby.impl.services.monitor |
serviceType
PersistentService serviceType
serviceName
java.lang.String serviceName
storageFactory
WritableStorageFactory storageFactory
serviceBooted
boolean serviceBooted
Package org.apache.derby.impl.services.uuid |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
Package org.apache.derby.impl.sql |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- on error
Package org.apache.derby.impl.sql.catalog |
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this object from a stream of stored objects. Set
the minor version. Ignore the major version.
- Throws:
java.io.IOException
- on error
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects. Write
out the minor version which is bumped across minor release.
Just to be safe, write out the major version too. This
will allow us to do versioning of a specific Version impl
in the future.
- Throws:
java.io.IOException
- on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects. Just read the
byte array, besides what the parent does.
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects. Just write the
byte array, besides what the parent does.
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects. Nothing to
do. Our persistent representation is just a 2-byte format id.
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects. Again, nothing
to do. We just stamp the output stream with our Format id.
Package org.apache.derby.impl.sql.compile |
specialConstructor
boolean specialConstructor
- This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
currentToken
Token currentToken
- This is the last token that has been consumed successfully. If
this object has been created due to a parse error, the token
followng this token will (therefore) be the first error token.
expectedTokenSequences
int[][] expectedTokenSequences
- Each entry in this array is an array of integers. Each array
of integers represents a sequence of tokens (by their ordinal
values) that is expected at this point of the parse.
tokenImage
java.lang.String[] tokenImage
- This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred. This array is
defined in the generated ...Constants interface.
eol
java.lang.String eol
- The end of line string for this machine.
errorCode
int errorCode
- Indicates the reason why the exception is thrown. It will have
one of the above 4 values.
Package org.apache.derby.impl.sql.depend |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
Package org.apache.derby.impl.sql.execute |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Description copied from class:
OrderableAggregator
- Although we are not expected to be persistent per se,
we may be written out by the sorter temporarily. So
we need to be able to write ourselves out and read
ourselves back in. We rely on formatable to handle
situations where value is null.
Why would we be called to write ourselves out if we
are null? For scalar aggregates, we don't bother
setting up the aggregator since we only need a single
row. So for a scalar aggregate that needs to go to
disk, the aggregator might be null.
- Throws:
java.io.IOException
- on error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Although we are not expected to be persistent per se,
we may be written out by the sorter temporarily. So
we need to be able to write ourselves out and read
ourselves back in.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Description copied from class:
WriteCursorConstantAction
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Description copied from class:
WriteCursorConstantAction
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Description copied from class:
WriteCursorConstantAction
- Read this object from a stream of stored objects.
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Description copied from class:
OrderableAggregator
- Although we are not expected to be persistent per se,
we may be written out by the sorter temporarily. So
we need to be able to write ourselves out and read
ourselves back in. We rely on formatable to handle
situations where value is null.
Why would we be called to write ourselves out if we
are null? For scalar aggregates, we don't bother
setting up the aggregator since we only need a single
row. So for a scalar aggregate that needs to go to
disk, the aggregator might be null.
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Although we are not expected to be persistent per se,
we may be written out by the sorter temporarily. So
we need to be able to write ourselves out and read
ourselves back in. We rely on formatable to handle
situations where value is null.
Why would we be called to write ourselves out if we
are null? For scalar aggregates, we don't bother
setting up the aggregator since we only need a single
row. So for a scalar aggregate that needs to go to
disk, the aggregator might be null.
- Throws:
java.io.IOException
- on error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Description copied from class:
WriteCursorConstantAction
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Description copied from class:
WriteCursorConstantAction
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
Package org.apache.derby.impl.store.access |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on error reading the object
java.lang.ClassNotFoundException
- Thrown if the class of the object
is not found- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
Package org.apache.derby.impl.store.access.btree |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Restore the in-memory representation from the stream.
- Throws:
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.
java.io.IOException
- thrown by readObject()- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the stream.
It might be easier to simply store the properties - which would certainly
make upgrading easier.
- Throws:
java.io.IOException
- thrown by writeObject()
Package org.apache.derby.impl.store.access.btree.index |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Description copied from class:
BTree
- Restore the in-memory representation from the stream.
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the stream.
It might be easier to simply store the properties - which would certainly
make upgrading easier.
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Restore the in-memory representation from the stream.
- Throws:
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.
java.io.IOException
- thrown by readObject()- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the stream.
It might be easier to simply store the properties - which would certainly
make upgrading easier.
- Throws:
java.io.IOException
- thrown by writeObject()
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Restore the in-memory representation from the stream.
This object has no state, so nothing to restore.
- Throws:
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- This object has no state, so nothing to write.
Package org.apache.derby.impl.store.access.conglomerate |
readExternal
public void readExternal(java.io.ObjectInput)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput)
throws java.io.IOException
Package org.apache.derby.impl.store.access.heap |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Restore the in-memory representation from the stream.
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the stream.
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
- A class needed to read the
stored form of this object could not be found.
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
Package org.apache.derby.impl.store.raw.data |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- cannot read object from input
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- cannot read object from input
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- cannot read object from input
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- cannot read log record from log stream
java.lang.ClassNotFoundException
- cannot read ByteArray object
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- cannot read log record from log stream
java.lang.ClassNotFoundException
- cannot read ByteArray object
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
logBuffer
DynamicByteArrayOutputStream logBuffer
nextColumn
int nextColumn
realSpaceOnPage
int realSpaceOnPage
column
java.lang.Object column
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
Package org.apache.derby.impl.store.raw.log |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput oi)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in.
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- corrupted log stream
writeExternal
public void writeExternal(java.io.ObjectOutput oo)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- corrupted log stream
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
Package org.apache.derby.impl.store.raw.xact |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- problem reading the transaction table
java.lang.ClassNotFoundException
- problem reading the transaction table
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- problem reading the transaction table
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.lang.ClassNotFoundException,
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
Package org.apache.derby.jdbc |
Class org.apache.derby.jdbc.ClientBaseDataSource extends java.lang.Object implements Serializable |
serialVersionUID: -7660172643035173692l
loginTimeout
int loginTimeout
databaseName
java.lang.String databaseName
description
java.lang.String description
dataSourceName
java.lang.String dataSourceName
portNumber
int portNumber
serverName
java.lang.String serverName
user
java.lang.String user
securityMechanism
short securityMechanism
retrieveMessageText
boolean retrieveMessageText
traceFile
java.lang.String traceFile
traceDirectory
java.lang.String traceDirectory
traceFileAppend
boolean traceFileAppend
password
java.lang.String password
connectionAttributes
java.lang.String connectionAttributes
traceLevel
int traceLevel
Class org.apache.derby.jdbc.ClientConnectionPoolDataSource extends org.apache.derby.jdbc.ClientDataSource implements Serializable |
serialVersionUID: -539234282156481377l
Class org.apache.derby.jdbc.ClientDataSource extends org.apache.derby.jdbc.ClientBaseDataSource implements Serializable |
serialVersionUID: 1894299584216955553l
Class org.apache.derby.jdbc.ClientXADataSource extends org.apache.derby.jdbc.ClientDataSource implements Serializable |
serialVersionUID: 7057075094707674880l
serialVersionUID: 7852784308039674160l
serialVersionUID: -4945135214995641181l
databaseName
java.lang.String databaseName
- The database name.
-
dataSourceName
java.lang.String dataSourceName
- The data source name.
-
description
java.lang.String description
- Description of the database.
-
createDatabase
java.lang.String createDatabase
- Set to "create" if the database should be created.
-
shutdownDatabase
java.lang.String shutdownDatabase
- Set to "shutdown" if the database should be shutdown.
-
connectionAttributes
java.lang.String connectionAttributes
- Derby specific connection attributes.
-
attributesAsPassword
boolean attributesAsPassword
- Set password to be a set of connection attributes.
serialVersionUID: -5715798975598379738l
serialVersionUID: 1872877359127597176l
description
java.lang.String description
dataSourceName
java.lang.String dataSourceName
databaseName
java.lang.String databaseName
password
java.lang.String password
user
java.lang.String user
loginTimeout
int loginTimeout
Package org.apache.derby.drda |
formHeader
java.lang.String formHeader
host
java.lang.String host
portNumber
int portNumber
tracingDirectory
java.lang.String tracingDirectory
logStatus
boolean logStatus
traceStatus
boolean traceStatus
knownLang
java.lang.String[] knownLang
locale
java.lang.String locale
server
NetworkServerControl server
out
java.io.PrintWriter out
service
java.lang.Runnable service
Package org.apache.derby.impl.drda |
agent
DRDAConnThread agent
correlationID
int correlationID
crrtkn
byte[] crrtkn
codpntArg
int codpntArg
exceptionInfo
DRDAProtocolExceptionInfo exceptionInfo
errorCodePoint
int errorCodePoint
svrcod
int svrcod
errcd
int errcd
messageid
java.lang.String messageid
rdbnam
java.lang.String rdbnam
srvdgn
java.lang.String srvdgn
messageArgs
java.lang.Object[] messageArgs
Package org.apache.derby.impl.tools.ij |
e
java.sql.SQLException e
specialConstructor
boolean specialConstructor
- This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
currentToken
Token currentToken
- This is the last token that has been consumed successfully. If
this object has been created due to a parse error, the token
followng this token will (therefore) be the first error token.
expectedTokenSequences
int[][] expectedTokenSequences
- Each entry in this array is an array of integers. Each array
of integers represents a sequence of tokens (by their ordinal
values) that is expected at this point of the parse.
tokenImage
java.lang.String[] tokenImage
- This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred. This array is
defined in the generated ...Constants interface.
eol
java.lang.String eol
- The end of line string for this machine.
errorCode
int errorCode
- Indicates the reason why the exception is thrown. It will have
one of the above 4 values.
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.