@CheckResult @WorkerThread
  public Cursor query(@NonNull String sql, @NonNull Object... args) {
    Cursor cursor = getReadableDatabase().query(sql, args);
    if (logging) {
      log("QUERY\n  sql: %s\n  args: %s", indentSql(sql), Arrays.toString(args));
    }

    return cursor;
  }
@CheckResult @WorkerThread
  public Cursor query(@NonNull String sql, @NonNull Object... args) {
    Cursor cursor = getReadableDatabase().query(sql, args);
    if (logging) {
      log("QUERY\n  sql: %s\n  args: %s", indentSql(sql), Arrays.toString(args));
    }

    return cursor;
  }
@ CheckResult @ WorkerThread public Cursor query ( @ NonNull String sql , @ NonNull Object ... args ) { Cursor cursor = getReadableDatabase ( ) . query ( sql , args ) ; if ( logging ) { log ( "QUERY\n  sql: %s\n  args: %s" , indentSql ( sql ) , Arrays . toString ( args ) ) ; } return cursor ; }
Runs the provided SQL and returns a {@link Cursor} over the result set.

@see SupportSQLiteDatabase#query(String, Object[])
Runs the provided SQL and returns a { @link Cursor } over the result set .