net.didion.jwnl.dictionary.database
Class DatabaseManagerImpl
java.lang.Object
net.didion.jwnl.dictionary.database.DatabaseManagerImpl
- All Implemented Interfaces:
- DatabaseManager, Createable
- Direct Known Subclasses:
- SenseAndUsageDatabaseManager
public class DatabaseManagerImpl
- extends java.lang.Object
- implements DatabaseManager, Createable
Field Summary |
static java.lang.String |
DRIVER
|
static java.lang.String |
PASSWORD
|
static java.lang.String |
URL
|
static java.lang.String |
USERNAME
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DRIVER
public static final java.lang.String DRIVER
- See Also:
- Constant Field Values
URL
public static final java.lang.String URL
- See Also:
- Constant Field Values
USERNAME
public static final java.lang.String USERNAME
- See Also:
- Constant Field Values
PASSWORD
public static final java.lang.String PASSWORD
- See Also:
- Constant Field Values
DatabaseManagerImpl
public DatabaseManagerImpl()
DatabaseManagerImpl
public DatabaseManagerImpl(ConnectionManager connectionManager)
create
public java.lang.Object create(java.util.Map params)
throws JWNLException
- Specified by:
create
in interface Createable
- Throws:
JWNLException
getIndexWordSynsetsQuery
public Query getIndexWordSynsetsQuery(POS pos,
java.lang.String lemma)
throws JWNLException
- Specified by:
getIndexWordSynsetsQuery
in interface DatabaseManager
- Throws:
JWNLException
getIndexWordLemmasQuery
public Query getIndexWordLemmasQuery(POS pos)
throws JWNLException
- Specified by:
getIndexWordLemmasQuery
in interface DatabaseManager
- Throws:
JWNLException
getIndexWordLemmasQuery
public Query getIndexWordLemmasQuery(POS pos,
java.lang.String substring)
throws JWNLException
- Specified by:
getIndexWordLemmasQuery
in interface DatabaseManager
- Throws:
JWNLException
getRandomIndexWordQuery
public Query getRandomIndexWordQuery(POS pos)
throws JWNLException
- Specified by:
getRandomIndexWordQuery
in interface DatabaseManager
- Throws:
JWNLException
getSynsetQuery
public Query getSynsetQuery(POS pos,
long offset)
throws JWNLException
- Specified by:
getSynsetQuery
in interface DatabaseManager
- Throws:
JWNLException
getSynsetWordQuery
public Query getSynsetWordQuery(POS pos,
long offset)
throws JWNLException
- Specified by:
getSynsetWordQuery
in interface DatabaseManager
- Throws:
JWNLException
getPointerQuery
public Query getPointerQuery(POS pos,
long offset)
throws JWNLException
- Specified by:
getPointerQuery
in interface DatabaseManager
- Throws:
JWNLException
getVerbFrameQuery
public Query getVerbFrameQuery(POS pos,
long offset)
throws JWNLException
- Specified by:
getVerbFrameQuery
in interface DatabaseManager
- Throws:
JWNLException
getSynsetsQuery
public Query getSynsetsQuery(POS pos)
throws JWNLException
- Specified by:
getSynsetsQuery
in interface DatabaseManager
- Throws:
JWNLException
getExceptionQuery
public Query getExceptionQuery(POS pos,
java.lang.String derivation)
throws JWNLException
- Specified by:
getExceptionQuery
in interface DatabaseManager
- Throws:
JWNLException
getExceptionsQuery
public Query getExceptionsQuery(POS pos)
throws JWNLException
- Specified by:
getExceptionsQuery
in interface DatabaseManager
- Throws:
JWNLException