a
554325746@qq.com
2019-12-25 7340eb0b160eacbbd0f3c2289e3ac6150da235f3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.amitshekhar.sqlite;
 
import android.content.ContentValues;
import android.database.Cursor;
import android.database.SQLException;
 
/**
 * Created by anandgaurav on 12/02/18.
 */
public interface SQLiteDB {
    int delete(String table, String whereClause, String[] whereArgs);
 
    boolean isOpen();
 
    void close();
 
    Cursor rawQuery(String sql, String[] selectionArgs);
 
    void execSQL(String sql) throws SQLException;
 
    long insert(String table, String nullColumnHack, ContentValues values);
 
    int update(String table, ContentValues values, String whereClause, String[] whereArgs);
 
    int getVersion();
}