class DefaultDownloadIndex implements WritableDownloadIndex {

  @Override
  public DownloadCursor getDownloads(@Download.State int... states) throws DatabaseIOException {
    ensureInitialized();
    Cursor cursor = getCursor(getStateQuery(states), /* selectionArgs= */ null);
    return new DownloadCursorImpl(cursor);
  }

  public  DefaultDownloadIndex(DatabaseProvider databaseProvider);
  public  DefaultDownloadIndex(DatabaseProvider databaseProvider, String name);

}