public class HeaderPartitionImpl extends EssencePartitionImpl implements HeaderPartition, MetadataObject
SIZE_UNKNOWN| Constructor and Description |
|---|
HeaderPartitionImpl() |
| Modifier and Type | Method and Description |
|---|---|
HeaderPartition |
clone()
Create a cloned copy of this partition.
|
HeaderPartitionPack |
getPartitionPack()
Returns the partition pack that describes this partition, including its size and what it
contains.
|
void |
setPartitionPack(HeaderPartitionPack headerPartitionPack)
Set the header partition pack that describes this header 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.
|
fillToEnd, getEssenceContainer, initializeWritingBody, readEssenceElement, rewind, updateSizes, writeEssenceBlock, writeEssenceElementHeader, writeEssenceElementHeadergetActualSize, getInitialSize, hasEssenceContainer, hasHeaderMetadata, hasIndexTable, partitionFactory, readHeaderMetadata, readIndexTableSegment, setActualSize, setInitialDataSize, toString, writeHeaderMetadata, writeIndexTableSegment, writePartitionPack, writeSingleIndexSegmentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitfillToEnd, getEssenceContainer, initializeWritingBody, readEssenceElement, writeEssenceBlock, writeEssenceElementHeader, writeEssenceElementHeadergetActualSize, getInitialSize, hasEssenceContainer, hasHeaderMetadata, hasIndexTable, readHeaderMetadata, readIndexTableSegment, setInitialDataSize, updateSizes, writeHeaderMetadata, writeIndexTableSegment, writeSingleIndexSegmentpublic HeaderPartitionPack getPartitionPack()
PartitionReturns the partition pack that describes this partition, including its size and what it contains.
getPartitionPack in interface HeaderPartitiongetPartitionPack in interface PartitiongetPartitionPack in class PartitionImplHeaderPartition.getPartitionPack(),
FooterPartition.getPartitionPack(),
BodyPartition.getPartitionPack()public void setPartitionPack(HeaderPartitionPack headerPartitionPack) throws NullPointerException
HeaderPartitionSet the header partition pack that describes this header partition, including what it contains and its size.
setPartitionPack in interface HeaderPartitionheaderPartitionPack - Header partition pack describing this header partition.NullPointerException - Cannot set the header 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 HeaderPartition clone()
PartitionCreate a cloned copy of this partition.
clone in interface EssencePartitionclone in interface HeaderPartitionclone in interface Partitionclone in class EssencePartitionImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.