com.bigdata.service
Class ListIndicesTask
java.lang.Object
com.bigdata.service.FederationCallable<T>
com.bigdata.service.DataServiceCallable<String[]>
com.bigdata.service.ListIndicesTask
- All Implemented Interfaces:
- IDataServiceCallable, IFederationCallable, Serializable, Callable<String[]>
public class ListIndicesTask
- extends DataServiceCallable<String[]>
Task returns an array of the named indices on the 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.
- Version:
- $Id: ListIndicesTask.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
- See Also:
MetadataService.METADATA_INDEX_NAMESPACE,
Serialized Form
|
Field Summary |
protected static boolean |
INFO
|
protected static org.apache.log4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final transient org.apache.log4j.Logger log
INFO
protected static final transient boolean INFO
ListIndicesTask
public ListIndicesTask(long ts,
String namespace)
- Parameters:
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).
call
public String[] call()
throws Exception
- Throws:
Exception
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.