public class DefaultFeatureIndexes extends Object implements FeatureIndexes
| Constructor and Description |
|---|
DefaultFeatureIndexes(DefaultFeatureStore store)
Creates an empty DataIndexes for the given FeatureStore
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIndex(FeatureIndexProviderServices index) |
boolean |
areValid()
Returns if all the indexes are valid and might be used to get Features.
|
FeatureIndex |
getFeatureIndex(String name)
Returns a FeatureIndex given the name with which it was created.
|
FeatureSet |
getFeatureSet(Evaluator evaluator)
Using the given evaluator attributes, choose and use an appropriate index
to obtain a FeatureSet.
|
Iterator |
iterator()
Returns an iterator over the indexes.
|
String |
toString() |
public DefaultFeatureIndexes(DefaultFeatureStore store) throws DataException
store - FeatureStore to whom this belongsDataExceptionpublic FeatureIndex getFeatureIndex(String name)
FeatureIndexesgetFeatureIndex in interface FeatureIndexesname - FeatureIndex namepublic void addIndex(FeatureIndexProviderServices index)
public Iterator iterator()
FeatureIndexesiterator in interface FeatureIndexespublic FeatureSet getFeatureSet(Evaluator evaluator) throws FeatureIndexException
getFeatureSet in interface FeatureIndexesevaluator - FeatureIndexExceptionpublic boolean areValid()
FeatureIndexesareValid in interface FeatureIndexes