modnlp.idx.database
public class WordFileTable extends java.lang.Object
KEY | DATA --------|------------------- word | [file1, file2, ...]
Dictionary
Modifier and Type | Field and Description |
---|---|
protected com.sleepycat.je.Database |
database |
protected java.lang.String |
dbname |
protected com.sleepycat.je.Environment |
environment |
protected LogStream |
logf |
Constructor and Description |
---|
WordFileTable(com.sleepycat.je.Environment env,
java.lang.String fn,
boolean write) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
dump() |
static boolean |
exists(com.sleepycat.je.Environment env,
java.lang.String fn) |
IntegerSet |
fetch(java.lang.String sik) |
void |
finalize() |
void |
get(com.sleepycat.je.DatabaseEntry key,
com.sleepycat.je.DatabaseEntry data) |
void |
put(com.sleepycat.je.DatabaseEntry key,
com.sleepycat.je.DatabaseEntry val) |
IntegerSet |
put(java.lang.String sik,
int fno) |
IntegerSet |
put(java.lang.String sik,
IntegerSet set) |
void |
remove(com.sleepycat.je.DatabaseEntry key) |
IntegerSet |
remove(java.lang.String sik,
int fno) |
void |
setup(com.sleepycat.je.Environment env,
java.lang.String fn,
boolean write,
LogStream l) |
java.lang.String |
toString() |
protected com.sleepycat.je.Environment environment
protected com.sleepycat.je.Database database
protected java.lang.String dbname
protected LogStream logf
public WordFileTable(com.sleepycat.je.Environment env, java.lang.String fn, boolean write) throws com.sleepycat.je.DatabaseNotFoundException
com.sleepycat.je.DatabaseNotFoundException
public IntegerSet put(java.lang.String sik, IntegerSet set)
public IntegerSet put(java.lang.String sik, int fno)
public IntegerSet remove(java.lang.String sik, int fno)
public IntegerSet fetch(java.lang.String sik)
public void dump()
public void setup(com.sleepycat.je.Environment env, java.lang.String fn, boolean write, LogStream l) throws com.sleepycat.je.DatabaseNotFoundException
com.sleepycat.je.DatabaseNotFoundException
public java.lang.String toString()
toString
in class java.lang.Object
public static boolean exists(com.sleepycat.je.Environment env, java.lang.String fn)
public void finalize()
finalize
in class java.lang.Object
public void close()
public void put(com.sleepycat.je.DatabaseEntry key, com.sleepycat.je.DatabaseEntry val)
public void remove(com.sleepycat.je.DatabaseEntry key)
public void get(com.sleepycat.je.DatabaseEntry key, com.sleepycat.je.DatabaseEntry data)