public interface DatabaseDictionaryElementFactory extends DictionaryElementFactory
Modifier and Type | Method and Description |
---|---|
Exc |
createExc(POS pos,
java.lang.String derivation,
java.sql.ResultSet rs)
Create an Exc from a row in the database.
|
IndexWord |
createIndexWord(POS pos,
java.lang.String lemma,
java.sql.ResultSet rs)
Create an IndexWord from a row in the database.
|
Synset |
createSynset(POS pos,
long offset,
java.sql.ResultSet synset,
java.sql.ResultSet words,
java.sql.ResultSet pointers,
java.sql.ResultSet verbFrames)
Create a Synset from a row in the database.
|
createException, createIndexWord, createSynset
getDictionary, setDictionary
IndexWord createIndexWord(POS pos, java.lang.String lemma, java.sql.ResultSet rs) throws java.sql.SQLException, JWNLException
pos
- part of speechlemma
- lemmars
- result setjava.sql.SQLException
- SQLExceptionJWNLException
- JWNLExceptionSynset createSynset(POS pos, long offset, java.sql.ResultSet synset, java.sql.ResultSet words, java.sql.ResultSet pointers, java.sql.ResultSet verbFrames) throws java.sql.SQLException, JWNLException
pos
- part of speechoffset
- synset offsetsynset
- synset result setwords
- words result setpointers
- pointers result setverbFrames
- verb frames result setjava.sql.SQLException
- SQLExceptionJWNLException
- JWNLExceptionExc createExc(POS pos, java.lang.String derivation, java.sql.ResultSet rs) throws java.sql.SQLException, JWNLException
pos
- the part of speechderivation
- derivationrs
- result setjava.sql.SQLException
- SQLExceptionJWNLException
- JWNLException