org.apache.derby.impl.store.raw.data

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db derby 10.2 » org.apache.derby.impl.store.raw.data 
org.apache.derby.impl.store.raw.data
Java Source File NameTypeComment
AllocationActions.javaInterface This interface describe the operations that has to do with page allocation/deallocation.
AllocationCache.javaClass An auxiliary object to cache the allocation information for a file container.
AllocExtent.javaClass An allocation extent row manages the page status of page in the extent.
AllocPage.javaClass An allocation page of the file container.

This class extends a normal Stored page, with the exception that a hunk of space may be 'borrowed' by the file container to store the file header.

The borrowed space is not visible to the alloc page even though it is present in the page data array.

AllocPageOperation.javaClass
BaseContainer.javaClass 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.
BaseContainerHandle.javaClass A handle to an open container, implememts RawContainerHandle.
BaseDataFileFactory.javaClass Provides the abstract class with most of the implementation of DataFactory and ModuleControl shared by all the different filesystem implementations.

RESOLVE (mikem - 2/19/98) - Currently only getContainerClass() is abstract, there are probably more routines which should be abstract.

BasePage.javaClass This class implements all the the generic locking behaviour for a Page. It leaves method used to log and store the records up to sub-classes. It is intended that the object can represent multiple pages from different containers during its lifetime.

A page contains a set of records, which can be accessed by "slot", which defines the order of the records on the page, or by "id" which defines the identity of the records on the page.

BufferedByteHolderInputStream.javaClass
ByteHolder.javaInterface Holder for a growing sequence of bytes.
ByteHolderInputStream.javaClass
CachedPage.javaClass A base page that is cached.
ChainAllocPageOperation.javaClass
CompressSpacePageOperation.javaClass Log operation to implement compressing space from a container and returning it to the operating system.
ContainerActionOnCommit.javaClass An Observer that can be attached to a transaction to implement some action when the transaction commits or rollsback in some way.
ContainerBasicOperation.javaClass A Container Operation change the state of the container.
ContainerHandleActionOnCommit.javaClass An abstract class that opens the container at commit and delegates the actual work to a sub-class.
ContainerOperation.javaClass Log operation to create, drop or remove a container. Both the doMe or the undoMe of a create actually caused the container header to be modified and flushed before the log record is flushed.
ContainerUndoOperation.javaClass
CopyRowsOperation.javaClass Represents copying num_rows from one page to another page.
DecryptInputStream.javaClass A DecryptInputStream is used by stream container to access an encrypted stream of bytes.
DeleteOperation.javaClass Represents a delete (or undelete) of a record in a page.
DirectActions.javaClass
DirectAllocActions.javaClass
DropOnCommit.javaClass
D_BaseContainerHandle.javaClass The D_BaseContainerHandle class provides diagnostic information about the BaseContainerHandle class.
D_DiagnosticUtil.javaClass This class provides some utility functions used to debug on disk structures of the store.
D_RecordId.javaClass The D_RecordId class provides diagnostic information about the BaseContainerHandle class.
D_StoredPage.javaClass The D_StoredPage class provides diagnostic information about the StoredPage class.
EncryptContainerOperation.javaClass Log operation to encrypt a container with a new encryption key or to encrypt an unencrypted container while configuring the database for encryption.
EncryptContainerUndoOperation.javaClass
EncryptData.javaClass This 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.javaClass FileContainer is an abstract base class for containers which are based on files.
InitPageOperation.javaClass This operation initializes the page that is being allocated, this operation does not change the alloc page information.
InputStreamContainer.javaClass A class that uses a ZipEntry to be a single container file, but read-only.
InsertOperation.javaClass Represents an insert of a record onto a page.
InvalidatePageOperation.javaClass Represents invalidating a page due to deallocation.
LoggableActions.javaClass
LoggableAllocActions.javaClass
LogicalPageOperation.javaClass An abstract class that is used for logical log operation.
LogicalUndoOperation.javaClass LogicalUndoOperation is a compensation operation that rolls back the change of an LogicalUndoable operation.
LongColumnException.javaClass An exception used to pass a specfic "error code" through various layers of software.
MemByteHolder.javaClass A ByteHolder that stores all its bytes in memory.
NoSpaceOnPage.javaClass An exception used to pass a specfic "error code" through various layers of software.
OverflowInputStream.javaClass A OverflowInputStream is used by store to turn a long column into an InputStream.
PageActions.javaInterface
PageBasicOperation.javaClass A PageBasicOperation changed the content of a page, this is the root class of all page oriented operation.
PageVersion.javaClass
PhysicalPageOperation.javaClass An abstract class that is used for physical log operation.
PhysicalUndoOperation.javaClass PhysicalUndoOperation is a compensation operation that rolls back the change of an Undo-able operation.
PurgeOperation.javaClass USE WITH EXTREME Caution: Purge records from a Page.
RAFContainer.javaClass RAFContainer (short for RandomAccessFileContainer) is a concrete subclass of FileContainer for FileContainers which are implemented on java.io.RandomAccessFile.
RawField.javaClass
ReclaimSpace.javaClass Post commit work to reclaim some space from the raw store.
ReclaimSpaceHelper.javaClass This class helps a BaseDataFactory reclaims unused space. Space needs to be reclaimed in the following cases:
  • Row with long columns or overflow row pieces is deleted
  • Insertion of a row that has long columns or overflows to other row pieces is rolled back
  • Row is updated and the head row or some row pieces shrunk
  • Row is updated and some long columns are orphaned because they are updated
  • Row is updated and some long columns are created but the update rolled back
  • Row is updated and some new row pieces are created but the update rolled back

    We can implement a lot of optimization if we know that btree does not overflow. However, since that is not the case and Raw Store cannot tell if it is dealing with a btree page or a heap page, they all have to be treated gingerly.

  • RecordId.javaClass Implementation of RecordHandle.
    RememberBytesInputStream.javaClass A FilterInputStream that remembers read or skipped bytes.

    In record mode this stream remembers all the bytes a caller reads or skips.

    RemoveFileOperation.javaClass
    RFResource.javaClass
    SetReservedSpaceOperation.javaClass Represents shrinking of the reserved space of a particular row on a page.
    SpaceInformation.javaClass Manage the result information from a single call to ConglomerateController.getSpaceInfo().
    StoredFieldHeader.javaClass A class to provide static methods to manipulate fields in the field header. A class StoredPage uses to read/write field status and field data length. No attributes exist in this class, this class provides a set of static methods for writing field status and field data length, and for reading field status and field data length.

    Stored Field Header Format
    The field header is broken into two sections.

    StoredPage.javaClass
    StoredRecordHeader.javaClass A class StoredPage uses to cache record headers by passing instances to BasePage, and to write stored versions of record headers.
    StreamFileContainer.javaClass The format of this stream file is: (RH) (FH) (field data) (FH) (field data) ........
    StreamFileContainerHandle.javaClass A handle to an open stream container, implememts StreamContainerHandle.
    SyncOnCommit.javaClass
    TempRAFContainer.javaClass
    TruncateOnCommit.javaClass
    UpdateFieldOperation.javaClass Represents the update of a particular field of a row on a page.
    UpdateOperation.javaClass Represents the update of a particular row on a page.
    www.java2java.com | Contact Us
    Copyright 2009 - 12 Demo Source and Support. All rights reserved.
    All other trademarks are property of their respective owners.