public class BodyPartitionImpl extends EssencePartitionImpl implements MetadataObject, BodyPartition
SIZE_UNKNOWN| Constructor and Description |
|---|
BodyPartitionImpl() |
| Modifier and Type | Method and Description |
|---|---|
BodyPartition |
clone()
Create a cloned copy of this partition.
|
BodyPartitionPack |
getPartitionPack()
Returns the partition pack that describes this partition, including its size and what it
contains.
|
void |
setPartitionPack(BodyPartitionPack bodyPartitionPack)
Set the body partition pack that describes this body 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 BodyPartitionPack getPartitionPack()
PartitionReturns the partition pack that describes this partition, including its size and what it contains.
getPartitionPack in interface BodyPartitiongetPartitionPack in interface PartitiongetPartitionPack in class PartitionImplHeaderPartition.getPartitionPack(),
FooterPartition.getPartitionPack(),
BodyPartition.getPartitionPack()public void setPartitionPack(BodyPartitionPack bodyPartitionPack) throws NullPointerException
BodyPartitionSet the body partition pack that describes this body partition, including what it contains and its size.
setPartitionPack in interface BodyPartitionbodyPartitionPack - Body partition pack describing this body partition.NullPointerException - Cannot set the body 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 BodyPartition clone()
PartitionCreate a cloned copy of this partition.
clone in interface BodyPartitionclone in interface EssencePartitionclone 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.