public interface IMetadataIndex extends IRangeQuery
PartitionLocator
s that specify which IDataService
has data
for each index partition in a scale-out index.Modifier and Type | Method and Description |
---|---|
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.
|
rangeCount, rangeCount, rangeCountExact, rangeCountExactWithDeleted, rangeIterator, rangeIterator, rangeIterator
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.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.