a
554325746@qq.com
2020-01-13 7171bbcdb2859ea93f3af69d817243752b08314a
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();
}