public interface IGISTManager
Modifier and Type | Method and Description |
---|---|
void |
dropIndex(String name)
Drops the named index.
|
Iterator<String> |
indexNameScan(String prefix,
long timestamp)
Iterator visits the names of all indices spanned by the given prefix.
|
void |
registerIndex(IndexMetadata indexMetadata)
Register a named index.
|
void registerIndex(IndexMetadata indexMetadata)
Note: The name property MUST be set on the IndexMetadata
and the index will be registered under that name.
indexMetadata
- The metadata describing the index.IllegalArgumentException
- if the argument is null
.IllegalArgumentException
- if the name argument was not specified when the
IndexMetadata
was created.IndexExistsException
- if there is an index already registered under the name
returned by IndexMetadata.getName()
.IGISTLocalManager.getIndexLocal(String, long)
void dropIndex(String name)
Note: Whether or not and when index resources are reclaimed is dependent on the store. For example, an immortal store will retain all historical states for all indices. Likewise, a store that uses index partitions may be able to delete index segments immediately.
name
- The name of the index to be dropped.NoSuchIndexException
- if name does not identify a registered index.Iterator<String> indexNameScan(String prefix, long timestamp)
prefix
- The prefix (optional). When given, this MUST include a
.
if you want to restrict the scan to only those
indices in a given namespace. Otherwise you can find indices
in kb2
if you provide the prefix kb
where both kb and kb2 are namespaces since the indices spanned
by kb
would include both kb.xyz
and
kb2.xyx
.timestamp
- A timestamp which represents either a possible commit time on
the store or a read-only transaction identifier.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.