org.apache.derby.impl.store.raw.data
Class CompressSpacePageOperation10_2
java.lang.Object
org.apache.derby.impl.store.raw.data.PageBasicOperation
org.apache.derby.impl.store.raw.data.PhysicalPageOperation
org.apache.derby.impl.store.raw.data.CompressSpacePageOperation
org.apache.derby.impl.store.raw.data.CompressSpacePageOperation10_2
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Formatable, TypedFormat, Loggable, RePreparable, Undoable
public final class CompressSpacePageOperation10_2
- extends CompressSpacePageOperation
This class overrides the CompressSpacePageOperation class to write
CompressSpaceOperation Log Records that do not support negative values
for new_highest_page. No other changes are added to the superclass behavior.
This class ensures backword compatibility for Soft upgrades.
- See Also:
- Serialized Form
Fields inherited from interface org.apache.derby.iapi.store.raw.Loggable |
ABORT, BI_LOG, CHECKSUM, COMMIT, COMPENSATION, FILE_RESOURCE, FIRST, LAST, PREPARE, RAWSTORE, XA_NEEDLOCK |
Methods inherited from class org.apache.derby.impl.store.raw.data.PageBasicOperation |
findpage, getPage, getPageForRedoRecovery, getPageId, getPageVersion, getPreparedLog, group, needsRedo, reclaimPrepareLocks, releaseResource, resetPageNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompressSpacePageOperation10_2
public CompressSpacePageOperation10_2(AllocPage allocPage,
int highest_page,
int num_truncated)
throws StandardException
- Constructors for This class:
- Throws:
StandardException
CompressSpacePageOperation10_2
public CompressSpacePageOperation10_2()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Public Methods of Formatable interface.
- Specified by:
writeExternal
in interface java.io.Externalizable
- Overrides:
writeExternal
in class CompressSpacePageOperation
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Overrides:
readExternal
in class CompressSpacePageOperation
- Throws:
java.io.IOException
- error reading from log stream
java.lang.ClassNotFoundException
- cannot read object from input
getTypeFormatId
public int getTypeFormatId()
- Return my format identifier.
- Specified by:
getTypeFormatId
in interface TypedFormat
- Overrides:
getTypeFormatId
in class CompressSpacePageOperation
- Returns:
- The identifier. (A UUID stuffed in an array
of 16 bytes).
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.