FileDocCategorySizeDatePackage
TableResultX.javaAPI DocAndroid 1.5 API888Wed May 06 22:41:06 BST 2009SQLite.JDBC2y

TableResultX

public class TableResultX extends SQLite.TableResult

Fields Summary
public int[]
sql_type
Constructors Summary
public TableResultX()

    super();
    sql_type = new int[this.ncolumns];
    for (int i = 0; i < this.ncolumns; i++) {
        sql_type[i] = Types.VARCHAR;
    }
    
public TableResultX(SQLite.TableResult tr)

    this.column = tr.column;
    this.rows = tr.rows;
    this.ncolumns = tr.ncolumns;
    this.nrows = tr.nrows;
    this.types = tr.types;
    sql_type = new int[tr.ncolumns];
    for (int i = 0; i < this.ncolumns; i++) {
        sql_type[i] = Types.VARCHAR;
    }
    if (tr.types != null) {
        for (int i = 0; i < tr.types.length; i++) {
        sql_type[i] = JDBCDatabaseMetaData.mapSqlType(tr.types[i]);
        }
    }    
    
Methods Summary
voidsql_types(int[] types)

    sql_type = types;