room/runtime/src/main/java/androidx/room/util/TableInfo.java
@SuppressWarnings("SameParameterValue")
    public static TableInfo read(SupportSQLiteDatabase database, String tableName) {
        Map<String, Column> columns = readColumns(database, tableName);
        Set<ForeignKey> foreignKeys = readForeignKeys(database, tableName);
        Set<Index> indices = readIndices(database, tableName);
        return new TableInfo(tableName, columns, foreignKeys, indices);
    }
/**
     * Reads the table information from the given database.
     *
     * @param database  The database to read the information from.
     * @param tableName The table name.
     * @return A TableInfo containing the schema information for the provided table name.
     */
Reads the table information from the given database.
@param database  The database to read the information from.
@param tableName The table name.
@return A TableInfo containing the schema information for the provided table name.
Reads the table information from the given database . @param database The database to read the information from . @param tableName The table name . @return A TableInfo containing the schema information for the provided table name .
@SuppressWarnings("SameParameterValue")
    public static TableInfo read(SupportSQLiteDatabase database, String tableName) {
        Map<String, Column> columns = readColumns(database, tableName);
        Set<ForeignKey> foreignKeys = readForeignKeys(database, tableName);
        Set<Index> indices = readIndices(database, tableName);
        return new TableInfo(tableName, columns, foreignKeys, indices);
    }
@ SuppressWarnings ( "SameParameterValue" ) public static TableInfo read ( SupportSQLiteDatabase database , String tableName ) { Map < String , Column > columns = readColumns ( database , tableName ) ; Set < ForeignKey > foreignKeys = readForeignKeys ( database , tableName ) ; Set < Index > indices = readIndices ( database , tableName ) ; return new TableInfo ( tableName , columns , foreignKeys , indices ) ; }
Reads the table information from the given database.
Reads the table information from the given database .