|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.go.nict.langrid.wrapper.common.db.DictionaryDataBase
public class DictionaryDataBase
データベース検索クラス。
| コンストラクタの概要 | |
|---|---|
DictionaryDataBase(String tableName,
ConnectionManager manager,
DbDictionary dbDictionary,
int maxCount)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
Collection<AdjacencyPair> |
getAdjacencyPair(String category,
Language language,
String firstTurn,
MatchingMethod matchingMethod)
隣接応答対の検索結果を返します。 |
protected Connection |
getConnection()
|
protected DbDictionary |
getDbDictionary()
|
void |
getFirstTranslations(Language headLang,
Language targetLang,
DictionaryQuery[] queries,
Translation[] result)
翻訳結果を返します。 |
protected int |
getMaxCount()
|
Collection<ParallelText> |
getParallelText(Language headLang,
Language targetLang,
String headword,
MatchingMethod matchingMethod)
翻訳結果を返します。 |
String |
getTableName()
|
Collection<Translation> |
getTranslation(Language headLang,
Language targetLang,
String headword,
MatchingMethod matchingMethod)
翻訳結果を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public DictionaryDataBase(String tableName,
ConnectionManager manager,
DbDictionary dbDictionary,
int maxCount)
tableName - テーブル名称manager - コネクションマネージャdbDictionary - DataBaseの語彙maxCount - 最大件数| メソッドの詳細 |
|---|
public Collection<Translation> getTranslation(Language headLang,
Language targetLang,
String headword,
MatchingMethod matchingMethod)
throws SQLException
headLang - 見出し言語targetLang - 目的の言語headword - 見出し語matchingMethod - 検索方法
SQLException
public void getFirstTranslations(Language headLang,
Language targetLang,
DictionaryQuery[] queries,
Translation[] result)
throws SQLException
headLang - 見出し言語targetLang - 目的の言語queries - クエリresult - 結果
SQLException - 処理に失敗した
public Collection<ParallelText> getParallelText(Language headLang,
Language targetLang,
String headword,
MatchingMethod matchingMethod)
throws SQLException
headLang - 見出し言語targetLang - 目的の言語headword - 見出し語matchingMethod - 検索方法
SQLException
public Collection<AdjacencyPair> getAdjacencyPair(String category,
Language language,
String firstTurn,
MatchingMethod matchingMethod)
throws SQLException
category - カテゴリlanguage - 目的の言語firstTurn - 最初の問いmatchingMethod - 検索方法
SQLExceptionpublic String getTableName()
protected Connection getConnection()
throws SQLException
SQLExceptionprotected DbDictionary getDbDictionary()
protected int getMaxCount()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||