public class FooterPartitionImpl extends PartitionImpl implements FooterPartition, MetadataObject
SIZE_UNKNOWN| Constructor and Description |
|---|
FooterPartitionImpl() |
| Modifier and Type | Method and Description |
|---|---|
FooterPartition |
clone()
Create a cloned copy of this partition.
|
FooterPartitionPack |
getPartitionPack()
Returns the partition pack that describes this partition, including its size and what it
contains.
|
void |
setPartitionPack(FooterPartitionPack footerPartitionPack)
Set the footer partition pack that describes this footer partition, including
what it contains and its size.
|
void |
setPartitionPackPadding(long paddingFillSize)
Set the amount of padding to include after each significant entry in the partition,
allowing space for the metadata to expand over time.
|
getActualSize, getInitialSize, hasEssenceContainer, hasHeaderMetadata, hasIndexTable, partitionFactory, readHeaderMetadata, readIndexTableSegment, setActualSize, setInitialDataSize, toString, updateSizes, writeHeaderMetadata, writeIndexTableSegment, writePartitionPack, writeSingleIndexSegmentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActualSize, getInitialSize, hasEssenceContainer, hasHeaderMetadata, hasIndexTable, readHeaderMetadata, readIndexTableSegment, setInitialDataSize, updateSizes, writeHeaderMetadata, writeIndexTableSegment, writeSingleIndexSegmentpublic FooterPartitionPack getPartitionPack()
PartitionReturns the partition pack that describes this partition, including its size and what it contains.
getPartitionPack in interface FooterPartitiongetPartitionPack in interface PartitiongetPartitionPack in class PartitionImplHeaderPartition.getPartitionPack(),
FooterPartition.getPartitionPack(),
BodyPartition.getPartitionPack()public void setPartitionPack(FooterPartitionPack footerPartitionPack) throws NullPointerException
FooterPartitionSet the footer partition pack that describes this footer partition, including what it contains and its size.
setPartitionPack in interface FooterPartitionfooterPartitionPack - Footer partition pack describing this footer partition.NullPointerException - Cannot set the footer partition pack with a null
value.public void setPartitionPackPadding(long paddingFillSize)
throws IllegalArgumentException
PartitionSet the amount of padding to include after each significant entry in the partition, allowing space for the metadata to expand over time.
setPartitionPackPadding in interface PartitionsetPartitionPackPadding in class PartitionImplpaddingFillSize - Size of padding to include after the partition.IllegalArgumentException - Cannot set the padding size to a negative value.Padded.getPaddingFillSize(),
Padded.setPaddingFillSize(long)public FooterPartition clone()
PartitionCreate a cloned copy of this partition.
clone in interface FooterPartitionclone in interface Partitionclone in class PartitionImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.