|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.j256.ormlite.db.BaseDatabaseType
com.j256.ormlite.db.BaseSqliteDatabaseType
com.j256.ormlite.db.SqliteAndroidDatabaseType
public class SqliteAndroidDatabaseType
Sqlite database type information for the Android OS that makes native calls to the Android OS database APIs.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.j256.ormlite.db.BaseDatabaseType |
|---|
com.j256.ormlite.db.BaseDatabaseType.BooleanNumberFieldConverter |
| Field Summary |
|---|
| Fields inherited from class com.j256.ormlite.db.BaseDatabaseType |
|---|
DEFAULT_SEQUENCE_SUFFIX, driver |
| Constructor Summary | |
|---|---|
SqliteAndroidDatabaseType()
|
|
| Method Summary | ||
|---|---|---|
protected void |
appendBooleanType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth)
|
|
protected void |
appendDateType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth)
|
|
|
extractDatabaseTableConfig(com.j256.ormlite.support.ConnectionSource connectionSource,
Class<T> clazz)
|
|
String |
getDatabaseName()
|
|
protected String |
getDriverClassName()
|
|
com.j256.ormlite.field.FieldConverter |
getFieldConverter(com.j256.ormlite.field.DataPersister dataPersister)
|
|
boolean |
isBatchUseTransaction()
|
|
boolean |
isDatabaseUrlThisType(String url,
String dbTypePart)
|
|
boolean |
isNestedSavePointsSupported()
|
|
void |
loadDriver()
|
|
| Methods inherited from class com.j256.ormlite.db.BaseSqliteDatabaseType |
|---|
appendInsertNoColumns, appendLongType, configureGeneratedId, generatedIdSqlAtEnd, isCreateIfNotExistsSupported, isCreateTableReturnsZero, isVarcharFieldWidthSupported |
| Methods inherited from class com.j256.ormlite.db.BaseDatabaseType |
|---|
addPrimaryKeySql, addUniqueComboSql, appendBigDecimalNumericType, appendByteArrayType, appendByteType, appendCharType, appendColumnArg, appendCreateTableSuffix, appendEscapedEntityName, appendEscapedWord, appendLimitValue, appendLongStringType, appendOffsetValue, appendSelectNextValFromSequence, appendSerializableType, appendShortType, appendStringType, configureGeneratedIdSequence, configureId, dropColumnArg, generateIdSequenceName, getCommentLinePrefix, getPingStatement, isAllowGeneratedIdInsertSupported, isCreateIndexIfNotExistsSupported, isCreateTableReturnsNegative, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterSelect, isLimitSqlSupported, isOffsetLimitArgument, isOffsetSqlSupported, isSelectSequenceBeforeInsert, isTruncateSupported, setDriver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SqliteAndroidDatabaseType()
| Method Detail |
|---|
public void loadDriver()
loadDriver in interface com.j256.ormlite.db.DatabaseTypeloadDriver in class com.j256.ormlite.db.BaseDatabaseType
public boolean isDatabaseUrlThisType(String url,
String dbTypePart)
protected String getDriverClassName()
getDriverClassName in class com.j256.ormlite.db.BaseDatabaseTypepublic String getDatabaseName()
protected void appendDateType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth)
appendDateType in class com.j256.ormlite.db.BaseDatabaseType
protected void appendBooleanType(StringBuilder sb,
com.j256.ormlite.field.FieldType fieldType,
int fieldWidth)
appendBooleanType in class com.j256.ormlite.db.BaseDatabaseTypepublic com.j256.ormlite.field.FieldConverter getFieldConverter(com.j256.ormlite.field.DataPersister dataPersister)
getFieldConverter in interface com.j256.ormlite.db.DatabaseTypegetFieldConverter in class com.j256.ormlite.db.BaseSqliteDatabaseTypepublic boolean isNestedSavePointsSupported()
isNestedSavePointsSupported in interface com.j256.ormlite.db.DatabaseTypeisNestedSavePointsSupported in class com.j256.ormlite.db.BaseDatabaseTypepublic boolean isBatchUseTransaction()
isBatchUseTransaction in interface com.j256.ormlite.db.DatabaseTypeisBatchUseTransaction in class com.j256.ormlite.db.BaseDatabaseType
public <T> com.j256.ormlite.table.DatabaseTableConfig<T> extractDatabaseTableConfig(com.j256.ormlite.support.ConnectionSource connectionSource,
Class<T> clazz)
throws SQLException
extractDatabaseTableConfig in interface com.j256.ormlite.db.DatabaseTypeextractDatabaseTableConfig in class com.j256.ormlite.db.BaseDatabaseTypeSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||