MCPcopy Create free account
hub / github.com/M66B/FairEmail / read

Method read

app/src/main/java/androidx/room/FtsTableInfo.java:79–84  ·  view source on GitHub ↗

Reads the table information from the given database. @param database The database to read the information from. @param tableName The table name. @return A FtsTableInfo containing the columns and options for the provided table name.

(SupportSQLiteDatabase database, String tableName)

Source from the content-addressed store, hash-verified

77 * @return A FtsTableInfo containing the columns and options for the provided table name.
78 */
79 public static FtsTableInfo read(SupportSQLiteDatabase database, String tableName) {
80 Set<String> columns = readColumns(database, tableName);
81 Set<String> options = readOptions(database, tableName);
82
83 return new FtsTableInfo(tableName, columns, options);
84 }
85
86 @SuppressWarnings("TryFinallyCanBeTryWithResources")
87 private static Set<String> readColumns(SupportSQLiteDatabase database, String tableName) {

Callers

nothing calls this directly

Calls 2

readColumnsMethod · 0.95
readOptionsMethod · 0.95

Tested by

no test coverage detected