Class SenseAndUsageDatabaseManager
java.lang.Object
net.didion.jwnl.dictionary.database.DatabaseManagerImpl
net.didion.jwnl.dictionary.database.SenseAndUsageDatabaseManager
- All Implemented Interfaces:
DatabaseManager
,Createable
Database Manager that handles the extended database containing sense key and usage statistics.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
The SQL statement to grab a synset word.Fields inherited from class net.didion.jwnl.dictionary.database.DatabaseManagerImpl
_connectionManager, _minMaxIds, _rand, ALL_EXCEPTIONS_SQL, ALL_LEMMAS_LIKE_SQL, ALL_LEMMAS_SQL, ALL_SYNSETS_SQL, COUNT_INDEX_WORDS_SQL, DRIVER, EXCEPTION_SQL, JNDI, LEMMA_FOR_INDEX_WORD_ID_SQL, PASSWORD, SYNSET_IDS_FOR_INDEX_WORD_SQL, SYNSET_POINTER_SQL, SYNSET_SQL, SYNSET_VERB_FRAME_SQL, SYNSET_WORD_SQL, URL, USERNAME
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new database manager with no connection.SenseAndUsageDatabaseManager
(ConnectionManager connectionManager) Create a new database manager with a connection. -
Method Summary
Methods inherited from class net.didion.jwnl.dictionary.database.DatabaseManagerImpl
createPOSIdQuery, createPOSOffsetQuery, createPOSQuery, createPOSStringQuery, getExceptionQuery, getExceptionsQuery, getIndexWordLemmasQuery, getIndexWordLemmasQuery, getIndexWordSynsetsQuery, getPointerQuery, getRandomIndexWordQuery, getSynsetQuery, getSynsetsQuery, getVerbFrameQuery
-
Field Details
-
SENSE_SYNSET_WORD_SQL
The SQL statement to grab a synset word.- See Also:
-
-
Constructor Details
-
SenseAndUsageDatabaseManager
public SenseAndUsageDatabaseManager()Create a new database manager with no connection. -
SenseAndUsageDatabaseManager
Create a new database manager with a connection.- Parameters:
connectionManager
- - the connection manager.
-
-
Method Details
-
create
Creates a new database manager from the parameters.- Specified by:
create
in interfaceCreateable
- Overrides:
create
in classDatabaseManagerImpl
- Throws:
JWNLException
-
getSynsetWordQuery
- Specified by:
getSynsetWordQuery
in interfaceDatabaseManager
- Overrides:
getSynsetWordQuery
in classDatabaseManagerImpl
- Throws:
JWNLException
-