Język

SqliteDataType Enum

Definition

Identifies the SQLite type of a column value returned by a raw statement.

public enum SqliteDataType
type SqliteDataType = 
Inheritance
SqliteDataType

Fields

Name Value Description
Integer 1

The constant returned by getColumnType(int) when the column value is SQLITE_INTEGER.

Android reference for android.database.sqlite.SQLiteRawStatement.SQLITE_DATA_TYPE_INTEGER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Float 2

The constant returned by getColumnType(int) when the column value is SQLITE_FLOAT.

Android reference for android.database.sqlite.SQLiteRawStatement.SQLITE_DATA_TYPE_FLOAT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Text 3

The constant returned by getColumnType(int) when the column value is SQLITE_TEXT.

Android reference for android.database.sqlite.SQLiteRawStatement.SQLITE_DATA_TYPE_TEXT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Blob 4

The constant returned by getColumnType(int) when the column value is SQLITE_BLOB.

Android reference for android.database.sqlite.SQLiteRawStatement.SQLITE_DATA_TYPE_BLOB.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Null 5

The constant returned by getColumnType(int) when the column value is SQLITE_NULL.

Android reference for android.database.sqlite.SQLiteRawStatement.SQLITE_DATA_TYPE_NULL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

These values correspond to the SQLITE_DATA_TYPE_* constants on SQLiteRawStatement. The type describes the current column value, not the declared type of the table column.

See the Android implementation of SQLiteRawStatement.

Applies to