Class ShadowLegacySQLiteConnection

java.lang.Object
org.robolectric.shadows.ShadowSQLiteConnection
org.robolectric.shadows.ShadowLegacySQLiteConnection

Shadow for SQLiteConnection that is backed by sqlite4java.
  • Constructor Details

    • ShadowLegacySQLiteConnection

      public ShadowLegacySQLiteConnection()
  • Method Details

    • nativeOpen

      @Implementation(maxSdk=26) protected static long nativeOpen(String path, int openFlags, String label, boolean enableTrace, boolean enableProfile)
    • nativeOpen

      @Implementation(minSdk=27) protected static long nativeOpen(String path, int openFlags, String label, boolean enableTrace, boolean enableProfile, int lookasideSlotSize, int lookasideSlotCount)
    • nativePrepareStatement

      @Implementation protected static long nativePrepareStatement(long connectionPtr, String sql)
    • reset

      @Resetter public static void reset()
    • nativeClose

      @Implementation protected static void nativeClose(long connectionPtr)
    • nativeFinalizeStatement

      @Implementation protected static void nativeFinalizeStatement(long connectionPtr, long statementPtr)
    • nativeGetParameterCount

      @Implementation protected static int nativeGetParameterCount(long connectionPtr, long statementPtr)
    • nativeIsReadOnly

      @Implementation protected static boolean nativeIsReadOnly(long connectionPtr, long statementPtr)
    • nativeExecuteForLong

      @Implementation protected static long nativeExecuteForLong(long connectionPtr, long statementPtr)
    • nativeExecute

      @Implementation(maxSdk=32) protected static void nativeExecute(long connectionPtr, long statementPtr)
    • nativeExecute

      @Implementation(minSdk=33) protected static void nativeExecute(long connectionPtr, long statementPtr, boolean isPragmaStmt)
    • nativeExecuteForString

      @Implementation protected static String nativeExecuteForString(long connectionPtr, long statementPtr)
    • nativeGetColumnCount

      @Implementation protected static int nativeGetColumnCount(long connectionPtr, long statementPtr)
    • nativeGetColumnName

      @Implementation protected static String nativeGetColumnName(long connectionPtr, long statementPtr, int index)
    • nativeBindNull

      @Implementation protected static void nativeBindNull(long connectionPtr, long statementPtr, int index)
    • nativeBindLong

      @Implementation protected static void nativeBindLong(long connectionPtr, long statementPtr, int index, long value)
    • nativeBindDouble

      @Implementation protected static void nativeBindDouble(long connectionPtr, long statementPtr, int index, double value)
    • nativeBindString

      @Implementation protected static void nativeBindString(long connectionPtr, long statementPtr, int index, String value)
    • nativeBindBlob

      @Implementation protected static void nativeBindBlob(long connectionPtr, long statementPtr, int index, byte[] value)
    • nativeRegisterLocalizedCollators

      @Implementation protected static void nativeRegisterLocalizedCollators(long connectionPtr, String locale)
    • nativeExecuteForChangedRowCount

      @Implementation protected static int nativeExecuteForChangedRowCount(long connectionPtr, long statementPtr)
    • nativeExecuteForLastInsertedRowId

      @Implementation protected static long nativeExecuteForLastInsertedRowId(long connectionPtr, long statementPtr)
    • nativeExecuteForCursorWindow

      @Implementation protected static long nativeExecuteForCursorWindow(long connectionPtr, long statementPtr, long windowPtr, int startPos, int requiredPos, boolean countAllRows)
    • nativeResetStatementAndClearBindings

      @Implementation protected static void nativeResetStatementAndClearBindings(long connectionPtr, long statementPtr)
    • nativeCancel

      @Implementation protected static void nativeCancel(long connectionPtr)
    • nativeResetCancel

      @Implementation protected static void nativeResetCancel(long connectionPtr, boolean cancelable)
    • nativeRegisterCustomFunction

      @Implementation(maxSdk=29) protected static void nativeRegisterCustomFunction(long connectionPtr, SQLiteCustomFunction function)
    • nativeExecuteForBlobFileDescriptor

      @Implementation protected static int nativeExecuteForBlobFileDescriptor(long connectionPtr, long statementPtr)
    • nativeGetDbLookaside

      @Implementation protected static int nativeGetDbLookaside(long connectionPtr)