# Serialized Form

- ## Package org.apache.derby.agg

- ## Package org.apache.derby.authentication

  - ### Class org.apache.derby.authentication.SystemPrincipal

    class SystemPrincipal extends Object implements Serializable
    serialVersionUID:
      925380094921530190L

    - #### Serialization Methods

      - ##### readObject

        private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
        Called upon deserialization for restoring the state of this SystemPrincipal from a stream.
        Throws:
          `IOException`
          `ClassNotFoundException`

    - #### Serialized Fields

      - ##### name

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

  - ### Class org.apache.derby.drda.NetServlet

    class NetServlet extends HttpServlet implements Serializable

    - #### Serialized Fields

      - ##### host

            String host

      - ##### logStatus

            boolean logStatus

      - ##### portNumber

            int portNumber

      - ##### server

            NetworkServerControl server

      - ##### traceStatus

            boolean traceStatus

      - ##### tracingDirectory

            String tracingDirectory

- ## Package org.apache.derby.jdbc

  - ### Class org.apache.derby.jdbc.BasicClientConnectionPoolDataSource40

    class BasicClientConnectionPoolDataSource40 extends BasicClientDataSource40 implements Serializable
    serialVersionUID:
      -539234282156481378L

    - #### Serialization Methods

      - ##### readObject

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

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

        Parameters:
          `inputStream` - data stream to read objects from
        Throws:
          `ClassNotFoundException` - if instantiating a class fails
          `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

    class BasicClientDataSource40 extends org.apache.derby.client.BasicClientDataSource implements Serializable
    serialVersionUID:
      1894299584216955554L

  - ### Class org.apache.derby.jdbc.BasicClientXADataSource40

    class BasicClientXADataSource40 extends BasicClientDataSource40 implements Serializable
    serialVersionUID:
      7057075094707674881L

  - ### Class org.apache.derby.jdbc.BasicEmbeddedConnectionPoolDataSource40

    class BasicEmbeddedConnectionPoolDataSource40 extends BasicEmbeddedDataSource40 implements Serializable
    serialVersionUID:
      7852784308039674161L

  - ### Class org.apache.derby.jdbc.BasicEmbeddedDataSource40

    class BasicEmbeddedDataSource40 extends Object implements Serializable
    serialVersionUID:
      -4945135214995641182L

    - #### Serialized Fields

      - ##### attributesAsPassword

            boolean attributesAsPassword

        Set password to be a set of connection attributes.

      - ##### connectionAttributes

            String connectionAttributes

        Derby specific connection attributes. Set by `BasicEmbeddedDataSource40.setConnectionAttributes(java.lang.String)`.

      - ##### createDatabase

            String createDatabase

        Set to "create" if the database should be created. See `BasicEmbeddedDataSource40.setCreateDatabase(java.lang.String)`.

      - ##### databaseName

            String databaseName

        Set by `BasicEmbeddedDataSource40.setDatabaseName(java.lang.String)`.

      - ##### dataSourceName

            String dataSourceName

        Set by `BasicEmbeddedDataSource40.setDataSourceName(java.lang.String)`.

      - ##### description

            String description

        Set by `BasicEmbeddedDataSource40.setDescription(java.lang.String)`.

      - ##### loginTimeout

            int loginTimeout

        Set by `BasicEmbeddedDataSource40.setLoginTimeout(int)`.

      - ##### password

            String password

        Set by `BasicEmbeddedDataSource40.setPassword(java.lang.String)`.

      - ##### shortDatabaseName

            String shortDatabaseName

        `shortDatabaseName` has attributes of `databaseName` stripped off. See `BasicEmbeddedDataSource40.databaseName`.

      - ##### shutdownDatabase

            String shutdownDatabase

        Set to "shutdown" if the database should be shutdown. See `BasicEmbeddedDataSource40.setShutdownDatabase(java.lang.String)`.

      - ##### user

            String user

        Set by `BasicEmbeddedDataSource40.setUser(java.lang.String)`.

  - ### Class org.apache.derby.jdbc.BasicEmbeddedXADataSource40

    class BasicEmbeddedXADataSource40 extends BasicEmbeddedDataSource40 implements Serializable
    serialVersionUID:
      -5715798975598379739L

  - ### Class org.apache.derby.jdbc.ClientConnectionPoolDataSource

    class ClientConnectionPoolDataSource extends ClientDataSource implements Serializable
    serialVersionUID:
      -539234282156481377L

    - #### Serialization Methods

      - ##### readObject

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

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

        Parameters:
          `inputStream` - data stream to read objects from
        Throws:
          `ClassNotFoundException` - if instantiating a class fails
          `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

    class ClientConnectionPoolDataSource40 extends ClientConnectionPoolDataSource implements Serializable
    serialVersionUID:
      6313966728809326579L

  - ### Class org.apache.derby.jdbc.ClientDataSource

    class ClientDataSource extends BasicClientDataSource40 implements Serializable
    serialVersionUID:
      1894299584216955553L

  - ### Class org.apache.derby.jdbc.ClientDataSource40

    class ClientDataSource40 extends ClientDataSource implements Serializable
    serialVersionUID:
      -3936981157692787843L

  - ### Class org.apache.derby.jdbc.ClientXADataSource

    class ClientXADataSource extends ClientDataSource implements Serializable
    serialVersionUID:
      7057075094707674880L

  - ### Class org.apache.derby.jdbc.ClientXADataSource40

    class ClientXADataSource40 extends ClientXADataSource implements Serializable
    serialVersionUID:
      -3463444509507830926L

  - ### Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource

    class EmbeddedConnectionPoolDataSource extends EmbeddedDataSource implements Serializable
    serialVersionUID:
      7852784308039674160L

  - ### Class org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource40

    class EmbeddedConnectionPoolDataSource40 extends EmbeddedConnectionPoolDataSource implements Serializable
    serialVersionUID:
      -4368824293743156916L

  - ### Class org.apache.derby.jdbc.EmbeddedDataSource

    class EmbeddedDataSource extends org.apache.derby.jdbc.ReferenceableDataSource implements Serializable
    serialVersionUID:
      -4945135214995641181L

  - ### Class org.apache.derby.jdbc.EmbeddedDataSource40

    class EmbeddedDataSource40 extends EmbeddedDataSource implements Serializable
    serialVersionUID:
      4472591890758954803L

  - ### Class org.apache.derby.jdbc.EmbeddedXADataSource

    class EmbeddedXADataSource extends EmbeddedDataSource implements Serializable
    serialVersionUID:
      -5715798975598379738L

  - ### Class org.apache.derby.jdbc.EmbeddedXADataSource40

    class EmbeddedXADataSource40 extends EmbeddedXADataSource implements Serializable
    serialVersionUID:
      4048303427908481258L

  - ### Class org.apache.derby.jdbc.ReferenceableDataSource

    class ReferenceableDataSource extends BasicEmbeddedDataSource40 implements Serializable
    serialVersionUID:
      1872877359127597176L

