@Test public void testQueryEmptyData() { assertThat(service.query(AutoValueClasses.CLUB)).isEqualTo(Collections.emptyList()); }
public <T extends Persistable> List<T> query(Class<T> type) { Persistable.Converter<T> converter = converterForType(type); return rawQuery(converter, "SELECT * FROM " + converter.tableName()); }
ElifutDataStore extends SQLiteOpenHelper { public <T extends Persistable> List<T> query(Class<T> type) { Persistable.Converter<T> converter = converterForType(type); return rawQuery(converter, "SELECT * FROM " + converter.tableName()); } }
ElifutDataStore extends SQLiteOpenHelper { public <T extends Persistable> List<T> query(Class<T> type) { Persistable.Converter<T> converter = converterForType(type); return rawQuery(converter, "SELECT * FROM " + converter.tableName()); } ElifutDataStore(Context context, SqlBrite sqlBrite,
      List<Persistable.Converter<?>> converters); }
ElifutDataStore extends SQLiteOpenHelper { public <T extends Persistable> List<T> query(Class<T> type) { Persistable.Converter<T> converter = converterForType(type); return rawQuery(converter, "SELECT * FROM " + converter.tableName()); } ElifutDataStore(Context context, SqlBrite sqlBrite,
      List<Persistable.Converter<?>> converters); @Override void onCreate(SQLiteDatabase db); @Override void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); long create(Persistable persistable); void create(Persistable... persistables); void create(List<? extends Persistable> persistables); int update(Persistable persistable, int id); int delete(Persistable persistable, int id); List<T> query(Class<T> type); List<T> query(Class<T> type, int... rowIds); List<T> query(Class<T> type, String whereClause, String... args); @Nullable T queryOne(Class<T> type, int rowId); Observable<List<T>> observe(Class<T> type); Observable<List<T>> observe(
      Class<T> type, String whereClause, String... args); Persistable.Converter<T> converterForType(Class<?> type); void deleteAll(); }
ElifutDataStore extends SQLiteOpenHelper { public <T extends Persistable> List<T> query(Class<T> type) { Persistable.Converter<T> converter = converterForType(type); return rawQuery(converter, "SELECT * FROM " + converter.tableName()); } ElifutDataStore(Context context, SqlBrite sqlBrite,
      List<Persistable.Converter<?>> converters); @Override void onCreate(SQLiteDatabase db); @Override void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion); long create(Persistable persistable); void create(Persistable... persistables); void create(List<? extends Persistable> persistables); int update(Persistable persistable, int id); int delete(Persistable persistable, int id); List<T> query(Class<T> type); List<T> query(Class<T> type, int... rowIds); List<T> query(Class<T> type, String whereClause, String... args); @Nullable T queryOne(Class<T> type, int rowId); Observable<List<T>> observe(Class<T> type); Observable<List<T>> observe(
      Class<T> type, String whereClause, String... args); Persistable.Converter<T> converterForType(Class<?> type); void deleteAll();  }