Serialized Form
-
Package org.apache.derby.agg
-
Package org.apache.derby.authentication
-
Class org.apache.derby.authentication.SystemPrincipal extends java.lang.Object implements Serializable
- serialVersionUID:
- 925380094921530190L
-
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 SystemPrincipal from a stream.- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
-
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 methodgetName()
. 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 interfacecom.sun.security.auth.PrincipalComparator
, which declares a methodimplies(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.
-
-
-
Package org.apache.derby.catalog
-
Package org.apache.derby.catalog.types
-
Class org.apache.derby.catalog.types.AggregateAliasInfo 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 errorjava.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.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 errorjava.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 errorjava.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 errorjava.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 errorjava.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 errorjava.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
For triggers, 3 possible scenarios 1)referencedColumns is not null but referencedColumnsInTriggerAction is null - then following will get read referencedColumns.length individual elements from referencedColumns arrary eg create trigger tr1 after update of c1 on t1 for each row values(1); 2)referencedColumns is null but referencedColumnsInTriggerAction is not null - then following will get read -1 -1 referencedColumnsInTriggerAction.length individual elements from referencedColumnsInTriggerAction arrary eg create trigger tr1 after update on t1 referencing old as oldt for each row values(oldt.id); 3)referencedColumns and referencedColumnsInTriggerAction are not null - then following will get read -1 referencedColumns.length individual elements from referencedColumns arrary referencedColumnsInTriggerAction.length individual elements from referencedColumnsInTriggerAction arrary eg create trigger tr1 after update of c1 on t1 referencing old as oldt for each row values(oldt.id); Scenario 1 for triggers is possible for all different releases of dbs ie both pre-10.7 and 10.7(and higher). But scenarios 2 and 3 are only possible with database at 10.7 or higher releases. Prior to 10.7, we did not collect any trigger action column info and hence referencedColumnsInTriggerAction will always be null for triggers created prior to 10.7 release.- 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
For triggers, 3 possible scenarios 1)referencedColumns is not null but referencedColumnsInTriggerAction is null - then following gets written referencedColumns.length individual elements from referencedColumns arrary eg create trigger tr1 after update of c1 on t1 for each row values(1); This can also happen for a trigger like following if the database is at pre-10.7 level. This is for backward compatibility reasons because pre-10.7 releases do not collect/work with trigger action column info in system table. That functionality has been added starting 10.7 release eg create trigger tr1 after update on t1 referencing old as oldt for each row values(oldt.id); 2)referencedColumns is null but referencedColumnsInTriggerAction is not null - then following gets written -1 -1 referencedColumnsInTriggerAction.length individual elements from referencedColumnsInTriggerAction arrary eg create trigger tr1 after update on t1 referencing old as oldt for each row values(oldt.id); 3)referencedColumns and referencedColumnsInTriggerAction are not null - then following gets written -1 referencedColumns.length individual elements from referencedColumns arrary referencedColumnsInTriggerAction.length individual elements from referencedColumnsInTriggerAction arrary eg create trigger tr1 after update of c1 on t1 referencing old as oldt for each row values(oldt.id);- 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 errorjava.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 errorjava.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 errorjava.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 errorjava.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 errorjava.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 errorjava.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.DisconnectException extends SqlException implements Serializable
-
Class org.apache.derby.client.am.SqlException extends java.lang.Exception implements Serializable
-
Serialized Fields
-
batchPositionLabel_
java.lang.String batchPositionLabel_
-
cachedMessage_
java.lang.String cachedMessage_
-
causeString_
java.lang.String causeString_
-
errorcode_
int errorcode_
-
message_
java.lang.String message_
-
nextException_
SqlException nextException_
-
sqlstate_
java.lang.String sqlstate_
-
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
-
host
java.lang.String host
-
logStatus
boolean logStatus
-
portNumber
int portNumber
-
server
NetworkServerControl server
-
traceStatus
boolean traceStatus
-
tracingDirectory
java.lang.String tracingDirectory
-
-
-
-
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.StandardException extends java.lang.Exception implements Serializable
-
Serialized Fields
-
severity
int severity
-
sqlState
java.lang.String sqlState
-
textMessage
java.lang.String textMessage
-
-
-
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 errorjava.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<java.lang.Object,java.lang.Object> 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 errorjava.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.sql.depend
-
Class org.apache.derby.iapi.sql.depend.ProviderList extends java.util.Hashtable<UUID,Provider> implements Serializable
-
-
Package org.apache.derby.iapi.sql.dictionary
-
Class org.apache.derby.iapi.sql.dictionary.ColumnDescriptorList extends java.util.ArrayList<ColumnDescriptor> implements Serializable
-
Class org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptorList extends java.util.ArrayList<ConglomerateDescriptor> implements Serializable
-
Class org.apache.derby.iapi.sql.dictionary.ConstraintDescriptorList extends java.util.ArrayList<ConstraintDescriptor> implements Serializable
-
Serialized Fields
-
scanned
boolean scanned
-
-
-
Class org.apache.derby.iapi.sql.dictionary.GenericDescriptorList extends java.util.ArrayList<E extends UniqueTupleDescriptor> 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 errorjava.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 UniqueSQLObjectDescriptor 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 errorjava.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.sql.dictionary.TriggerDescriptorList extends GenericDescriptorList<TriggerDescriptor> implements Serializable
-
-
Package org.apache.derby.iapi.sql.execute
-
Class org.apache.derby.iapi.sql.execute.ExecRowBuilder 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
-
-
-
-
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.DataType extends java.lang.Object implements Serializable
-
Serialization Methods
-
readExternal
public abstract void readExternal(java.io.ObjectInput arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
writeExternal
public abstract 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 errorjava.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.HarmonySerialBlob extends java.lang.Object implements Serializable
- serialVersionUID:
- -8144641928112860441L
-
Serialized Fields
-
blob
java.sql.Blob blob
-
buf
byte[] buf
-
len
long len
-
origLen
long origLen
-
-
Class org.apache.derby.iapi.types.HarmonySerialClob extends java.lang.Object implements Serializable
- serialVersionUID:
- -1662519690087375313L
-
Serialized Fields
-
buf
char[] buf
-
clob
java.sql.Clob clob
-
len
long len
-
origLen
long origLen
-
-
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 errorjava.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 abstract void readExternal(java.io.ObjectInput arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
writeExternal
public abstract 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 exceptionjava.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 exceptionjava.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.- 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 detectedjava.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 exceptionjava.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.- 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 objectjava.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
- 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.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 exceptionjava.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.- Since:
- JDK1.0
- See Also:
DataInputStream
-
-
-
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 objectjava.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
-
-
-
Class org.apache.derby.iapi.util.InterruptDetectedException extends StandardException implements Serializable
-
-
Package org.apache.derby.impl.services.monitor
-
Class org.apache.derby.impl.services.monitor.UpdateServiceProperties extends java.util.Properties implements Serializable
-
Serialized Fields
-
serviceBooted
boolean serviceBooted
-
serviceName
java.lang.String serviceName
-
serviceType
PersistentService serviceType
-
storageFactory
WritableStorageFactory storageFactory
-
-
-
-
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 errorjava.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 errorjava.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 errorjava.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 errorjava.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 errorjava.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.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 errorjava.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 errorjava.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<AggregatorInfo> implements Serializable
-
Serialization Methods
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on errorjava.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 errorjava.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 errorjava.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 errorjava.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 exceptionjava.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 errorjava.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 errorjava.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 errorjava.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 errorjava.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.MatchingClauseConstantAction extends java.lang.Object implements Serializable
- serialVersionUID:
- -6725483265211088817L
-
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 errorjava.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 errorjava.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.MergeConstantAction 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 errorjava.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.StdDevPAggregator extends VarPAggregator<V extends java.lang.Number> implements Serializable
- serialVersionUID:
- -265838381117407283L
-
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.sql.execute.StdDevSAggregator extends VarSAggregator<V extends java.lang.Number> implements Serializable
- serialVersionUID:
- -265838381117407283L
-
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.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 errorjava.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 errorjava.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 errorjava.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 errorjava.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)
-
-
-
Class org.apache.derby.impl.sql.execute.UserDefinedAggregator 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 errorjava.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
- on error
-
-
-
Class org.apache.derby.impl.sql.execute.VarPAggregator extends java.lang.Object implements Serializable
- serialVersionUID:
- 239794626052067761L
-
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.sql.execute.VarSAggregator extends VarPAggregator<V extends java.lang.Number> implements Serializable
- serialVersionUID:
- -741087542836440595L
-
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
-
-
-
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 objectjava.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
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.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
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.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
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.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 abstract void readExternal(java.io.ObjectInput arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
writeExternal
public abstract 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
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
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
-
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
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
- 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
- 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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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
-
column
java.lang.Object column
-
logBuffer
DynamicByteArrayOutputStream logBuffer
-
nextColumn
int nextColumn
-
realSpaceOnPage
int realSpaceOnPage
-
-
-
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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 streamjava.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 tablejava.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 theInputStream
.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 theOutputStream
.
-
-
-
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
-
currentToken
org.apache.derby.impl.tools.ij.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. -
eol
java.lang.String eol
The end of line string for this machine. -
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. -
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). -
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.
-
-
-
Class org.apache.derby.impl.tools.ij.TokenMgrError extends java.lang.Error implements Serializable
-
Serialized Fields
-
errorCode
int errorCode
-
-
-
-
Package org.apache.derby.jdbc
-
Class org.apache.derby.jdbc.BasicClientConnectionPoolDataSource40 extends BasicClientDataSource40 implements Serializable
- serialVersionUID:
- -539234282156481378L
-
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 failsjava.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.BasicClientDataSource40 extends java.lang.Object implements Serializable
- serialVersionUID:
- 1894299584216955554L
-
Serialized Fields
-
connectionAttributes
java.lang.String connectionAttributes
-
createDatabase
boolean createDatabase
Set to true if the database should be created. -
databaseName
java.lang.String databaseName
Stores the relational database name, RDBNAME. The length of the database name may be limited to 18 bytes and therefore may throw an SQLException. -
dataSourceName
java.lang.String dataSourceName
A data source name; used to name an underlying XADataSource, or ConnectionPoolDataSource when pooling of connections is done. -
description
java.lang.String description
A description of this data source. -
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. -
password
java.lang.String password
-
portNumber
int portNumber
-
retrieveMessageText
boolean retrieveMessageText
-
securityMechanism
short securityMechanism
Security Mechanism can be specified explicitly either when obtaining a connection via a DriverManager or via Datasource. Via DriverManager, securityMechanism can be set on the connection request using the 'securityMechanism' attribute. Via DataSource, securityMechanism can be set by calling setSecurityMechanism() on the ClientDataSource If the security mechanism is not explicitly set as mentioned above, in that case the Client will try to upgrade the security mechanism to a more secure one, if possible. SeeBasicClientDataSource40.getUpgradedSecurityMechanism(java.lang.String)
. Therefore, need to keep track if the securityMechanism has been explicitly set. -
serverName
java.lang.String serverName
-
shutdownDatabase
boolean shutdownDatabase
Set to true if the database should be shutdown. -
sslMode
int sslMode
-
traceDirectory
java.lang.String traceDirectory
-
traceFile
java.lang.String traceFile
-
traceFileAppend
boolean traceFileAppend
-
traceLevel
int traceLevel
-
user
java.lang.String user
This property can be overwritten by specifing the username parameter on the DataSource.getConnection() method call. If user is specified, then password must also be specified, either in the data source object or provided on the DataSource.getConnection() call. Each data source implementation subclass will maintain it's ownpassword
property. This password property may or may not be declared transient, and therefore may be serialized to a file in clear-text, care must taken by the user to prevent security breaches. Derby-406 fix
-
-
Class org.apache.derby.jdbc.BasicClientXADataSource40 extends BasicClientDataSource40 implements Serializable
- serialVersionUID:
- 7057075094707674881L
-
Class org.apache.derby.jdbc.BasicEmbeddedConnectionPoolDataSource40 extends BasicEmbeddedDataSource40 implements Serializable
- serialVersionUID:
- 7852784308039674161L
-
Class org.apache.derby.jdbc.BasicEmbeddedDataSource40 extends java.lang.Object implements Serializable
- serialVersionUID:
- -4945135214995641182L
-
Serialized Fields
-
attributesAsPassword
boolean attributesAsPassword
Set password to be a set of connection attributes. -
connectionAttributes
java.lang.String connectionAttributes
Derby specific connection attributes. Set byBasicEmbeddedDataSource40.setConnectionAttributes(java.lang.String)
. -
createDatabase
java.lang.String createDatabase
Set to "create" if the database should be created. SeeBasicEmbeddedDataSource40.setCreateDatabase(java.lang.String)
. -
databaseName
java.lang.String databaseName
-
dataSourceName
java.lang.String dataSourceName
-
description
java.lang.String description
-
loginTimeout
int loginTimeout
-
password
java.lang.String password
-
shortDatabaseName
java.lang.String shortDatabaseName
shortDatabaseName
has attributes ofdatabaseName
stripped off. SeeBasicEmbeddedDataSource40.databaseName
. -
shutdownDatabase
java.lang.String shutdownDatabase
Set to "shutdown" if the database should be shutdown. SeeBasicEmbeddedDataSource40.setShutdownDatabase(java.lang.String)
. -
user
java.lang.String user
-
-
Class org.apache.derby.jdbc.BasicEmbeddedXADataSource40 extends BasicEmbeddedDataSource40 implements Serializable
- serialVersionUID:
- -5715798975598379739L
-
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 failsjava.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
- serialVersionUID:
- 6313966728809326579L
-
Class org.apache.derby.jdbc.ClientDataSource extends BasicClientDataSource40 implements Serializable
- serialVersionUID:
- 1894299584216955553L
-
Class org.apache.derby.jdbc.ClientDataSource40 extends ClientDataSource implements Serializable
- serialVersionUID:
- -3936981157692787843L
-
Class org.apache.derby.jdbc.ClientXADataSource extends ClientDataSource implements Serializable
- serialVersionUID:
- 7057075094707674880L
-
Class org.apache.derby.jdbc.ClientXADataSource40 extends ClientXADataSource implements Serializable
- serialVersionUID:
- -3463444509507830926L
-
Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource extends EmbeddedDataSource implements Serializable
- serialVersionUID:
- 7852784308039674160L
-
Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource40 extends EmbeddedConnectionPoolDataSource implements Serializable
- serialVersionUID:
- -4368824293743156916L
-
Class org.apache.derby.jdbc.EmbeddedDataSource extends ReferenceableDataSource implements Serializable
- serialVersionUID:
- -4945135214995641181L
-
Class org.apache.derby.jdbc.EmbeddedDataSource40 extends EmbeddedDataSource implements Serializable
- serialVersionUID:
- 4472591890758954803L
-
Class org.apache.derby.jdbc.EmbeddedXADataSource extends EmbeddedDataSource implements Serializable
- serialVersionUID:
- -5715798975598379738L
-
Class org.apache.derby.jdbc.EmbeddedXADataSource40 extends EmbeddedXADataSource implements Serializable
- serialVersionUID:
- 4048303427908481258L
-
Class org.apache.derby.jdbc.ReferenceableDataSource extends BasicEmbeddedDataSource40 implements Serializable
- serialVersionUID:
- 1872877359127597176L
-
-
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
-
actions
java.lang.String actions
The actions of this permission, as returned byDatabasePermission.getActions()
.
-
-
-
Class org.apache.derby.security.SystemPermission extends java.security.BasicPermission implements Serializable
- serialVersionUID:
- 1965420504091489898L
-
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 SystemPermission from a stream.- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
-
Serialized Fields
-
actions
java.lang.String actions
Actions for this permission.
-
-
-
Package org.apache.derby.shared.common.error
-
Class org.apache.derby.shared.common.error.DerbySQLIntegrityConstraintViolationException extends java.sql.SQLIntegrityConstraintViolationException implements Serializable
-
Serialized Fields
-
constraintName
java.lang.String constraintName
-
tableName
java.lang.String tableName
-
-
-
Class org.apache.derby.shared.common.error.ShutdownException extends java.lang.RuntimeException implements Serializable
-
-
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
-
_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 -
OPERATOR_SYMBOLS
java.lang.String[] OPERATOR_SYMBOLS
-
-
Class org.apache.derby.vti.Restriction.OR extends Restriction implements Serializable
- serialVersionUID:
- -8205388794606605844L
-
Serialized Fields
-
_leftChild
Restriction _leftChild
-
_rightChild
Restriction _rightChild
-
-