com.bigdata.mdi
Class MetadataIndex.MetadataIndexCheckpoint
java.lang.Object
com.bigdata.btree.Checkpoint
com.bigdata.mdi.MetadataIndex.MetadataIndexCheckpoint
- All Implemented Interfaces:
- Externalizable, Serializable
- Enclosing class:
- MetadataIndex
public static class MetadataIndex.MetadataIndexCheckpoint
- extends Checkpoint
Extends the Checkpoint record to store the next partition
identifier to be assigned by the metadata index.
- Version:
- $Id: MetadataIndex.java 4582 2011-05-31 19:12:53Z thompsonbry $
- Author:
- Bryan Thompson
- See Also:
- Serialized Form
| Methods inherited from class com.bigdata.btree.Checkpoint |
getBloomFilterAddr, getCheckpointAddr, getCounter, getEntryCount, getGlobalDepth, getHeight, getIndexType, getLeafCount, getMetadataAddr, getNodeCount, getRecordVersion, getRootAddr, hasCheckpointAddr, load, toString, write |
MetadataIndex.MetadataIndexCheckpoint
public MetadataIndex.MetadataIndexCheckpoint()
- De-serialization constructor.
MetadataIndex.MetadataIndexCheckpoint
public MetadataIndex.MetadataIndexCheckpoint(BTree btree)
- Parameters:
btree -
MetadataIndex.MetadataIndexCheckpoint
public MetadataIndex.MetadataIndexCheckpoint(IndexMetadata metadata)
- Create the initial checkpoint record for the initial metadata index.
- Parameters:
metadata -
MetadataIndex.MetadataIndexCheckpoint
public MetadataIndex.MetadataIndexCheckpoint(IndexMetadata metadata,
Checkpoint oldCheckpoint)
- Create the initial checkpoint record when the metadata index
overflows onto a new backing store.
- Parameters:
metadata -
getNextPartitionId
public int getNextPartitionId()
- The immutable value of the
nextPartitionId counter
stored in the metadata record.
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class Checkpoint
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class Checkpoint
- Throws:
IOException
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.