Serialized Form


Package org.apache.derby.authentication

Class org.apache.derby.authentication.SystemPrincipal extends java.lang.Object implements Serializable

serialVersionUID: 925380094921530190L

Serialized Fields

name

java.lang.String name
The name of the principal.

Note that the name is not a "normalized" Authorization Identifier. This is due to peculiarities of the Java Security Runtime, which compares a javax.security.auth.Subject's Principals against the literal Principal name as declared in the policy files, and not against the return value of method getName(). So, a normalization of names within SystemPrincipal doesn't affect permission checking by the SecurityManager.

In order for a javax.security.auth.Subject to be granted permissions on the basis Authorization Identifier rules, e.g., for a Subject authenticated as edWard to fall under a policy clause declared for EDWARD, the Subject has to be constructed (or augmented) with both the literal name and the normalized Authorization Identifier.

As an alternative approach, class SystemPrincipal could implement the non-standard interface com.sun.security.auth.PrincipalComparator, which declares a method implies(Subject) that would allow for Principals to match Subjects on the basis of normalized Authorization Identifiers. But then we'd be relying upon non-standard Security Runtime behaviour.

See Also:
User Names & Authorization Identifiers in Derby

Package org.apache.derby.catalog

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.RowMultiSetImpl extends BaseTypeIdImpl implements Serializable

Serialization Methods

readExternal

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

Read ourself from a formatable stream.

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 ourself to a formatable stream.

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.UDTAliasInfo 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.client.am

Class org.apache.derby.client.am.BatchUpdateException extends java.sql.BatchUpdateException implements Serializable

Class org.apache.derby.client.am.DisconnectException extends SqlException implements Serializable

Class org.apache.derby.client.am.SqlException extends java.lang.Exception implements Serializable

Serialized Fields

message_

java.lang.String message_

cachedMessage_

java.lang.String cachedMessage_

batchPositionLabel_

java.lang.String batchPositionLabel_

sqlstate_

java.lang.String sqlstate_

errorcode_

int errorcode_

causeString_

java.lang.String causeString_

nextException_

SqlException nextException_

throwable_

java.lang.Throwable throwable_

wrappedException_

java.sql.SQLException wrappedException_
The wrapped SQLException, if one exists

Class org.apache.derby.client.am.SqlWarning extends SqlException implements Serializable

Serialized Fields

nextWarning_

SqlWarning nextWarning_

Class org.apache.derby.client.am.XaException extends javax.transaction.xa.XAException implements Serializable


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.iapi.error

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

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

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

Serialized Fields

severity

int severity

textMessage

java.lang.String textMessage

sqlState

java.lang.String sqlState

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


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

Class org.apache.derby.iapi.services.io.DerbyIOException extends java.io.IOException implements Serializable

Serialized Fields

sqlState

java.lang.String sqlState
A Derby SQLState.

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:
  • int length in bits
  • byte[]

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 AssertFailure implements Serializable


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.sql.execute

Package org.apache.derby.iapi.store.access

Package org.apache.derby.iapi.store.access.conglomerate

Package org.apache.derby.iapi.store.raw

Package org.apache.derby.iapi.store.raw.log

Package org.apache.derby.iapi.store.raw.xact

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:
  • scale (unsigned byte)
  • length of byte array
  • the byte array

Throws:
java.io.IOException

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

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput arg0)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput arg0)
                   throws java.io.IOException
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 arg0)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput arg0)
                   throws java.io.IOException
Throws:
java.io.IOException

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
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
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Writes a non-Clob data value to the modified UTF-8 format used by Derby. 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
Reads and materializes the CLOB value from the stream.

Throws:
java.io.UTFDataFormatException - if an encoding error is detected
java.io.IOException - if reading from the stream fails, or the content of the stream header is invalid

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Writes the CLOB data value to the given destination stream using the modified UTF-8 format.

Throws:
java.io.IOException - if writing to the destination stream fails
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:
  • scale (zero or positive) as a byte
  • length of byte array as a byte
  • the byte array

Throws:
java.io.IOException

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
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
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
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
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Writes a non-Clob data value to the modified UTF-8 format used by Derby. 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
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
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
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
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
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Writes a non-Clob data value to the modified UTF-8 format used by Derby. 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.SqlXmlUtil 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 - 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
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)

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.

Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Write an XML value.

Throws:
java.io.IOException

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

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.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

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.

Throws:
java.io.IOException

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.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

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.

Throws:
java.io.IOException

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
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
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.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.InsertConstantAction extends WriteCursorConstantAction 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

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
Throws:
java.io.IOException - on error
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)

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
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
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)

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
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
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
Throws:
java.io.IOException - thrown by readObject()
java.lang.ClassNotFoundException - Thrown if the stored representation is serialized and a class named in the stream could not be found.
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.

For more detailed description of the ACCESS_B2I_V3_ID and ACCESS_B2I_V5_ID formats see documentation at top of file.

Throws:
java.io.IOException - thrown by writeObject()
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)

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

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException - thrown by readObject()
java.lang.ClassNotFoundException - Thrown if the stored representation is serialized and a class named in the stream could not be found.
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.

For more detailed description of the format see documentation at top of file.

Throws:
java.io.IOException - thrown by writeObject()
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)

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

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException - thrown by readObject()
java.lang.ClassNotFoundException - Thrown if the stored representation is serialized and a class named in the stream could not be found.
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.

For more detailed description of the format see documentation at top of file.

Throws:
java.io.IOException - thrown by writeObject()
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)

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.

Throws:
java.io.IOException

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 arg0)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput arg0)
                   throws java.io.IOException
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,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Store the stored representation of column value in stream.

