public class DefaultFeatureIndexes extends java.lang.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(java.lang.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.
|
java.util.Iterator |
iterator()
Returns an iterator over the indexes.
|
java.lang.String |
toString() |
public DefaultFeatureIndexes(DefaultFeatureStore store) throws DataException
store - FeatureStore to whom this belongsDataExceptionpublic FeatureIndex getFeatureIndex(java.lang.String name)
FeatureIndexesgetFeatureIndex in interface FeatureIndexesname - FeatureIndex namepublic void addIndex(FeatureIndexProviderServices index)
public java.util.Iterator iterator()
FeatureIndexesiterator in interface FeatureIndexespublic FeatureSet getFeatureSet(Evaluator evaluator) throws FeatureIndexException
getFeatureSet in interface FeatureIndexesevaluator - FeatureIndexExceptionpublic boolean areValid()
FeatureIndexesareValid in interface FeatureIndexespublic java.lang.String toString()
toString in class java.lang.Object