- ## Package org.apache.derby.shared.common.security

  - ### Class org.apache.derby.shared.common.security.SystemPermission

    class SystemPermission extends BasicPermission implements Serializable
    serialVersionUID:
      1965420504091489898L

    - #### Serialization Methods

      - ##### readObject

        private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
        Called upon deserialization for restoring the state of this SystemPermission from a stream.
        Throws:
          `IOException`
          `ClassNotFoundException`

    - #### Serialized Fields

      - ##### actions

            String actions

        Actions for this permission.

- ## Package org.apache.derby.vti

  - ### Class org.apache.derby.vti.Restriction

    class Restriction extends Object implements Serializable

  - ### Class org.apache.derby.vti.Restriction.AND

    class AND extends Restriction implements Serializable
    serialVersionUID:
      -8205388794606605844L

    - #### Serialized Fields

      - ##### _leftChild

            Restriction _leftChild

      - ##### _rightChild

            Restriction _rightChild

  - ### Class org.apache.derby.vti.Restriction.ColumnQualifier

    class ColumnQualifier extends Restriction implements Serializable
    serialVersionUID:
      -8205388794606605844L

    - #### Serialized Fields

      - ##### _columnName

            String _columnName

        name of column being restricted

      - ##### _comparisonOperator

            int _comparisonOperator

        comparison operator, one of the ORDER_OP constants

      - ##### _constantOperand

            Object _constantOperand

        value to compare the column to

      - ##### OPERATOR_SYMBOLS

            String[] OPERATOR_SYMBOLS

  - ### Class org.apache.derby.vti.Restriction.OR

    class OR extends Restriction implements Serializable
    serialVersionUID:
      -8205388794606605844L

    - #### Serialized Fields

      - ##### _leftChild

            Restriction _leftChild

      - ##### _rightChild

            Restriction _rightChild