@@ -0,0 +1,1273 @@
+package io.pivotal.arca.provider;%0A%0Aimport android.content.ContentValues;%0Aimport android.database.Cursor;%0Aimport android.database.MatrixCursor;%0Aimport android.net.Uri;%0A%0Apublic abstract class SearchDataset extends ContextDataset %7B%0A%0A    public abstract Cursor search(String%5B%5D args) throws Exception;%0A%0A    @Override%0A    public Cursor query(final Uri uri, final String%5B%5D projection, final String selection, final String%5B%5D selectionArgs, final String sortOrder) %7B%0A        try %7B%0A            return search(selectionArgs);%0A        %7D catch (final Exception e) %7B%0A            return new MatrixCursor(new String%5B%5D %7B %22_id%22 %7D);%0A        %7D%0A    %7D%0A%0A    @Override%0A    public int update(final Uri uri, final ContentValues values, final String selection, final String%5B%5D selectionArgs) %7B%0A        throw new UnsupportedOperationException();%0A    %7D%0A%0A    @Override%0A    public Uri insert(final Uri uri, final ContentValues values) %7B%0A        throw new UnsupportedOperationException();%0A    %7D%0A%0A    @Override%0A    public int bulkInsert(final Uri uri, final ContentValues%5B%5D values) %7B%0A        throw new UnsupportedOperationException();%0A    %7D%0A%0A    @Override%0A    public int delete(final Uri uri, final String selection, final String%5B%5D selectionArgs) %7B%0A        throw new UnsupportedOperationException();%0A    %7D%0A%7D%0A

Add search dataset to provider