public interface Cursor
| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_TYPE_BLOB
Value returned by
getType(int) if the specified column type is blob |
static int |
FIELD_TYPE_FLOAT
Value returned by
getType(int) if the specified column type is float |
static int |
FIELD_TYPE_INTEGER
Value returned by
getType(int) if the specified column type is integer |
static int |
FIELD_TYPE_NULL
Value returned by
getType(int) if the specified column is null |
static int |
FIELD_TYPE_STRING
Value returned by
getType(int) if the specified column type is string |
| Modifier and Type | Method and Description |
|---|---|
int |
getType(int columnIndex)
Returns data type of the given column's value.
|
static final int FIELD_TYPE_NULL
getType(int) if the specified column is nullstatic final int FIELD_TYPE_INTEGER
getType(int) if the specified column type is integerstatic final int FIELD_TYPE_FLOAT
getType(int) if the specified column type is floatstatic final int FIELD_TYPE_STRING
getType(int) if the specified column type is stringstatic final int FIELD_TYPE_BLOB
getType(int) if the specified column type is blobint getType(int columnIndex)
#getInt(int), #getFloat(int)
etc.
Returned column types are
columnIndex - the zero-based index of the target column.