|
||||||||||
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 |
---|
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 |
Methods inherited from interface com.j256.ormlite.db.DatabaseType |
---|
addPrimaryKeySql, addUniqueComboSql, appendColumnArg, appendCreateTableSuffix, appendEscapedEntityName, appendEscapedWord, appendLimitValue, appendOffsetValue, appendSelectNextValFromSequence, dropColumnArg, generateIdSequenceName, getCommentLinePrefix, getPingStatement, isAllowGeneratedIdInsertSupported, isCreateIfNotExistsSupported, isCreateIndexIfNotExistsSupported, isCreateTableReturnsNegative, isCreateTableReturnsZero, isEntityNamesMustBeUpCase, isIdSequenceNeeded, isLimitAfterSelect, isLimitSqlSupported, isOffsetLimitArgument, isOffsetSqlSupported, isSelectSequenceBeforeInsert, isTruncateSupported, isVarcharFieldWidthSupported, setDriver |
Constructor Detail |
---|
public SqliteAndroidDatabaseType()
Method Detail |
---|
public void loadDriver()
loadDriver
in interface com.j256.ormlite.db.DatabaseType
loadDriver
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isDatabaseUrlThisType(String url, String dbTypePart)
isDatabaseUrlThisType
in interface com.j256.ormlite.db.DatabaseType
protected String getDriverClassName()
getDriverClassName
in class com.j256.ormlite.db.BaseDatabaseType
public String getDatabaseName()
getDatabaseName
in interface com.j256.ormlite.db.DatabaseType
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.BaseDatabaseType
public com.j256.ormlite.field.FieldConverter getFieldConverter(com.j256.ormlite.field.DataPersister dataPersister)
getFieldConverter
in interface com.j256.ormlite.db.DatabaseType
getFieldConverter
in class com.j256.ormlite.db.BaseSqliteDatabaseType
public boolean isNestedSavePointsSupported()
isNestedSavePointsSupported
in interface com.j256.ormlite.db.DatabaseType
isNestedSavePointsSupported
in class com.j256.ormlite.db.BaseDatabaseType
public boolean isBatchUseTransaction()
isBatchUseTransaction
in interface com.j256.ormlite.db.DatabaseType
isBatchUseTransaction
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.DatabaseType
extractDatabaseTableConfig
in class com.j256.ormlite.db.BaseDatabaseType
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |