public interface FSIndexRepositoryMgr extends FSIndexRepository
FSIndexComparator
s.FSIndex
Modifier and Type | Method and Description |
---|---|
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.
|
addFS, getAllIndexedFS, getIndex, getIndex, getIndexes, getLabels, ll_getIndexes, removeAllExcludingSubtypes, removeAllIncludingSubtypes, removeFS
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()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.