@Implements(value=android.database.sqlite.SQLiteConnection.class, isInAndroidSdk=false) public class ShadowSQLiteConnection extends Object
Constructor and Description |
---|
ShadowSQLiteConnection() |
Modifier and Type | Method and Description |
---|---|
static void |
nativeBindBlob(int connectionPtr,
int statementPtr,
int index,
byte[] value) |
static void |
nativeBindBlob(long connectionPtr,
long statementPtr,
int index,
byte[] value) |
static void |
nativeBindDouble(int connectionPtr,
int statementPtr,
int index,
double value) |
static void |
nativeBindDouble(long connectionPtr,
long statementPtr,
int index,
double value) |
static void |
nativeBindLong(int connectionPtr,
int statementPtr,
int index,
long value) |
static void |
nativeBindLong(long connectionPtr,
long statementPtr,
int index,
long value) |
static void |
nativeBindNull(int connectionPtr,
int statementPtr,
int index) |
static void |
nativeBindNull(long connectionPtr,
long statementPtr,
int index) |
static void |
nativeBindString(int connectionPtr,
int statementPtr,
int index,
String value) |
static void |
nativeBindString(long connectionPtr,
long statementPtr,
int index,
String value) |
static void |
nativeCancel(int connectionPtr) |
static void |
nativeCancel(long connectionPtr) |
static void |
nativeClose(int connectionPtr) |
static void |
nativeClose(long connectionPtr) |
static void |
nativeExecute(int connectionPtr,
int statementPtr) |
static void |
nativeExecute(long connectionPtr,
long statementPtr) |
static int |
nativeExecuteForBlobFileDescriptor(int connectionPtr,
int statementPtr) |
static int |
nativeExecuteForBlobFileDescriptor(long connectionPtr,
long statementPtr) |
static int |
nativeExecuteForChangedRowCount(int connectionPtr,
int statementPtr) |
static int |
nativeExecuteForChangedRowCount(long connectionPtr,
long statementPtr) |
static long |
nativeExecuteForCursorWindow(int connectionPtr,
int statementPtr,
int windowPtr,
int startPos,
int requiredPos,
boolean countAllRows) |
static long |
nativeExecuteForCursorWindow(long connectionPtr,
long statementPtr,
long windowPtr,
int startPos,
int requiredPos,
boolean countAllRows) |
static long |
nativeExecuteForLastInsertedRowId(int connectionPtr,
int statementPtr) |
static long |
nativeExecuteForLastInsertedRowId(long connectionPtr,
long statementPtr) |
static long |
nativeExecuteForLong(int connectionPtr,
int statementPtr) |
static long |
nativeExecuteForLong(long connectionPtr,
long statementPtr) |
static String |
nativeExecuteForString(int connectionPtr,
int statementPtr) |
static String |
nativeExecuteForString(long connectionPtr,
long statementPtr) |
static void |
nativeFinalizeStatement(int connectionPtr,
int statementPtr) |
static void |
nativeFinalizeStatement(long connectionPtr,
long statementPtr) |
static int |
nativeGetColumnCount(int connectionPtr,
int statementPtr) |
static int |
nativeGetColumnCount(long connectionPtr,
long statementPtr) |
static String |
nativeGetColumnName(int connectionPtr,
int statementPtr,
int index) |
static String |
nativeGetColumnName(long connectionPtr,
long statementPtr,
int index) |
static int |
nativeGetDbLookaside(int connectionPtr) |
static int |
nativeGetDbLookaside(long connectionPtr) |
static int |
nativeGetParameterCount(int connectionPtr,
int statementPtr) |
static int |
nativeGetParameterCount(long connectionPtr,
long statementPtr) |
static boolean |
nativeIsReadOnly(int connectionPtr,
int statementPtr) |
static boolean |
nativeIsReadOnly(long connectionPtr,
long statementPtr) |
static Number |
nativeOpen(String path,
int openFlags,
String label,
boolean enableTrace,
boolean enableProfile) |
static long |
nativeOpen(String path,
int openFlags,
String label,
boolean enableTrace,
boolean enableProfile,
int lookasideSlotSize,
int lookasideSlotCount) |
static int |
nativePrepareStatement(int connectionPtr,
String sql) |
static long |
nativePrepareStatement(long connectionPtr,
String sql) |
static void |
nativeRegisterCustomFunction(int connectionPtr,
SQLiteCustomFunction function) |
static void |
nativeRegisterCustomFunction(long connectionPtr,
SQLiteCustomFunction function) |
static void |
nativeRegisterLocalizedCollators(int connectionPtr,
String locale) |
static void |
nativeRegisterLocalizedCollators(long connectionPtr,
String locale) |
static void |
nativeResetCancel(int connectionPtr,
boolean cancelable) |
static void |
nativeResetCancel(long connectionPtr,
boolean cancelable) |
static void |
nativeResetStatementAndClearBindings(int connectionPtr,
int statementPtr) |
static void |
nativeResetStatementAndClearBindings(long connectionPtr,
long statementPtr) |
static void |
reset() |
static void |
setUseInMemoryDatabase(boolean value) |
public static void setUseInMemoryDatabase(boolean value)
@Implementation(maxSdk=26) public static Number nativeOpen(String path, int openFlags, String label, boolean enableTrace, boolean enableProfile)
@Implementation(minSdk=27) public static long nativeOpen(String path, int openFlags, String label, boolean enableTrace, boolean enableProfile, int lookasideSlotSize, int lookasideSlotCount)
@Implementation(maxSdk=20) public static int nativePrepareStatement(int connectionPtr, String sql)
@Implementation(minSdk=21) public static long nativePrepareStatement(long connectionPtr, String sql)
@Resetter public static void reset()
@Implementation(maxSdk=20) public static void nativeClose(int connectionPtr)
@Implementation(minSdk=21) public static void nativeClose(long connectionPtr)
@Implementation(maxSdk=20) public static void nativeFinalizeStatement(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static void nativeFinalizeStatement(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static int nativeGetParameterCount(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static int nativeGetParameterCount(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static boolean nativeIsReadOnly(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static boolean nativeIsReadOnly(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static long nativeExecuteForLong(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static long nativeExecuteForLong(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static void nativeExecute(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static void nativeExecute(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static String nativeExecuteForString(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static String nativeExecuteForString(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static int nativeGetColumnCount(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static int nativeGetColumnCount(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static String nativeGetColumnName(int connectionPtr, int statementPtr, int index)
@Implementation(minSdk=21) public static String nativeGetColumnName(long connectionPtr, long statementPtr, int index)
@Implementation(maxSdk=20) public static void nativeBindNull(int connectionPtr, int statementPtr, int index)
@Implementation(minSdk=21) public static void nativeBindNull(long connectionPtr, long statementPtr, int index)
@Implementation(maxSdk=20) public static void nativeBindLong(int connectionPtr, int statementPtr, int index, long value)
@Implementation(minSdk=21) public static void nativeBindLong(long connectionPtr, long statementPtr, int index, long value)
@Implementation(maxSdk=20) public static void nativeBindDouble(int connectionPtr, int statementPtr, int index, double value)
@Implementation(minSdk=21) public static void nativeBindDouble(long connectionPtr, long statementPtr, int index, double value)
@Implementation(maxSdk=20) public static void nativeBindString(int connectionPtr, int statementPtr, int index, String value)
@Implementation(minSdk=21) public static void nativeBindString(long connectionPtr, long statementPtr, int index, String value)
@Implementation(maxSdk=20) public static void nativeBindBlob(int connectionPtr, int statementPtr, int index, byte[] value)
@Implementation(minSdk=21) public static void nativeBindBlob(long connectionPtr, long statementPtr, int index, byte[] value)
@Implementation(maxSdk=20) public static void nativeRegisterLocalizedCollators(int connectionPtr, String locale)
@Implementation(minSdk=21) public static void nativeRegisterLocalizedCollators(long connectionPtr, String locale)
@Implementation(maxSdk=20) public static int nativeExecuteForChangedRowCount(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static int nativeExecuteForChangedRowCount(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static long nativeExecuteForLastInsertedRowId(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static long nativeExecuteForLastInsertedRowId(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static long nativeExecuteForCursorWindow(int connectionPtr, int statementPtr, int windowPtr, int startPos, int requiredPos, boolean countAllRows)
@Implementation(minSdk=21) public static long nativeExecuteForCursorWindow(long connectionPtr, long statementPtr, long windowPtr, int startPos, int requiredPos, boolean countAllRows)
@Implementation(maxSdk=20) public static void nativeResetStatementAndClearBindings(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static void nativeResetStatementAndClearBindings(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static void nativeCancel(int connectionPtr)
@Implementation(minSdk=21) public static void nativeCancel(long connectionPtr)
@Implementation(maxSdk=20) public static void nativeResetCancel(int connectionPtr, boolean cancelable)
@Implementation(minSdk=21) public static void nativeResetCancel(long connectionPtr, boolean cancelable)
@Implementation(maxSdk=20) public static void nativeRegisterCustomFunction(int connectionPtr, SQLiteCustomFunction function)
@Implementation(minSdk=21) public static void nativeRegisterCustomFunction(long connectionPtr, SQLiteCustomFunction function)
@Implementation(maxSdk=20) public static int nativeExecuteForBlobFileDescriptor(int connectionPtr, int statementPtr)
@Implementation(minSdk=21) public static int nativeExecuteForBlobFileDescriptor(long connectionPtr, long statementPtr)
@Implementation(maxSdk=20) public static int nativeGetDbLookaside(int connectionPtr)
@Implementation(minSdk=21) public static int nativeGetDbLookaside(long connectionPtr)