|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.jcas.impl.JFSIndexRepositoryImpl
public class JFSIndexRepositoryImpl
| Method Summary | |
|---|---|
FSIterator |
getAllIndexedFS(int aType)
Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes). |
FSIterator |
getAllIndexedFS(Type aType)
Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes). |
AnnotationIndex |
getAnnotationIndex()
Get the standard annotation index. |
AnnotationIndex |
getAnnotationIndex(int type)
Get the standard annotation index restricted to a specific annotation type. |
FSIndexRepository |
getFSIndexRepository()
Get the underlying FSIndexRepository associated with this JFSIndexRepository. |
FSIndex |
getIndex(java.lang.String label)
Retrieve an index according to a label. |
FSIndex |
getIndex(java.lang.String label,
int type)
Retrieve an index according to a label and a type. |
java.util.Iterator |
getIndexes()
Get all indexes in this repository. |
java.util.Iterator |
getLabels()
Get all labels for all indexes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public FSIndex getIndex(java.lang.String label)
JFSIndexRepository
getIndex in interface JFSIndexRepositorylabel - The name of the index.
label, or null if no such index
is defined.
public FSIndex getIndex(java.lang.String label,
int type)
JFSIndexRepository
getIndex in interface JFSIndexRepositorylabel - The name of the indextype - A subtype of the type of the index, written as Foo.type
null if an index with that name doesn't exist,
or it exists but type is not a subtype of the index's type.public AnnotationIndex getAnnotationIndex()
JFSIndexRepository
getAnnotationIndex in interface JFSIndexRepositorypublic AnnotationIndex getAnnotationIndex(int type)
JFSIndexRepository
getAnnotationIndex in interface JFSIndexRepositorytype - The annotation type the index is restricted to, written as Foo.type
type.public java.util.Iterator getLabels()
JFSIndexRepository
getLabels in interface JFSIndexRepositorypublic java.util.Iterator getIndexes()
JFSIndexRepository
getIndexes in interface JFSIndexRepositorypublic FSIndexRepository getFSIndexRepository()
JFSIndexRepository
getFSIndexRepository in interface JFSIndexRepositorypublic FSIterator getAllIndexedFS(Type aType)
JFSIndexRepositoryLimitation: If there are no sorted or bag indexes defined for this type, but there is more than one set index defined, then this method will only return the contents of one of these set indexes (chosen arbitrarily).
getAllIndexedFS in interface JFSIndexRepositoryaType - The type
aType,
in no particular order.public FSIterator getAllIndexedFS(int aType)
JFSIndexRepositoryLimitation: If there are no sorted or bag indexes defined for this type, but there is more than one set index defined, then this method will only return the contents of one of these set indexes (chosen arbitrarily).
getAllIndexedFS in interface JFSIndexRepositoryaType - The type obtained by doing MyJCasClass.type
aType,
in no particular order.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||