|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FSIndexRepositoryMgr
Repository of indexes. Indexes are defined via
FSIndexComparator
s.
FSIndex
Method Summary | |
---|---|
void |
commit()
Commit this repository instance. |
FSIndexComparator |
createComparator()
Create a new comparator to define a new index. |
boolean |
createIndex(FSIndexComparator comp,
String label)
Create a new sorted index. |
boolean |
createIndex(FSIndexComparator comp,
String label,
int indexingStrategy)
Create a new index. |
LinearTypeOrderBuilder |
createTypeSortOrder()
Currently not useful. |
LinearTypeOrderBuilder |
getDefaultOrderBuilder()
Get the default type order builder. |
LinearTypeOrder |
getDefaultTypeOrder()
Get the default type order. |
boolean |
isCommitted()
Check if this instance has been committed. |
Methods inherited from interface org.apache.uima.cas.FSIndexRepository |
---|
addFS, getAllIndexedFS, getIndex, getIndex, getIndexes, getLabels, removeFS |
Method Detail |
---|
FSIndexComparator createComparator()
boolean createIndex(FSIndexComparator comp, String label, int indexingStrategy) throws CASAdminException
comp
- The comparator for the new index.label
- The name of the new index.indexingStrategy
- The kind of index (sorted, set, bag).
false
iff an index with the samelabel
already exists.
CASAdminException
- If the repository is locked (after calling commit()
).boolean createIndex(FSIndexComparator comp, String label) throws CASAdminException
comp
- The comparator for the new index.label
- The name of the new index.
false
iff an index with the samelabel
already exists.
CASAdminException
- If the repository is locked (after calling commit()
).void commit()
boolean isCommitted()
true
iff this instance has been committed.LinearTypeOrderBuilder getDefaultOrderBuilder()
LinearTypeOrder getDefaultTypeOrder()
LinearTypeOrderBuilder createTypeSortOrder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |