Interface FeatureIndexes


public interface FeatureIndexes
This interface gives access to a store's local indexes and also provides a delegated method for obtaining a resulting FeatureSet using the appropriate index given an Evaluator.
Author:
jyarza
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns if all the indexes are valid and might be used to get Features.
    Returns a FeatureIndex given the name with which it was created.
    getFeatureSet(org.gvsig.tools.evaluator.Evaluator evaluator)
    Using the given evaluator attributes, choose and use an appropriate index to obtain a FeatureSet.
    Returns an iterator over the indexes.
  • Method Details

    • getFeatureIndex

      FeatureIndex getFeatureIndex(String name)
      Returns a FeatureIndex given the name with which it was created.
      Parameters:
      name - FeatureIndex name
      Returns:
      FeatureIndex or null if it is not found.
    • getFeatureSet

      FeatureSet getFeatureSet(org.gvsig.tools.evaluator.Evaluator evaluator) throws FeatureIndexException
      Using the given evaluator attributes, choose and use an appropriate index to obtain a FeatureSet. If no index can be applied, then this method returns null
      Parameters:
      evaluator -
      Returns:
      FeatureSet or null if could not find any appropriate index.
      Throws:
      FeatureIndexException
    • iterator

      Iterator iterator()
      Returns an iterator over the indexes. Elements are of type FeatureIndex.
      Returns:
      Iterator over the FeatureIndex(es).
    • areValid

      boolean areValid()
      Returns if all the indexes are valid and might be used to get Features.
      Returns:
      if the indexes are valid