Android Open Source - android-concurrent-database Database Params






From Project

Back to project page android-concurrent-database.

License

The source code is released under:

MIT License

If you think the Android project android-concurrent-database 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

package com.dd.database.utils;
//from  w  ww .  j a  v  a2  s .  c  o m
import android.content.ContentValues;

public class DatabaseParams {

    public static class Insert {

        public String table;
        public String nullColumnHack;
        public ContentValues values;
    }

    public static class Delete {

        public String table;
        public String whereClause;
        public String[] whereArgs;
    }

    public static class Select {

        public boolean distinct;
        public String table;
        public String[] columns;
        public String selection;
        public String[] selectionArgs;
        public String groupBy;
        public String having;
        public String orderBy;
        public String limit;
    }

    public static class Update {

        public String table;
        public ContentValues values;
        public String whereClause;
        public String[] whereArgs;
    }
}




Java Source Code List

com.dd.database.DatabaseManager.java
com.dd.database.QueryExecutor.java
com.dd.database.utils.DatabaseParams.java
com.dd.database.utils.DatabaseUtils.java
com.dd.utils.L.java