|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RawContainerHandle
RawContainerHandle is the form of ContainerHandle that is used within the raw store. This allows the raw store to have a handle on dropped container without exposing this to the external interface, which is not allowed to get back a handle on a dropped container
Field Summary | |
---|---|
static int |
COMMITTED_DROP
|
static int |
DROPPED
|
static int |
NORMAL
A container can be in 4 states: non_existent - this is represented by a null ContainerHandle NORMAL - this is the normal case, container has been created and is not dropped. |
Method Summary | |
---|---|
void |
dropContainer(LogInstant instant,
boolean drop)
If drop is true, drop the container. |
void |
encryptContainer(java.lang.String newFilePath)
Create encrypted version of the container with the user specified encryption properties. |
Page |
getAnyPage(long pageNumber)
Return a Page that represents any page - alloc page, valid page, free page, dealloced page etc. |
int |
getContainerStatus()
Return the status of the container - one of NORMAL, DROPPED, COMMITTED_DROP. |
long |
getContainerVersion()
Get the logged container version |
ByteArray |
logCreateContainerInfo()
Log all information necessary to recreate the container during a load tran. |
void |
preDirty(boolean preDirtyOn)
The container is about to be modified. |
Page |
reCreatePageForRedoRecovery(int pageFormat,
long pageNumber,
long pageOffset)
ReCreate a page for redo recovery. |
void |
removeContainer(LogInstant instant)
Remove the container. |
Methods inherited from interface org.apache.derby.iapi.store.raw.ContainerHandle |
---|
addPage, addPage, backupContainer, close, compactRecord, compressContainer, flushContainer, getContainerProperties, getEstimatedPageCount, getEstimatedRowCount, getFirstPage, getId, getLockingPolicy, getNextPage, getPage, getPageForCompress, getPageForInsert, getPageNoWait, getReusableRecordIdSequenceNumber, getSpaceInfo, getUniqueId, getUserPageNoWait, getUserPageWait, isReadOnly, isTemporaryContainer, makeRecordHandle, preAllocate, removePage, setEstimatedRowCount, setLockingPolicy |
Field Detail |
---|
static final int NORMAL
static final int DROPPED
static final int COMMITTED_DROP
Method Detail |
---|
int getContainerStatus() throws StandardException
StandardException
- Standard Derby exception policyvoid removeContainer(LogInstant instant) throws StandardException
StandardException
- Standard Derby exception policyvoid dropContainer(LogInstant instant, boolean drop) throws StandardException
StandardException
- Standard Derby exception policylong getContainerVersion() throws StandardException
StandardException
- Standard Derby exception policyPage getAnyPage(long pageNumber) throws StandardException
StandardException
- Standard Derby error policyPage reCreatePageForRedoRecovery(int pageFormat, long pageNumber, long pageOffset) throws StandardException
StandardException
- Standard Derby error policyByteArray logCreateContainerInfo() throws StandardException
StandardException
- Standard Derby error policyvoid preDirty(boolean preDirtyOn) throws StandardException
StandardException
- Standard Derby error policyvoid encryptContainer(java.lang.String newFilePath) throws StandardException
newFilePath
- file to store the new encrypted version of the container
StandardException
- Standard Derby error policy
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |