public class ListIndicesTask extends DataServiceCallable<String[]>
DataService to
which it is submitted. The array is in the visitation order for the index
names (alpha, given the collator choices in force).
Note that MetadataService extends DataService so this
task can also be used to enumerate the scale-out indices in an
IBigdataFederation. However, when enumerating metadata index
names, note that they all use a prefix to place them into their own
namespace.
MetadataService.METADATA_INDEX_NAMESPACE,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
INFO |
protected static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
ListIndicesTask(long ts,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
call() |
getDataService, isDataService, setDataServicegetFederation, setFederationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFederation, setFederationprotected static final transient org.apache.log4j.Logger log
protected static final transient boolean INFO
public ListIndicesTask(long ts,
String namespace)
ts - The timestamp for which the data will be reported.namespace - The namespace prefix for the indices to be returned (may be an
empty string to return the names of all registered indices).
Note: This SHOULD 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 and both kb and kb2 are namespaces since the
indices spanned by kb would include both
kb.xyz and kb2.xyx.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.