Code example for SQLiteQuery

Methods: toString

    private static final int DATABASE_VERSION = 1;
    private static final CursorFactory sCursorFactory = new CursorFactory() {
        public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, String editTable, SQLiteQuery query) { 
            Log.d(TAG, query.toString()); 
            return new SQLiteCursor(db, masterQuery, editTable, query); 
    interface Tables { 
        String FILES = "files";
    public FilesDatabase(Context context) {
        super(context, DATABASE_NAME, BuildConfig.DEBUG ? sCursorFactory : null, DATABASE_VERSION);
    public void onCreate(SQLiteDatabase db) {
Connect your IDE to all the code out there  Get Codota for Java