Package org.apache.derby.impl.store.raw.data
package org.apache.derby.impl.store.raw.data
-
ClassDescriptionThis interface describe the operations that has to do with page allocation/deallocation.An auxiliary object to cache the allocation information for a file container.An allocation extent row manages the page status of page in the extent.An allocation page of the file container.BaseContainer is an abstract class that provides the locking bahaviour for an object representing an active container, that is the actual storage container, not the ContainerHandle interface.A handle to an open container, implememts RawContainerHandle.Provides the abstract class with most of the implementation of DataFactory and ModuleControl shared by all the different filesystem implementations.This class overloads BaseDataFileFactory to produce RAFContainer4 objects instead of RAFContainer objects.This class implements all the the generic locking behaviour for a Page.Holder for a growing sequence of bytes.A base page that is cached.Log operation to implement compressing space from a container and returning it to the operating system.This class overrides the CompressSpacePageOperation class to write CompressSpaceOperation Log Records that do not support negative values for new_highest_page.An Observer that can be attached to a transaction to implement some action when the transaction commits or rollsback in some way.A Container Operation change the state of the container.An abstract class that opens the container at commit and delegates the actual work to a sub-class.Log operation to create, drop or remove a container.A Container undo operation rolls back the change of a Container operationRepresents copying num_rows from one page to another page.The D_BaseContainerHandle class provides diagnostic information about the BaseContainerHandle class.This class provides some utility functions used to debug on disk structures of the store.The D_RecordId class provides diagnostic information about the BaseContainerHandle class.The D_StoredPage class provides diagnostic information about the StoredPage class.A DecryptInputStream is used by stream container to access an encrypted stream of bytes.Represents a delete (or undelete) of a record in a page.Drop a table on a commit or abortLog operation to encrypt a container with a new encryption key or to encrypt an unencrypted container while configuring the database for encryption.A Encrypt Container undo operation rolls back the change of a Encrypt Container operationThis class is used to encrypt all the containers in the data segment with a new encryption key when password/key is changed or when an existing database is reconfigured for encryption.FileContainer is an abstract base class for containers which are based on files.This operation initializes the page that is being allocated, this operation does not change the alloc page information.A class that uses a ZipEntry to be a single container file, but read-only.Represents an insert of a record onto a page.Represents invalidating a page due to deallocation.An abstract class that is used for logical log operation.LogicalUndoOperation is a compensation operation that rolls back the change of an LogicalUndoable operation.An exception used to pass a specfic "error code" through various layers of software.A ByteHolder that stores all its bytes in memory.An exception used to pass a specfic "error code" through various layers of software.A OverflowInputStream is used by store to turn a long column into an InputStream.A PageBasicOperation changed the content of a page, this is the root class of all page oriented operation.This class holds information that is passed to
CachedPage.createPage()
and used when a page object (either aStoredPage
or anAllocPage
) is created.A per page version number is one way to implement a page time stampAn abstract class that is used for physical log operation.PhysicalUndoOperation is a compensation operation that rolls back the change of an Undo-able operation.USE WITH EXTREME Caution: Purge records from a Page.RAFContainer (short for RandomAccessFileContainer) is a concrete subclass of FileContainer for FileContainers which are implemented on java.io.RandomAccessFile.RAFContainer4 overrides a few methods in FileContainer/RAFContainer in order to use FileChannel from Java 1.4's New IO framework to issue multiple IO operations to the same file concurrently instead of strictly serializing IO operations using a mutex on the container object.Post commit work to reclaim some space from the raw store.This class helps a BaseDataFactory reclaims unused space.Implementation of RecordHandle.A FilterInputStream that remembers read or skipped bytes.Represents shrinking of the reserved space of a particular row on a page.Manage the result information from a single call to ConglomerateController.getSpaceInfo().A class to provide static methods to manipulate fields in the field header.StoredPage is a sub class of CachedPage that stores page data in a fixed size byte array and is designed to be written out to a file through a DataInput/DataOutput interface.A class StoredPage uses to cache record headers by passing instances to BasePage, and to write stored versions of record headers.Class which holds the fieldsoverflowId
,overflowPage
andfirstField
, which are not needed when there is no overflow.The format of this stream file is: (RH) (FH) (field data) (FH) (field data) ........A handle to an open stream container, implememts StreamContainerHandle.Flush all pages for a table on a commitneedsSync is never true - DONE An exception never marks the store as corrupt clean() does not stubbify preAllocate() does nothing - DONE getFileName() returns a file in the tmp directory - DONE flushAll does nothing - DONE file descriptor is never syncedTruncate a temp table on a commit, abort or rollback to savepointRepresents the update of a particular field of a row on a page.Represents the update of a particular row on a page.