public class PartitionInformation extends Object implements Comparable<PartitionInformation>
Holds random index pack data relating to a single partition.
RandomIndexPackImpl,
PartitionImpl| Constructor and Description |
|---|
PartitionInformation() |
PartitionInformation(PartitionImpl partition,
long offset,
int sid) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areSIDsKnown() |
int |
compareTo(PartitionInformation o) |
int |
getBodySID() |
long |
getByteOffset() |
long |
getEssenceStart() |
long |
getEstimatedStreamOffset() |
int |
getIndexSID() |
PartitionImpl |
getPartition() |
long |
getStreamOffset() |
void |
setAreSIDsKnown(boolean knownSIDs) |
void |
setBodySID(int bodySID) |
void |
setByteOffset(long byteOffset) |
void |
setEssenceStart(long essenceStart) |
void |
setEstimatedStreamOffset(long estimatedStreamOffset) |
void |
setIndexSID(int indexSID) |
void |
setPartition(PartitionImpl partition) |
void |
setSIDs(int bodySID,
int indexSID) |
void |
setStreamOffset(long streamOffset) |
public PartitionInformation(PartitionImpl partition, @MXFPosition long offset, @UInt32 int sid)
public PartitionInformation()
public int compareTo(PartitionInformation o)
compareTo in interface Comparable<PartitionInformation>public PartitionImpl getPartition()
public void setPartition(PartitionImpl partition)
@UInt32 public int getBodySID()
public void setBodySID(@UInt32 int bodySID) throws IllegalArgumentException
IllegalArgumentException@UInt32 public int getIndexSID()
public void setIndexSID(@UInt32 int indexSID) throws IllegalArgumentException
IllegalArgumentExceptionpublic boolean areSIDsKnown()
public void setAreSIDsKnown(boolean knownSIDs)
public void setSIDs(@UInt32 int bodySID, @UInt32 int indexSID) throws IllegalArgumentException
IllegalArgumentException@MXFPosition public long getByteOffset()
public void setByteOffset(@MXFPosition long byteOffset)
@MXFPosition public long getStreamOffset()
public void setStreamOffset(@MXFPosition long streamOffset)
@MXFPosition public long getEstimatedStreamOffset()
public void setEstimatedStreamOffset(@MXFPosition long estimatedStreamOffset)
@MXFPosition public long getEssenceStart()
public void setEssenceStart(@MXFPosition long essenceStart)
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.