This routine uses the current database version to either store the the 10.2 format (ACCESS_HEAP_V2_ID) or the current format (ACCESS_HEAP_V3_ID).

Throws:
java.io.IOException

Class org.apache.derby.impl.store.access.heap.Heap_v10_2 extends Heap 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

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Store the stored representation of the column value in the stream.

For more detailed description of the format see documentation at top of file.

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

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
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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
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
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
Throws:
java.io.IOException

Class org.apache.derby.impl.store.raw.data.CompressSpacePageOperation10_2 extends CompressSpacePageOperation 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
Public Methods of Formatable interface.

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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
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
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
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.EncryptContainerOperation 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

writeExternal

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

Class org.apache.derby.impl.store.raw.data.EncryptContainerUndoOperation 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 - 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
Throws:
java.io.IOException

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
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
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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
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
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
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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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
Throws:
java.lang.ClassNotFoundException
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
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.impl.store.replication.buffer

Class org.apache.derby.impl.store.replication.buffer.LogBufferFullException extends java.lang.Exception implements Serializable


Package org.apache.derby.impl.store.replication.net

Class org.apache.derby.impl.store.replication.net.ReplicationMessage extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Used to restore the contents of this object.

Throws:
java.io.IOException - If an exception occurs while reading from the InputStream.
java.lang.ClassNotFoundException - Class of a serialized object cannot be found.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Used to save the contents of this Object.

Throws:
java.io.IOException - if an exception occurs while writing to the OutputStream.

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.


Package org.apache.derby.jdbc

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

serialVersionUID: -7660172643035173692L

Serialized Fields

loginTimeout

int loginTimeout
The time in seconds to wait for a connection request on this data source. The default value of zero indicates that either the system time out be used or no timeout limit.

 

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

sslMode

int sslMode

createDatabase

boolean createDatabase
Set to true if the database should be created.


shutdownDatabase

boolean shutdownDatabase
Set to true if the database should be shutdown.


connectionAttributes

java.lang.String connectionAttributes

traceLevel

int traceLevel

Class org.apache.derby.jdbc.ClientConnectionPoolDataSource extends ClientDataSource implements Serializable

serialVersionUID: -539234282156481377L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream inputStream)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException
Read an object from the ObjectInputStream.

This implementation differs from the default one by initiating state validation of the object created.

Throws:
java.lang.ClassNotFoundException - if instantiating a class fails
java.io.IOException - if reading from the stream fails
Serialized Fields

maxStatements

int maxStatements
Specifies the maximum number of statements that can be cached per connection by the JDBC driver.

A value of 0 disables statement caching, negative values are not allowed. The default is that caching is disabled.

 

Class org.apache.derby.jdbc.ClientConnectionPoolDataSource40 extends ClientConnectionPoolDataSource implements Serializable

Class org.apache.derby.jdbc.ClientDataSource extends ClientBaseDataSource implements Serializable

serialVersionUID: 1894299584216955553L

Class org.apache.derby.jdbc.ClientDataSource40 extends ClientDataSource implements Serializable

Class org.apache.derby.jdbc.ClientXADataSource extends ClientDataSource implements Serializable

serialVersionUID: 7057075094707674880L

Class org.apache.derby.jdbc.ClientXADataSource40 extends ClientXADataSource implements Serializable

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

serialVersionUID: 7852784308039674160L

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

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.EmbeddedDataSource40 extends EmbeddedDataSource implements Serializable

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

serialVersionUID: -5715798975598379738L

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

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.security

Class org.apache.derby.security.DatabasePermission extends java.security.Permission implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream s)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Called upon Deserialization for restoring the state of this DatabasePermission from a stream.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream s)
                  throws java.io.IOException
Called upon Serialization for saving the state of this DatabasePermission to a stream.

Throws:
java.io.IOException
Serialized Fields

url

java.lang.String url
The original location URL passed to constructor.


pathType

char pathType
Indicates whether the path denotes an inclusive, recursive, wildcard, or single location. If the path denotes an inclusive, recursive or wildcard location, this field's value is URL_PATH_INCLUSIVE_CHAR, URL_PATH_RECURSIVE_CHAR, or URL_PATH_WILDCARD_CHAR, respectively; otherwise, it's URL_PATH_SEPARATOR_CHAR denoting a single location.

Class org.apache.derby.security.SystemPermission extends java.security.BasicPermission implements Serializable

serialVersionUID: 1965420504091489898L

Serialized Fields

actions

java.lang.String actions
Actions for this permission.


Package org.apache.derby.shared.common.sanity

Class org.apache.derby.shared.common.sanity.AssertFailure extends java.lang.RuntimeException implements Serializable

Serialized Fields

threadDump

java.lang.String threadDump

Package org.apache.derby.vti

Class org.apache.derby.vti.Restriction extends java.lang.Object implements Serializable

Class org.apache.derby.vti.Restriction.AND extends Restriction implements Serializable

serialVersionUID: -8205388794606605844L

Serialized Fields

_leftChild

Restriction _leftChild

_rightChild

Restriction _rightChild

Class org.apache.derby.vti.Restriction.ColumnQualifier extends Restriction implements Serializable

serialVersionUID: -8205388794606605844L

Serialized Fields

OPERATOR_SYMBOLS

java.lang.String[] OPERATOR_SYMBOLS

_columnName

java.lang.String _columnName
name of column being restricted


_comparisonOperator

int _comparisonOperator
comparison operator, one of the ORDER_OP constants


_constantOperand

java.lang.Object _constantOperand
value to compare the column to

Class org.apache.derby.vti.Restriction.OR extends Restriction implements Serializable

serialVersionUID: -8205388794606605844L

Serialized Fields

_leftChild

Restriction _leftChild

_rightChild

Restriction _rightChild


Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.