public class PostgresDatabaseType
extends com.j256.ormlite.db.BaseDatabaseType
| Constructor and Description |
|---|
PostgresDatabaseType() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendByteArrayType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
appendByteType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
void |
appendEscapedEntityName(StringBuilder sb,
String name) |
void |
appendSelectNextValFromSequence(StringBuilder sb,
String sequenceName) |
protected void |
appendSerializableType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
appendUuidNativeType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth) |
protected void |
configureGeneratedIdSequence(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
List<String> statementsBefore,
List<String> additionalArgs,
List<String> queriesAfter) |
void |
dropColumnArg(com.j256.ormlite.field.FieldType fieldType,
List<String> statementsBefore,
List<String> statementsAfter) |
String |
getDatabaseName() |
protected String |
getDriverClassName() |
boolean |
isCreateIfNotExistsSupported() |
boolean |
isDatabaseUrlThisType(String url,
String dbTypePart) |
boolean |
isIdSequenceNeeded() |
boolean |
isSelectSequenceBeforeInsert() |
boolean |
isTruncateSupported() |
addPrimaryKeySql, addUniqueComboSql, appendBigDecimalNumericType, appendBooleanType, appendCharType, appendColumnArg, appendCreateTableSuffix, appendDateType, appendEscapedWord, appendInsertNoColumns, appendLimitValue, appendLongStringType, appendLongType, appendOffsetValue, appendShortType, appendStringType, configureGeneratedId, configureId, downCaseString, extractDatabaseTableConfig, generatedIdSqlAtEnd, generateIdSequenceName, getCommentLinePrefix, getDataPersister, getFieldConverter, getPingStatement, isAllowGeneratedIdInsertSupported, isBatchUseTransaction, isCreateIndexIfNotExistsSupported, isCreateTableReturnsNegative, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isLimitAfterSelect, isLimitSqlSupported, isNestedSavePointsSupported, isOffsetLimitArgument, isOffsetSqlSupported, isVarcharFieldWidthSupported, loadDriver, setDriver, upCaseEntityName, upCaseStringprotected String getDriverClassName()
getDriverClassName in class com.j256.ormlite.db.BaseDatabaseTypepublic String getDatabaseName()
protected void appendUuidNativeType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendUuidNativeType in class com.j256.ormlite.db.BaseDatabaseTypeprotected void appendByteType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendByteType in class com.j256.ormlite.db.BaseDatabaseTypeprotected void appendByteArrayType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendByteArrayType in class com.j256.ormlite.db.BaseDatabaseTypeprotected void appendSerializableType(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, int fieldWidth)
appendSerializableType in class com.j256.ormlite.db.BaseDatabaseTypeprotected void configureGeneratedIdSequence(StringBuilder sb, com.j256.ormlite.field.FieldType fieldType, List<String> statementsBefore, List<String> additionalArgs, List<String> queriesAfter)
configureGeneratedIdSequence in class com.j256.ormlite.db.BaseDatabaseTypepublic void dropColumnArg(com.j256.ormlite.field.FieldType fieldType,
List<String> statementsBefore,
List<String> statementsAfter)
dropColumnArg in interface com.j256.ormlite.db.DatabaseTypedropColumnArg in class com.j256.ormlite.db.BaseDatabaseTypepublic void appendEscapedEntityName(StringBuilder sb, String name)
appendEscapedEntityName in interface com.j256.ormlite.db.DatabaseTypeappendEscapedEntityName in class com.j256.ormlite.db.BaseDatabaseTypepublic boolean isIdSequenceNeeded()
isIdSequenceNeeded in interface com.j256.ormlite.db.DatabaseTypeisIdSequenceNeeded in class com.j256.ormlite.db.BaseDatabaseTypepublic boolean isSelectSequenceBeforeInsert()
isSelectSequenceBeforeInsert in interface com.j256.ormlite.db.DatabaseTypeisSelectSequenceBeforeInsert in class com.j256.ormlite.db.BaseDatabaseTypepublic void appendSelectNextValFromSequence(StringBuilder sb, String sequenceName)
appendSelectNextValFromSequence in interface com.j256.ormlite.db.DatabaseTypeappendSelectNextValFromSequence in class com.j256.ormlite.db.BaseDatabaseTypepublic boolean isTruncateSupported()
isTruncateSupported in interface com.j256.ormlite.db.DatabaseTypeisTruncateSupported in class com.j256.ormlite.db.BaseDatabaseTypepublic boolean isCreateIfNotExistsSupported()
isCreateIfNotExistsSupported in interface com.j256.ormlite.db.DatabaseTypeisCreateIfNotExistsSupported in class com.j256.ormlite.db.BaseDatabaseTypeThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.