Class FSIndexRepositoryImpl

java.lang.Object
org.apache.uima.cas.impl.FSIndexRepositoryImpl
All Implemented Interfaces:
FSIndexRepositoryMgr, FSIndexRepository, LowLevelIndexRepository

public class FSIndexRepositoryImpl extends Object implements FSIndexRepositoryMgr, LowLevelIndexRepository
There is one instance of this class per CAS View. Some parts of the data here are shared between all views of a CAS. Many things refer to specific types, and their associated Java Cover classes. Java impl classes are always used for each type; If there is no JCas cover class defined for a type, then the most specific superclass which has a JCas defined class is used; this is the class TOP or one of its subclasses. Generic typing: User facing APIs can make use of the (JCas) Java cover types, for indexes and iterators over them The general generic type used is typically written here as T extends FeatureStructure, where FeatureStructure is the super interface of all JCas types. APIs having no reference to Java cover types (i.e., low level iterators) are not generic, unless they are needed to be to pass along the associated type to other APIs.
  • Field Details

    • ITEM_ADDED_TO_INDEX

      public static final boolean ITEM_ADDED_TO_INDEX
      See Also:
    • ITEM_REMOVED_FROM_INDEX

      public static final boolean ITEM_REMOVED_FROM_INDEX
      See Also:
    • V2_ANNOTATION_COMPARE_TYPE_ORDER

      public static final boolean V2_ANNOTATION_COMPARE_TYPE_ORDER
      set next to true to debug issues with different treatment of no type priorities in v3
      See Also:
    • DEFAULT_INDEX_SIZE

      public static final int DEFAULT_INDEX_SIZE
      The default size of an index.
      See Also:
    • SKIP_BAG_INDEXES

      public static final boolean SKIP_BAG_INDEXES
      flag used when removing FSs due to corruption avoidance
      See Also:
    • INCLUDE_BAG_INDEXES

      public static final boolean INCLUDE_BAG_INDEXES
      See Also:
    • ALLOW_DUP_ADD_TO_INDEXES

      public static final String ALLOW_DUP_ADD_TO_INDEXES
      Define this JVM property to allow adding the same identical FS to Set and Sorted indexes more than once.
      See Also:
    • DISABLE_ENHANCED_WRONG_INDEX

      public static final String DISABLE_ENHANCED_WRONG_INDEX
      See Also:
  • Method Details