|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMetadataIndex
Interface for a metadata index. The metadata index stores the
PartitionLocators that specify which IDataService has data
for each index partition in a scale-out index.
| Field Summary |
|---|
| Fields inherited from interface com.bigdata.btree.IRangeQuery |
|---|
ALL, CURSOR, DEFAULT, DELETED, FIXED_LENGTH_SUCCESSOR, KEYS, NONE, PARALLEL, READONLY, REMOVEALL, REVERSE, VALS |
| Method Summary | |
|---|---|
PartitionLocator |
find(byte[] key)
Find and return the partition spanning the given key. |
PartitionLocator |
get(byte[] key)
The partition with that separator key or null (exact match
on the separator key). |
MetadataIndex.MetadataIndexMetadata |
getIndexMetadata()
The metadata for the metadata index itself. |
IndexMetadata |
getScaleOutIndexMetadata()
The metadata template for the scale-out index managed by this metadata index. |
void |
staleLocator(PartitionLocator locator)
Notification that a locator is stale. |
| Methods inherited from interface com.bigdata.btree.IRangeQuery |
|---|
rangeCount, rangeCount, rangeCountExact, rangeCountExactWithDeleted, rangeIterator, rangeIterator, rangeIterator |
| Method Detail |
|---|
MetadataIndex.MetadataIndexMetadata getIndexMetadata()
MetadataIndex.MetadataIndexMetadata.getManagedIndexMetadata() returns the
template IndexMetadata for the scale-out index partitions.
getScaleOutIndexMetadata()IndexMetadata getScaleOutIndexMetadata()
PartitionLocator get(byte[] key)
null (exact match
on the separator key).
key - The separator key (the first key that would go into that
partition).
null.PartitionLocator find(byte[] key)
key - A key (optional). When null the locator for the
last index partition will be returned.
null if
there are no partitions defined.void staleLocator(PartitionLocator locator)
locator - The locator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||