|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface GenDialect
方言です。
| メソッドの概要 | |
|---|---|
String |
convertToDateLiteral(String value)
日付を表すリテラルを返します。 |
String |
convertToTimeLiteral(String value)
時刻を表すリテラルを返します。 |
String |
convertToTimestampLiteral(String value)
タイムスタンプを表すリテラルを返します。 |
Map<String,String> |
getColumnCommentMap(Connection connection,
String catalogName,
String schemaName,
String tableName)
カラムのコメントのマップを取得します。 |
String |
getDefaultSchemaName(String userName)
デフォルトのスキーマ名を返します。 |
String |
getDialectClassName()
方言クラス名を返します。 |
String |
getMappedPropertyClassName(ColumnMeta columnMeta)
カラムにマップされたプロパティのクラス名を返します。 |
String |
getName()
名前を返します。 |
String |
getTableComment(Connection connection,
String catalogName,
String schemaName,
String tableName)
テーブルのコメントを取得します。 |
boolean |
isAutoIncrement(Connection connection,
String catalogName,
String schemaName,
String tableName,
String columnName)
カラムが自動インクリメントに設定されている場合 true を返します。 |
boolean |
isJdbcCommentUnavailable()
JDBCによりコメントの取得が不可能な場合 true を返します。 |
void |
replacePropertyClassName(String oldClassName,
String newClassName)
プロパティのクラス名を置き換えます。 |
boolean |
supportsIdentity()
アイデンティティをサポートする場合 true を返します。 |
boolean |
supportsSequence()
シーケンスをサポートする場合 true を返します。 |
| メソッドの詳細 |
|---|
String getName()
String getDialectClassName()
String getDefaultSchemaName(String userName)
userName - ユーザ名
String getMappedPropertyClassName(ColumnMeta columnMeta)
columnMeta - カラムメタデータ
void replacePropertyClassName(String oldClassName,
String newClassName)
oldClassName - 古いクラス名newClassName - 新しいクラス名boolean supportsIdentity()
true を返します。
trueboolean supportsSequence()
true を返します。
true
boolean isAutoIncrement(Connection connection,
String catalogName,
String schemaName,
String tableName,
String columnName)
throws SQLException
true を返します。
connection - コネクションcatalogName - カタログ名schemaName - スキーマ名tableName - テーブル名columnName - カラム名
true
SQLException - SQLに関する例外が発生した場合boolean isJdbcCommentUnavailable()
true を返します。
true
String getTableComment(Connection connection,
String catalogName,
String schemaName,
String tableName)
throws SQLException
connection - コネクションcatalogName - カタログ名schemaName - スキーマ名tableName - テーブル名
SQLException - SQLに関する例外が発生した場合
Map<String,String> getColumnCommentMap(Connection connection,
String catalogName,
String schemaName,
String tableName)
throws SQLException
connection - コネクションcatalogName - カタログ名schemaName - スキーマ名tableName - テーブル名
SQLException - SQLに関する例外が発生した場合String convertToTimeLiteral(String value)
value - 値
String convertToDateLiteral(String value)
value - 値
String convertToTimestampLiteral(String value)
value - 値
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||