Serialized Form


Package org.apache.derby.catalog.types

Class org.apache.derby.catalog.types.BaseTypeIdImpl extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.catalog.types.DecimalTypeIdImpl extends BaseTypeIdImpl implements Serializable

Serialization Methods

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

Class org.apache.derby.catalog.types.DefaultInfoImpl extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.catalog.types.IndexDescriptorImpl extends java.lang.Object implements Serializable

Serialization Methods

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)

Class org.apache.derby.catalog.types.MethodAliasInfo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.catalog.types.ReferencedColumnsDescriptorImpl extends java.lang.Object implements Serializable

Serialization Methods

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)

Class org.apache.derby.catalog.types.RoutineAliasInfo extends MethodAliasInfo implements Serializable

Serialization Methods

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

Class org.apache.derby.catalog.types.StatisticsImpl extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.catalog.types.SynonymAliasInfo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.catalog.types.TypeDescriptorImpl extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.catalog.types.UserDefinedTypeIdImpl extends BaseTypeIdImpl implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.error.PassThroughException extends java.lang.RuntimeException implements Serializable

Serialized Fields

nested

java.lang.Exception nested

Class org.apache.derby.iapi.error.StandardException extends java.lang.Exception implements Serializable

Serialized Fields

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

Class org.apache.derby.iapi.services.context.ShutdownException extends java.lang.RuntimeException implements Serializable


Package org.apache.derby.iapi.services.io

Class org.apache.derby.iapi.services.io.FormatableArrayHolder extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.services.io.FormatableBitSet extends java.lang.Object implements Serializable

Serialization Methods

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:

Throws:
java.io.IOException
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)

Class org.apache.derby.iapi.services.io.FormatableHashtable extends java.util.Hashtable implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.services.io.FormatableIntHolder extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.services.io.FormatableLongHolder extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.services.io.FormatableProperties extends java.util.Properties implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.services.sanity.AssertFailure extends java.lang.RuntimeException implements Serializable

Serialized Fields

nestedException

java.lang.Throwable nestedException


Package org.apache.derby.iapi.sql.depend

Class org.apache.derby.iapi.sql.depend.ProviderList extends java.util.Hashtable implements Serializable


Package org.apache.derby.iapi.sql.dictionary

Class org.apache.derby.iapi.sql.dictionary.ColumnDescriptorList extends java.util.ArrayList implements Serializable

Class org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptorList extends java.util.ArrayList implements Serializable

Class org.apache.derby.iapi.sql.dictionary.ConstraintDescriptorList extends java.util.ArrayList implements Serializable

Serialized Fields

scanned

boolean scanned

Class org.apache.derby.iapi.sql.dictionary.GenericDescriptorList extends java.util.ArrayList implements Serializable

Serialized Fields

scanned

boolean scanned

Class org.apache.derby.iapi.sql.dictionary.IndexRowGenerator extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.sql.dictionary.TriggerDescriptor extends TupleDescriptor implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.BigIntegerDecimal extends BinaryDecimal implements Serializable

Serialization Methods

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:

Class org.apache.derby.iapi.types.DataType extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.DataTypeDescriptor extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.JSQLType extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.NumberDataType extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLBinary extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLBit extends SQLBinary implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLBlob extends SQLBinary implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLBoolean extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLChar extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLClob extends SQLVarchar implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLDate extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLDecimal extends NumberDataType implements Serializable

Serialization Methods

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:

Class org.apache.derby.iapi.types.SQLDouble extends NumberDataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLInteger extends NumberDataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLLongint extends NumberDataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLLongVarbit extends SQLVarbit implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLLongvarchar extends SQLVarchar implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLNationalChar extends SQLChar implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLNationalLongvarchar extends SQLLongvarchar implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLNationalVarchar extends SQLVarchar implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLNClob extends SQLNationalVarchar implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLReal extends NumberDataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLRef extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLSmallint extends NumberDataType implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException

Class org.apache.derby.iapi.types.SQLTime extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLTimestamp extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLTinyint extends NumberDataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLVarbit extends SQLBit implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.SQLVarchar extends SQLChar implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.TypeId extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.UserType extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.types.XML extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.iapi.util.DoubleProperties extends java.util.Properties implements Serializable

Serialized Fields

read

java.util.Properties read

write

java.util.Properties write


Package org.apache.derby.impl.jdbc

Class org.apache.derby.impl.jdbc.EmbedSQLException extends java.sql.SQLException implements Serializable

Serialized Fields

messageId

java.lang.String messageId

Class org.apache.derby.impl.jdbc.EmbedSQLWarning extends java.sql.SQLWarning implements Serializable


Package org.apache.derby.impl.services.locks

Class org.apache.derby.impl.services.locks.LockSet extends java.util.Hashtable implements Serializable

Serialized Fields

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

Class org.apache.derby.impl.services.locks.SinglePool extends java.util.Hashtable implements Serializable

Serialized Fields

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

Class org.apache.derby.impl.services.monitor.UpdateServiceProperties extends java.util.Properties implements Serializable

Serialized Fields

serviceType

PersistentService serviceType

serviceName

java.lang.String serviceName

storageFactory

WritableStorageFactory storageFactory

serviceBooted

boolean serviceBooted


Package org.apache.derby.impl.services.uuid

Class org.apache.derby.impl.services.uuid.BasicUUID extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.CursorInfo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.CursorTableReference extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.GenericColumnDescriptor extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.GenericResultDescription extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.GenericStorablePreparedStatement extends GenericPreparedStatement implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.catalog.DD_Version extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.catalog.DDColumnDependableFinder extends DDdependableFinder implements Serializable

