Serialized Form
Package org.apache.derby.authentication |
serialVersionUID: 925380094921530190L
name
java.lang.String name
- The name of the principal.
Note that the name is not a "normalized" Authorization Identifier.
This is due to peculiarities of the Java Security Runtime, which
compares a javax.security.auth.Subject
's Principals
against the literal Principal name as declared in the policy files,
and not against the return value of method getName()
.
So, a normalization of names within SystemPrincipal doesn't affect
permission checking by the SecurityManager.
In order for a javax.security.auth.Subject
to be
granted permissions on the basis Authorization Identifier rules, e.g.,
for a Subject authenticated as edWard to fall under a policy clause
declared for EDWARD, the Subject has to be constructed (or augmented)
with both the literal name and the normalized Authorization Identifier.
As an alternative approach, class SystemPrincipal
could
implement the non-standard interface
com.sun.security.auth.PrincipalComparator
, which declares
a method implies(Subject) that would allow for Principals
to match Subjects on the basis of normalized Authorization Identifiers.
But then we'd be relying upon non-standard Security Runtime behaviour.
- See Also:
- User Names & Authorization Identifiers in Derby
Package org.apache.derby.catalog |
Package org.apache.derby.catalog.types |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on read error
java.lang.ClassNotFoundException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on write error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on read error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on write error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
Read ourself from a formatable stream.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
Write ourself to a formatable stream.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
Package org.apache.derby.client.am |
message_
java.lang.String message_
cachedMessage_
java.lang.String cachedMessage_
batchPositionLabel_
java.lang.String batchPositionLabel_
sqlstate_
java.lang.String sqlstate_
errorcode_
int errorcode_
causeString_
java.lang.String causeString_
nextException_
SqlException nextException_
throwable_
java.lang.Throwable throwable_
wrappedException_
java.sql.SQLException wrappedException_
- The wrapped SQLException, if one exists
nextWarning_
SqlWarning nextWarning_
Package org.apache.derby.drda |
formHeader
java.lang.String formHeader
host
java.lang.String host
portNumber
int portNumber
tracingDirectory
java.lang.String tracingDirectory
logStatus
boolean logStatus
traceStatus
boolean traceStatus
knownLang
java.lang.String[] knownLang
locale
java.lang.String locale
server
NetworkServerControl server
out
java.io.PrintWriter out
service
java.lang.Runnable service
Package org.apache.derby.iapi.error |
severity
int severity
textMessage
java.lang.String textMessage
sqlState
java.lang.String sqlState
Package org.apache.derby.iapi.services.io |
sqlState
java.lang.String sqlState
- A Derby SQLState.
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this array from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this array out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Note: gracefully handles zero length
bits -- will create a zero length array
with no bits being used. Fortunately
in.read() is ok with a zero length array
so no special code.
WARNING: this method cannot be changed w/o
changing SQLBit because SQLBit calls this
directly w/o calling read/writeObject(), so
the format id is not stored in that case.
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Format:
- int length in bits
- byte[]
- Throws:
java.io.IOException
- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read the hash table from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the hash table out. Step through
the enumeration and write the strings out
in UTF.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this formatable from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this formatable out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this formatable from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this formatable out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read the properties from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the properties out. Step through
the enumeration and write the strings out
in UTF.
- Throws:
java.io.IOException
- thrown on error
Package org.apache.derby.iapi.services.sanity |
Package org.apache.derby.iapi.sql.depend |
Package org.apache.derby.iapi.sql.dictionary |
scanned
boolean scanned
scanned
boolean scanned
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on read error
java.lang.ClassNotFoundException
- Thrown on read error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on write error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
Package org.apache.derby.iapi.sql.execute |
Package org.apache.derby.iapi.store.access |
Package org.apache.derby.iapi.store.access.conglomerate |
Package org.apache.derby.iapi.store.raw |
Package org.apache.derby.iapi.store.raw.log |
Package org.apache.derby.iapi.store.raw.xact |
Package org.apache.derby.iapi.types |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Note the use of data2c: we reuse the array if the
incoming array is the same length or smaller than
the array length.
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Distill the Decimal to a byte array and
Write out:
- scale (unsigned byte)
- length of byte array
- the byte array
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput arg0)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput arg0)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput arg0)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput arg0)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- delegated to bit
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- class not found
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the value out from the byte array (not called if null)
using the 8.1 encoding.
- Throws:
java.io.IOException
- io exception
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- delegated to bit
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- class not found
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the value out from the byte array (not called if null)
using the 8.1 encoding.
- Throws:
java.io.IOException
- io exception
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Writes a non-Clob data value to the modified UTF-8 format used by Derby.
The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Reads and materializes the CLOB value from the stream.
- Throws:
java.io.UTFDataFormatException
- if an encoding error is detected
java.io.IOException
- if reading from the stream fails, or the content of
the stream header is invalid
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Writes the CLOB data value to the given destination stream using the
modified UTF-8 format.
- Throws:
java.io.IOException
- if writing to the destination stream fails- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on error reading the object- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Note the use of rawData: we reuse the array if the
incoming array is the same length or smaller than
the array length.
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Distill the BigDecimal to a byte array and
write out:
- scale (zero or positive) as a byte
- length of byte array as a byte
- the byte array
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- delegated to bit
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- class not found
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the value out from the byte array (not called if null)
using the 8.1 encoding.
- Throws:
java.io.IOException
- io exception
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Writes a non-Clob data value to the modified UTF-8 format used by Derby.
The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
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
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on error reading the object
java.lang.ClassNotFoundException
- Thrown if the class of the object
read from the stream can't be found
(not likely, since it's supposed to
be SQLRef).- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
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
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on error reading the object- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- Thrown on error reading the object- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- delegated to bit
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- class not found
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write the value out from the byte array (not called if null)
using the 8.1 encoding.
- Throws:
java.io.IOException
- io exception
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Writes a non-Clob data value to the modified UTF-8 format used by Derby.
The maximum stored size is based upon the UTF format
used to stored the String. The format consists of
a two byte length field and a maximum number of three
bytes for each character.
This puts an upper limit on the length of a stored
String. The maximum stored length is 65535, these leads to
the worse case of a maximum string length of 21844 ((65535 - 2) / 3).
Strings with stored length longer than 64K is handled with
the following format:
(1) 2 byte length: will be assigned 0.
(2) UTF formated string data.
(3) terminate the string with the following 3 bytes:
first byte is:
+---+---+---+---+---+---+---+---+
| 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
second byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
third byte is:
+---+---+---+---+---+---+---+---+
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+---+---+---+---+---+---+---+---+
The UTF format:
Writes a string to the underlying output stream using UTF-8
encoding in a machine-independent manner.
First, two bytes are written to the output stream as if by the
writeShort
method giving the number of bytes to
follow. This value is the number of bytes actually written out,
not the length of the string. Following the length, each character
of the string is output, in sequence, using the UTF-8 encoding
for the character.
- Throws:
java.io.IOException
- if an I/O error occurs.
java.io.IOException
- thrown by writeUTF- Since:
- JDK1.0
- See Also:
DataInputStream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- on error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on error reading the object
java.lang.ClassNotFoundException
- Thrown if the class of the object
is not found- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read an XML value from an input stream.
- 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 |
read
java.util.Properties read
write
java.util.Properties write
Package org.apache.derby.impl.jdbc |
messageId
java.lang.String messageId
Package org.apache.derby.impl.services.monitor |
serviceType
PersistentService serviceType
serviceName
java.lang.String serviceName
storageFactory
WritableStorageFactory storageFactory
serviceBooted
boolean serviceBooted
Package org.apache.derby.impl.services.uuid |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
Package org.apache.derby.impl.sql |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- on error
Package org.apache.derby.impl.sql.catalog |
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this object from a stream of stored objects. Set
the minor version. Ignore the major version.
- Throws:
java.io.IOException
- on error
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects. Write
out the minor version which is bumped across minor release.
Just to be safe, write out the major version too. This
will allow us to do versioning of a specific Version impl
in the future.
- Throws:
java.io.IOException
- on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects. Just read the
byte array, besides what the parent does.
- 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
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects. Nothing to
do. Our persistent representation is just a 2-byte format id.
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects. Again, nothing
to do. We just stamp the output stream with our Format id.
- Throws:
java.io.IOException
Package org.apache.derby.impl.sql.compile |
specialConstructor
boolean specialConstructor
- This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
currentToken
Token currentToken
- This is the last token that has been consumed successfully. If
this object has been created due to a parse error, the token
followng this token will (therefore) be the first error token.
expectedTokenSequences
int[][] expectedTokenSequences
- Each entry in this array is an array of integers. Each array
of integers represents a sequence of tokens (by their ordinal
values) that is expected at this point of the parse.
tokenImage
java.lang.String[] tokenImage
- This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred. This array is
defined in the generated ...Constants interface.
eol
java.lang.String eol
- The end of line string for this machine.
errorCode
int errorCode
- Indicates the reason why the exception is thrown. It will have
one of the above 4 values.
Package org.apache.derby.impl.sql.depend |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
Package org.apache.derby.impl.sql.execute |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- on error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public final void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- io exception
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public final void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Although we are not expected to be persistent per se,
we may be written out by the sorter temporarily. So
we need to be able to write ourselves out and read
ourselves back in.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- on error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- on error
java.lang.ClassNotFoundException
- on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Although we are not expected to be persistent per se,
we may be written out by the sorter temporarily. So
we need to be able to write ourselves out and read
ourselves back in. We rely on formatable to handle
situations where value is null.
Why would we be called to write ourselves out if we
are null? For scalar aggregates, we don't bother
setting up the aggregator since we only need a single
row. So for a scalar aggregate that needs to go to
disk, the aggregator might be null.
- Throws:
java.io.IOException
- on error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object out
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this object from a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this object to a stream of stored objects.
- Throws:
java.io.IOException
- thrown on error
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on error- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- thrown on error- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
Package org.apache.derby.impl.store.access |
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
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
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- Thrown on error reading the object
java.lang.ClassNotFoundException
- Thrown if the class of the object
is not found- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- error writing data
Package org.apache.derby.impl.store.access.btree |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Restore the in-memory representation from the stream.
- Throws:
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.
java.io.IOException
- thrown by readObject()- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the stream.
It might be easier to simply store the properties - which would certainly
make upgrading easier.
- Throws:
java.io.IOException
- thrown by writeObject()
Package org.apache.derby.impl.store.access.btree.index |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- thrown by readObject()
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the
stream.
For more detailed description of the ACCESS_B2I_V3_ID and
ACCESS_B2I_V5_ID formats see documentation at top of file.
- Throws:
java.io.IOException
- thrown by writeObject()- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- thrown by readObject()
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the
stream.
For more detailed description of the format see documentation
at top of file.
- Throws:
java.io.IOException
- thrown by writeObject()- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- thrown by readObject()
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the
stream.
For more detailed description of the format see documentation
at top of file.
- Throws:
java.io.IOException
- thrown by writeObject()- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Restore the in-memory representation from the stream.
- Throws:
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.
java.io.IOException
- thrown by readObject()- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the stream.
It might be easier to simply store the properties - which would certainly
make upgrading easier.
- Throws:
java.io.IOException
- thrown by writeObject()
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Restore the in-memory representation from the stream.
This object has no state, so nothing to restore.
- Throws:
java.lang.ClassNotFoundException
- Thrown if the stored representation is
serialized and a class named in the stream could not be found.
java.io.IOException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- This object has no state, so nothing to write.
- Throws:
java.io.IOException
Package org.apache.derby.impl.store.access.conglomerate |
readExternal
public void readExternal(java.io.ObjectInput arg0)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput arg0)
throws java.io.IOException
- Throws:
java.io.IOException
Package org.apache.derby.impl.store.access.heap |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of column value in stream.
This routine uses the current database version to either store the
the 10.2 format (ACCESS_HEAP_V2_ID) or the current format
(ACCESS_HEAP_V3_ID).
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Store the stored representation of the column value in the
stream.
For more detailed description of the format see documentation
at top of file.
- Throws:
java.io.IOException
- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
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 |
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
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- cannot read object from input
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- cannot read object from input
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- cannot read object from input
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- cannot read object from input
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Public Methods of Formatable interface.
- Throws:
java.io.IOException
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
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- cannot read log record from log stream
java.lang.ClassNotFoundException
- cannot read ByteArray object
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- cannot read log record from log stream
java.lang.ClassNotFoundException
- cannot read ByteArray object
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- cannot read log record from log stream
java.lang.ClassNotFoundException
- cannot read ByteArray object
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
logBuffer
DynamicByteArrayOutputStream logBuffer
nextColumn
int nextColumn
realSpaceOnPage
int realSpaceOnPage
column
java.lang.Object column
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
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
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
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
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
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
Package org.apache.derby.impl.store.raw.log |
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
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
readExternal
public void readExternal(java.io.ObjectInput oi)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in.
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- corrupted log stream
writeExternal
public void writeExternal(java.io.ObjectOutput oo)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- corrupted log stream
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
Package org.apache.derby.impl.store.raw.xact |
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
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
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- log stream corrupted
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
- problem reading the transaction table
java.lang.ClassNotFoundException
- problem reading the transaction table
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
- problem reading the transaction table
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Read this in
- Throws:
java.io.IOException
- error reading from log stream
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Write this out.
- Throws:
java.io.IOException
- error writing to log stream
Package org.apache.derby.impl.store.replication.buffer |
Package org.apache.derby.impl.store.replication.net |
serialVersionUID: 1L
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Used to restore the contents of this object.
- Throws:
java.io.IOException
- If an exception occurs while reading from the
InputStream
.
java.lang.ClassNotFoundException
- Class of a serialized object cannot
be found.
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Used to save the contents of this Object.
- Throws:
java.io.IOException
- if an exception occurs while writing to the
OutputStream
.
Package org.apache.derby.impl.tools.ij |
e
java.sql.SQLException e
specialConstructor
boolean specialConstructor
- This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
currentToken
Token currentToken
- This is the last token that has been consumed successfully. If
this object has been created due to a parse error, the token
followng this token will (therefore) be the first error token.
expectedTokenSequences
int[][] expectedTokenSequences
- Each entry in this array is an array of integers. Each array
of integers represents a sequence of tokens (by their ordinal
values) that is expected at this point of the parse.
tokenImage
java.lang.String[] tokenImage
- This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred. This array is
defined in the generated ...Constants interface.
eol
java.lang.String eol
- The end of line string for this machine.
errorCode
int errorCode
- Indicates the reason why the exception is thrown. It will have
one of the above 4 values.
Package org.apache.derby.jdbc |
serialVersionUID: -7660172643035173692L
loginTimeout
int loginTimeout
- The time in seconds to wait for a connection request on this data source. The default value of zero indicates
that either the system time out be used or no timeout limit.
-
databaseName
java.lang.String databaseName
description
java.lang.String description
dataSourceName
java.lang.String dataSourceName
portNumber
int portNumber
serverName
java.lang.String serverName
user
java.lang.String user
securityMechanism
short securityMechanism
retrieveMessageText
boolean retrieveMessageText
traceFile
java.lang.String traceFile
traceDirectory
java.lang.String traceDirectory
traceFileAppend
boolean traceFileAppend
password
java.lang.String password
sslMode
int sslMode
createDatabase
boolean createDatabase
- Set to true if the database should be created.
shutdownDatabase
boolean shutdownDatabase
- Set to true if the database should be shutdown.
connectionAttributes
java.lang.String connectionAttributes
traceLevel
int traceLevel
serialVersionUID: -539234282156481377L
readObject
private void readObject(java.io.ObjectInputStream inputStream)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Read an object from the ObjectInputStream.
This implementation differs from the default one by initiating state
validation of the object created.
- Throws:
java.lang.ClassNotFoundException
- if instantiating a class fails
java.io.IOException
- if reading from the stream fails
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.
-
serialVersionUID: 1894299584216955553L
serialVersionUID: 7057075094707674880L
serialVersionUID: 7852784308039674160L
serialVersionUID: -4945135214995641181L
databaseName
java.lang.String databaseName
- The database name.
-
dataSourceName
java.lang.String dataSourceName
- The data source name.
-
description
java.lang.String description
- Description of the database.
-
createDatabase
java.lang.String createDatabase
- Set to "create" if the database should be created.
-
shutdownDatabase
java.lang.String shutdownDatabase
- Set to "shutdown" if the database should be shutdown.
-
connectionAttributes
java.lang.String connectionAttributes
- Derby specific connection attributes.
-
attributesAsPassword
boolean attributesAsPassword
- Set password to be a set of connection attributes.
serialVersionUID: -5715798975598379738L
serialVersionUID: 1872877359127597176L
description
java.lang.String description
dataSourceName
java.lang.String dataSourceName
databaseName
java.lang.String databaseName
password
java.lang.String password
user
java.lang.String user
loginTimeout
int loginTimeout
Package org.apache.derby.security |
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
url
java.lang.String url
- The original location URL passed to constructor.
pathType
char pathType
- Indicates whether the path denotes an inclusive, recursive, wildcard,
or single location.
If the path denotes an inclusive, recursive or wildcard location,
this field's value is URL_PATH_INCLUSIVE_CHAR, URL_PATH_RECURSIVE_CHAR,
or URL_PATH_WILDCARD_CHAR, respectively; otherwise, it's
URL_PATH_SEPARATOR_CHAR denoting a single location.
serialVersionUID: 1965420504091489898L
actions
java.lang.String actions
- Actions for this permission.
Package org.apache.derby.shared.common.sanity |
threadDump
java.lang.String threadDump
Package org.apache.derby.vti |
serialVersionUID: -8205388794606605844L
_leftChild
Restriction _leftChild
_rightChild
Restriction _rightChild
serialVersionUID: -8205388794606605844L
OPERATOR_SYMBOLS
java.lang.String[] OPERATOR_SYMBOLS
_columnName
java.lang.String _columnName
- name of column being restricted
_comparisonOperator
int _comparisonOperator
- comparison operator, one of the ORDER_OP constants
_constantOperand
java.lang.Object _constantOperand
- value to compare the column to
serialVersionUID: -8205388794606605844L
_leftChild
Restriction _leftChild
_rightChild
Restriction _rightChild
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.