public class SQLiteResultSetMetadata
extends java.lang.Object
implements java.sql.ResultSetMetaData
| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_TYPE_BLOB |
static int |
FIELD_TYPE_FLOAT |
static int |
FIELD_TYPE_INTEGER |
static int |
FIELD_TYPE_NULL |
static int |
FIELD_TYPE_STRING |
| Constructor and Description |
|---|
SQLiteResultSetMetadata(android.database.Cursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCatalogName(int columnIndex) |
java.lang.String |
getColumnClassName(int columnIndex) |
int |
getColumnCount() |
int |
getColumnDisplaySize(int columnIndex) |
java.lang.String |
getColumnLabel(int columnIndex) |
java.lang.String |
getColumnName(int columnIndex) |
int |
getColumnType(int columnIndex) |
java.lang.String |
getColumnTypeName(int columnIndex) |
int |
getPrecision(int columnIndex) |
int |
getScale(int columnIndex) |
java.lang.String |
getSchemaName(int columnIndex) |
java.lang.String |
getTableName(int columnIndex) |
boolean |
isAutoIncrement(int columnIndex) |
boolean |
isCaseSensitive(int columnIndex) |
boolean |
isCurrency(int columnIndex) |
boolean |
isDefinitelyWritable(int columnIndex) |
int |
isNullable(int columnIndex) |
boolean |
isReadOnly(int columnIndex) |
boolean |
isSearchable(int columnIndex) |
boolean |
isSigned(int columnIndex) |
boolean |
isWrapperFor(java.lang.Class<?> iface) |
boolean |
isWritable(int columnIndex) |
<T> T |
unwrap(java.lang.Class<T> iface) |
public static final int FIELD_TYPE_NULL
public static final int FIELD_TYPE_INTEGER
public static final int FIELD_TYPE_FLOAT
public static final int FIELD_TYPE_STRING
public static final int FIELD_TYPE_BLOB
public SQLiteResultSetMetadata(android.database.Cursor cursor)
public java.lang.String getCatalogName(int columnIndex)
throws java.sql.SQLException
getCatalogName in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic java.lang.String getColumnClassName(int columnIndex)
throws java.sql.SQLException
getColumnClassName in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic int getColumnCount()
throws java.sql.SQLException
getColumnCount in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic int getColumnDisplaySize(int columnIndex)
throws java.sql.SQLException
getColumnDisplaySize in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic java.lang.String getColumnLabel(int columnIndex)
throws java.sql.SQLException
getColumnLabel in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic java.lang.String getColumnName(int columnIndex)
throws java.sql.SQLException
getColumnName in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic int getColumnType(int columnIndex)
throws java.sql.SQLException
getColumnType in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic java.lang.String getColumnTypeName(int columnIndex)
throws java.sql.SQLException
getColumnTypeName in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic int getPrecision(int columnIndex)
throws java.sql.SQLException
getPrecision in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic int getScale(int columnIndex)
throws java.sql.SQLException
getScale in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic java.lang.String getSchemaName(int columnIndex)
throws java.sql.SQLException
getSchemaName in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic java.lang.String getTableName(int columnIndex)
throws java.sql.SQLException
getTableName in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic boolean isAutoIncrement(int columnIndex)
throws java.sql.SQLException
isAutoIncrement in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic boolean isCaseSensitive(int columnIndex)
throws java.sql.SQLException
isCaseSensitive in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic boolean isCurrency(int columnIndex)
throws java.sql.SQLException
isCurrency in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic boolean isDefinitelyWritable(int columnIndex)
throws java.sql.SQLException
isDefinitelyWritable in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic int isNullable(int columnIndex)
throws java.sql.SQLException
isNullable in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic boolean isReadOnly(int columnIndex)
throws java.sql.SQLException
isReadOnly in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic boolean isSearchable(int columnIndex)
throws java.sql.SQLException
isSearchable in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic boolean isSigned(int columnIndex)
throws java.sql.SQLException
isSigned in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic boolean isWritable(int columnIndex)
throws java.sql.SQLException
isWritable in interface java.sql.ResultSetMetaDatajava.sql.SQLExceptionpublic <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
unwrap in interface java.sql.Wrapperjava.sql.SQLExceptionpublic boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
isWrapperFor in interface java.sql.Wrapperjava.sql.SQLException