Serialization Methods

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.

Class org.apache.derby.impl.sql.catalog.DDdependableFinder extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.compile.ParseException extends java.lang.Exception implements Serializable

Serialized Fields

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.

Class org.apache.derby.impl.sql.compile.TokenMgrError extends java.lang.Error implements Serializable

Serialized Fields

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

Class org.apache.derby.impl.sql.depend.BasicProviderInfo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.AggregatorInfo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.AggregatorInfoList extends java.util.Vector implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.AvgAggregator extends SumAggregator implements Serializable

Serialization Methods

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)

Class org.apache.derby.impl.sql.execute.ColumnInfo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.ConstraintInfo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.CountAggregator extends SystemAggregator implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.DeleteConstantAction extends WriteCursorConstantAction implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.FKInfo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.IndexColumnOrder extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.IndexRow extends ValueRow implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.InsertConstantAction extends WriteCursorConstantAction implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.MaxMinAggregator extends OrderableAggregator implements Serializable

Serialization Methods

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.

Class org.apache.derby.impl.sql.execute.SumAggregator extends OrderableAggregator implements Serializable

Serialization Methods

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)

Class org.apache.derby.impl.sql.execute.TriggerInfo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.UpdatableVTIConstantAction extends WriteCursorConstantAction implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.sql.execute.UpdateConstantAction extends WriteCursorConstantAction implements Serializable

Serialization Methods

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)

Class org.apache.derby.impl.sql.execute.ValueRow extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.access.PC_XenaVersion extends java.lang.Object implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException

Class org.apache.derby.impl.store.access.StorableFormatId extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.access.UTF extends UserType implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.access.btree.BTree extends GenericConglomerate implements Serializable

Serialization Methods

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()

Class org.apache.derby.impl.store.access.btree.WaitError extends java.lang.Throwable implements Serializable


Package org.apache.derby.impl.store.access.btree.index

Class org.apache.derby.impl.store.access.btree.index.B2I extends BTree implements Serializable

Serialization Methods

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.

Class org.apache.derby.impl.store.access.btree.index.B2IStaticCompiledInfo extends java.lang.Object implements Serializable

Serialization Methods

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()

Class org.apache.derby.impl.store.access.btree.index.B2IUndo extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.access.conglomerate.GenericConglomerate extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.access.heap.Heap extends GenericConglomerate implements Serializable

Serialization Methods

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.

Class org.apache.derby.impl.store.access.heap.HeapRowLocation extends DataType implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.AllocExtent extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.AllocPageOperation extends PhysicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.ChainAllocPageOperation extends PhysicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.CompressSpacePageOperation extends PhysicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.ContainerBasicOperation extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.ContainerOperation extends ContainerBasicOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.ContainerUndoOperation extends ContainerBasicOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.CopyRowsOperation extends PhysicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.DeleteOperation extends LogicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.InitPageOperation extends PhysicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.InsertOperation extends LogicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.InvalidatePageOperation extends PhysicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.LogicalPageOperation extends PageBasicOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.LogicalUndoOperation extends PageBasicOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.LongColumnException extends StandardException implements Serializable

Serialized Fields

logBuffer

DynamicByteArrayOutputStream logBuffer

nextColumn

int nextColumn

realSpaceOnPage

int realSpaceOnPage

column

java.lang.Object column

Class org.apache.derby.impl.store.raw.data.PageBasicOperation extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.PhysicalPageOperation extends PageBasicOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.PhysicalUndoOperation extends PageBasicOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.PurgeOperation extends PhysicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.RemoveFileOperation extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.SetReservedSpaceOperation extends PageBasicOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.UpdateFieldOperation extends LogicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.data.UpdateOperation extends PhysicalPageOperation implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.log.CheckpointOperation extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.log.ChecksumOperation extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.log.LogCounter extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.log.LogRecord extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.xact.BeginXact extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.xact.EndXact extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.xact.GlobalXactId extends GlobalXact implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.xact.TransactionTable extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.xact.TransactionTableEntry extends java.lang.Object implements Serializable

Serialization Methods

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

Class org.apache.derby.impl.store.raw.xact.XactId extends java.lang.Object implements Serializable

Serialization Methods

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

Serialized Fields

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

Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource extends EmbeddedDataSource implements Serializable

serialVersionUID: 7852784308039674160l

Class org.apache.derby.jdbc.EmbeddedDataSource extends ReferenceableDataSource implements Serializable

serialVersionUID: -4945135214995641181l

Serialized Fields

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.

Class org.apache.derby.jdbc.EmbeddedXADataSource extends EmbeddedDataSource implements Serializable

serialVersionUID: -5715798975598379738l

Class org.apache.derby.jdbc.ReferenceableDataSource extends java.lang.Object implements Serializable

serialVersionUID: 1872877359127597176l

Serialized Fields

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

Class org.apache.derby.drda.NetServlet extends javax.servlet.http.HttpServlet implements Serializable

Serialized Fields

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

Class org.apache.derby.impl.drda.DRDAProtocolException extends java.lang.Exception implements Serializable

Serialized Fields

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

Class org.apache.derby.impl.tools.ij.ijException extends java.lang.RuntimeException implements Serializable

Class org.apache.derby.impl.tools.ij.ijFatalException extends java.lang.RuntimeException implements Serializable

Serialized Fields

e

java.sql.SQLException e

Class org.apache.derby.impl.tools.ij.ijTokenException extends java.lang.RuntimeException implements Serializable

Class org.apache.derby.impl.tools.ij.ParseException extends java.lang.Exception implements Serializable

Serialized Fields

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.

Class org.apache.derby.impl.tools.ij.TokenMgrError extends java.lang.Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.