public class EmptyOccurrenceStore extends AbstractMemoryOccStore
OccurrenceStore.State, OccurrenceStore.Type
Constructor and Description |
---|
EmptyOccurrenceStore(Lang lang) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
java.util.Collection<TermOccurrence> |
getOccurrences(Term term) |
OccurrenceStore.Type |
getStoreType() |
java.lang.String |
getUrl()
Returns the path to access the occurrence store if
this occurrence store is of type
Type#FILE ,
null otherwise. |
long |
size()
The number of occurrences in occurrence store.
|
addOccurrence, getDocument, getDocuments, getDocuments, getForms, getMostFrequentForm, log, protectedGetDocument, protectedGetDocuments, protectedGetForms, removeTerm, toForm
public EmptyOccurrenceStore(Lang lang)
public java.util.Collection<TermOccurrence> getOccurrences(Term term)
public OccurrenceStore.Type getStoreType()
public void flush()
public java.lang.String getUrl()
OccurrenceStore
Type#FILE
,
null
otherwise.null
if this store is of type OccurrenceStore.Type.MEMORY
public void close()
public long size()
OccurrenceStore