public class IndexService
extends java.lang.Object
Constructor and Description |
---|
IndexService(Terminology terminology) |
Modifier and Type | Method and Description |
---|---|
void |
addTerm(Term term) |
TermIndex |
checkIndexCreated(TermIndexType termIndexType) |
void |
cleanEntriesByMaxSize(TermIndexType termIndexType,
int maxSize) |
void |
cleanSingletonKeys(TermIndex termIndex) |
void |
dropBiggerEntries(TermIndexType termIndexType,
int threshholdSize) |
void |
dropIndex(TermIndexType indexType) |
TermIndex |
getIndex(TermIndexType indexType) |
com.google.common.base.Stopwatch |
getIndexingTime() |
void |
removeTerm(Term term) |
public IndexService(Terminology terminology)
public void addTerm(Term term)
public TermIndex getIndex(TermIndexType indexType)
public void dropIndex(TermIndexType indexType)
public void removeTerm(Term term)
public com.google.common.base.Stopwatch getIndexingTime()
public void cleanEntriesByMaxSize(TermIndexType termIndexType, int maxSize)
public void dropBiggerEntries(TermIndexType termIndexType, int threshholdSize)
public TermIndex checkIndexCreated(TermIndexType termIndexType)
public void cleanSingletonKeys(TermIndex termIndex)