Android Open Source - sqlite-provider S Q Lite Inserter

From Project

Back to project page sqlite-provider.


The source code is released under:

Apache License

If you think the Android project sqlite-provider listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*from ww w.  ja v a2 s .c  om*/
public interface SQLiteInserter {

    short CONTINUE = 0;

    short BREAK = 1;

    short ROLLBACK = 2;

    int getCount();

    // Do I need?
    String getInsertStatement(String tableName);

    int getInsertIndex(String field);

    SQLiteType getType(String field);

    Object get(String field, int index);

    // DO I need?
    String[] getColumns();

    // FIXME not fully working yet
    short onFailure(int index);

    // TODO v2
    // SQLiteTransactionListener getListener();

Java Source Code List