|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.extension.jdbc.gen.internal.dialect.StandardGenDialect
org.seasar.extension.jdbc.gen.internal.dialect.PostgreGenDialect
public class PostgreGenDialect
PostgreSQLの方言を扱うクラスです。
| 入れ子のクラスの概要 | |
|---|---|
static class |
PostgreGenDialect.PostgreBlobType
PostgreSQLのBLOB型です。 |
static class |
PostgreGenDialect.PostgreColumnType
PostgreSQL用の PostgreGenDialect.PostgreColumnTypeの実装です。 |
static class |
PostgreGenDialect.PostgreSqlBlockContext
StandardColumnTypeの実装クラスです。 |
| クラス org.seasar.extension.jdbc.gen.internal.dialect.StandardGenDialect から継承された入れ子のクラス/インタフェース |
|---|
StandardGenDialect.StandardColumnType, StandardGenDialect.StandardSqlBlockContext |
| インタフェース org.seasar.extension.jdbc.gen.dialect.GenDialect から継承された入れ子のクラス/インタフェース |
|---|
GenDialect.ColumnType, GenDialect.SqlBlockContext |
| フィールドの概要 | |
|---|---|
protected static java.lang.String |
COLUMN_NOT_FOUND_SQL_STATE
カラムが見つからないことを示すSQLステート |
protected static java.lang.String |
SEQUENCE_NOT_FOUND_SQL_STATE
シーケンスが見つからないことを示すSQLステート |
protected static java.lang.String |
TABLE_NOT_FOUND_SQL_STATE
テーブルが見つからないことを示すSQLステート |
| クラス org.seasar.extension.jdbc.gen.internal.dialect.StandardGenDialect から継承されたフィールド |
|---|
columnTypeMap, fallbackColumnTypeMap, logger, sqlTypeMap |
| コンストラクタの概要 | |
|---|---|
PostgreGenDialect()
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
GenDialect.SqlBlockContext |
createSqlBlockContext()
SQLブロックのコンテキストを作成します。 |
GenerationType |
getDefaultGenerationType()
デフォルトの GenerationTypeを返します。 |
java.lang.String |
getDefaultSchemaName(java.lang.String userName)
デフォルトのスキーマ名を返します。 |
java.lang.String |
getIdentityColumnDefinition()
IDENTITYカラムの定義を返します。 |
java.lang.String |
getName()
名前を返します。 |
java.lang.String |
getSequenceDefinitionFragment(java.lang.String dataType,
long initialValue,
int allocationSize)
シーケンス定義の断片を返します。 |
java.lang.String |
getSequenceNextValString(java.lang.String sequenceName,
int allocationSize)
シーケンスの値を取得するSQLを返します。 |
SqlType |
getSqlType(ValueTypeProvider valueTypeProvider,
PropertyMeta propertyMeta)
SQL型を返します。 |
boolean |
isColumnNotFound(java.lang.Throwable throwable)
カラムが存在しない例外を表す場合 trueを返します。 |
boolean |
isSequenceNotFound(java.lang.Throwable throwable)
シーケンスが存在しない例外を表す場合 trueを返します。 |
boolean |
isTableNotFound(java.lang.Throwable throwable)
テーブルが存在しない例外を表す場合 trueを返します。 |
boolean |
supportsCommentInCreateTable()
CREATE TABLEでコメントをサポートする場合 trueを返します。 |
boolean |
supportsCommentOn()
COMMENT ONをサポートする場合 trueを返します。 |
boolean |
supportsIdentity()
IDENTITYカラムをサポートしている場合 trueを返します。 |
boolean |
supportsIdentityInsert()
IDENTITYカラムに対するinsertをサポートしている場合 trueを返します。 |
boolean |
supportsSequence()
シーケンスをサポートする場合 trueを返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected static java.lang.String TABLE_NOT_FOUND_SQL_STATE
protected static java.lang.String COLUMN_NOT_FOUND_SQL_STATE
protected static java.lang.String SEQUENCE_NOT_FOUND_SQL_STATE
| コンストラクタの詳細 |
|---|
public PostgreGenDialect()
| メソッドの詳細 |
|---|
public java.lang.String getName()
GenDialect の記述:
GenDialect 内の getNameStandardGenDialect 内の getName
public SqlType getSqlType(ValueTypeProvider valueTypeProvider,
PropertyMeta propertyMeta)
GenDialect の記述:
GenDialect 内の getSqlTypeStandardGenDialect 内の getSqlTypevalueTypeProvider - ValueTypeの提供者propertyMeta - プロパティメタデータ
public java.lang.String getDefaultSchemaName(java.lang.String userName)
GenDialect の記述:
GenDialect 内の getDefaultSchemaNameStandardGenDialect 内の getDefaultSchemaNameuserName - ユーザー名
public GenerationType getDefaultGenerationType()
GenDialect の記述: GenerationTypeを返します。
GenDialect 内の getDefaultGenerationTypeStandardGenDialect 内の getDefaultGenerationTypeGenerationTypepublic boolean supportsSequence()
GenDialect の記述: trueを返します。
GenDialect 内の supportsSequenceStandardGenDialect 内の supportsSequencetrue、しない場合false
public java.lang.String getSequenceDefinitionFragment(java.lang.String dataType,
long initialValue,
int allocationSize)
GenDialect の記述: この断片は create sequence 以降に続きます。
GenDialect 内の getSequenceDefinitionFragmentStandardGenDialect 内の getSequenceDefinitionFragmentdataType - データタイプinitialValue - 初期値allocationSize - 割り当てサイズ
public java.lang.String getIdentityColumnDefinition()
GenDialect の記述:
GenDialect 内の getIdentityColumnDefinitionStandardGenDialect 内の getIdentityColumnDefinitionpublic boolean isTableNotFound(java.lang.Throwable throwable)
GenDialect の記述: trueを返します。
GenDialect 内の isTableNotFoundStandardGenDialect 内の isTableNotFoundthrowable - 何らかの例外
truepublic boolean isColumnNotFound(java.lang.Throwable throwable)
GenDialect の記述: trueを返します。
GenDialect 内の isColumnNotFoundStandardGenDialect 内の isColumnNotFoundthrowable - 何らかの例外
truepublic boolean isSequenceNotFound(java.lang.Throwable throwable)
GenDialect の記述: trueを返します。
GenDialect 内の isSequenceNotFoundStandardGenDialect 内の isSequenceNotFoundthrowable - 何らかの例外
truepublic GenDialect.SqlBlockContext createSqlBlockContext()
GenDialect の記述:
GenDialect 内の createSqlBlockContextStandardGenDialect 内の createSqlBlockContextpublic boolean supportsIdentityInsert()
GenDialect の記述: trueを返します。
GenDialect 内の supportsIdentityInsertStandardGenDialect 内の supportsIdentityInserttruepublic boolean supportsIdentity()
GenDialect の記述: trueを返します。
GenDialect 内の supportsIdentityStandardGenDialect 内の supportsIdentitytrue
public java.lang.String getSequenceNextValString(java.lang.String sequenceName,
int allocationSize)
GenDialect の記述:
GenDialect 内の getSequenceNextValStringStandardGenDialect 内の getSequenceNextValStringsequenceName - シーケンス名allocationSize - 割り当てサイズ
public boolean supportsCommentInCreateTable()
GenDialect の記述: trueを返します。
GenDialect 内の supportsCommentInCreateTableStandardGenDialect 内の supportsCommentInCreateTabletruepublic boolean supportsCommentOn()
GenDialect の記述: trueを返します。
GenDialect 内の supportsCommentOnStandardGenDialect 内の supportsCommentOntrue
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||