public class LuceneMap<K,V> extends AbstractMap<K,V> implements Flushable, Closeable, Erasable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LuceneMap() |
LuceneMap(File dir) |
LuceneMap(File path,
boolean readOnly) |
LuceneMap(String dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
void |
erase() |
void |
flush() |
V |
get(Object key) |
org.apache.lucene.analysis.Analyzer |
getAnalyzer() |
org.apache.lucene.store.Directory |
getDirectory() |
File |
getPath() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
V |
remove(Object key) |
ObjectMatrix2D |
search(String searchString) |
void |
setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer) |
int |
size() |
beforeReadObject, beforeWriteObject, entrySet, get, getAsString, isEmpty, putAll, toString, valuesclone, equals, hashCodepublic LuceneMap()
throws IOException
IOExceptionpublic LuceneMap(String dir) throws IOException
IOExceptionpublic LuceneMap(File dir) throws IOException
IOExceptionpublic LuceneMap(File path, boolean readOnly) throws IOException
IOExceptionpublic org.apache.lucene.store.Directory getDirectory()
throws IOException
IOExceptionpublic File getPath() throws IOException
IOExceptionpublic void clear()
public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in class AbstractMap<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>containsValue in class AbstractMap<K,V>public ObjectMatrix2D search(String searchString)
public org.apache.lucene.analysis.Analyzer getAnalyzer()
public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
public int size()
public void flush()
throws IOException
flush in interface FlushableIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void erase()
throws IOException
erase in interface ErasableIOExceptionCopyright © 2015 Universal Java Matrix Package. All rights reserved.