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:
Externalizable, Serializable, Formatable, TypedFormat, Loggable, RePreparable, Undoable
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 backward compatibility for Soft upgrades.
- See Also:
-
Field Summary
Fields inherited from class CompressSpacePageOperation
newHighestPage, num_pages_truncatedFields inherited from class PageBasicOperation
containerHdl, foundHere, pageFields inherited from interface Loggable
ABORT, BI_LOG, CHECKSUM, COMMIT, COMPENSATION, FILE_RESOURCE, FIRST, LAST, PREPARE, RAWSTORE, XA_NEEDLOCK -
Constructor Summary
ConstructorsConstructorDescriptionCompressSpacePageOperation10_2(AllocPage allocPage, int highest_page, int num_truncated) Constructors for This class: -
Method Summary
Modifier and TypeMethodDescriptionintReturn my format identifier.voidvoidPublic Methods of Formatable interface.Methods inherited from class CompressSpacePageOperation
doMe, restoreMe, toString, undoMeMethods inherited from class PhysicalPageOperation
generateUndoMethods inherited from class PageBasicOperation
findpage, getPage, getPageForRedoRecovery, getPageId, getPageVersion, getPreparedLog, group, needsRedo, reclaimPrepareLocks, releaseResource, resetPageNumberMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Loggable
getPreparedLog, group, needsRedo, releaseResource
-
Constructor Details
-
CompressSpacePageOperation10_2
CompressSpacePageOperation10_2(AllocPage allocPage, int highest_page, int num_truncated) throws StandardException Constructors for This class:- Throws:
StandardException
-
CompressSpacePageOperation10_2
public CompressSpacePageOperation10_2()
-
-
Method Details
-
writeExternal
Public Methods of Formatable interface.- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classCompressSpacePageOperation- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classCompressSpacePageOperation- Throws:
IOException- error reading from log streamClassNotFoundException- cannot read object from input
-
getTypeFormatId
public int getTypeFormatId()Return my format identifier.- Specified by:
getTypeFormatIdin interfaceTypedFormat- Overrides:
getTypeFormatIdin classCompressSpacePageOperation- Returns:
- The identifier. (A UUID stuffed in an array of 16 bytes).
-