public static class MetadataIndex.MetadataIndexCheckpoint extends Checkpoint
Checkpoint
record to store the next partition
identifier to be assigned by the metadata index.Constructor and Description |
---|
MetadataIndex.MetadataIndexCheckpoint()
De-serialization constructor.
|
MetadataIndex.MetadataIndexCheckpoint(BTree btree) |
MetadataIndex.MetadataIndexCheckpoint(IndexMetadata metadata)
Create the initial checkpoint record for the initial metadata index.
|
MetadataIndex.MetadataIndexCheckpoint(IndexMetadata metadata,
Checkpoint oldCheckpoint)
Create the initial checkpoint record when the metadata index
overflows onto a new backing store.
|
Modifier and Type | Method and Description |
---|---|
int |
getNextPartitionId()
The immutable value of the
nextPartitionId counter
stored in the metadata record. |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
create, getBloomFilterAddr, getCheckpointAddr, getCounter, getEntryCount, getGlobalDepth, getHeight, getIndexType, getLeafCount, getMetadataAddr, getNodeCount, getRecordVersion, getRootAddr, hasCheckpointAddr, load, loadFromCheckpoint, toString, write
public MetadataIndex.MetadataIndexCheckpoint()
public MetadataIndex.MetadataIndexCheckpoint(BTree btree)
btree
- public MetadataIndex.MetadataIndexCheckpoint(IndexMetadata metadata)
metadata
- public MetadataIndex.MetadataIndexCheckpoint(IndexMetadata metadata, Checkpoint oldCheckpoint)
metadata
- public int getNextPartitionId()
nextPartitionId
counter
stored in the metadata record.public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Checkpoint
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Checkpoint
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.