Package org.robolectric.shadows
Class ShadowCursorWindow
java.lang.Object
org.robolectric.shadows.ShadowCursorWindow
@Implements(android.database.CursorWindow.class) public class ShadowCursorWindow extends Object
-
Constructor Summary
Constructors Constructor Description ShadowCursorWindow()
-
Method Summary
Modifier and Type Method Description protected static boolean
nativeAllocRow(int windowPtr)
protected static boolean
nativeAllocRow(long windowPtr)
protected static void
nativeClear(int windowPtr)
protected static void
nativeClear(long windowPtr)
protected static Number
nativeCreate(String name, int cursorWindowSize)
protected static void
nativeDispose(int windowPtr)
protected static void
nativeDispose(long windowPtr)
protected static byte[]
nativeGetBlob(int windowPtr, int row, int column)
protected static byte[]
nativeGetBlob(long windowPtr, int row, int column)
protected static double
nativeGetDouble(int windowPtr, int row, int column)
protected static double
nativeGetDouble(long windowPtr, int row, int column)
protected static long
nativeGetLong(int windowPtr, int row, int column)
protected static long
nativeGetLong(long windowPtr, int row, int column)
protected static String
nativeGetName(int windowPtr)
protected static String
nativeGetName(long windowPtr)
protected static int
nativeGetNumRows(int windowPtr)
protected static int
nativeGetNumRows(long windowPtr)
protected static String
nativeGetString(int windowPtr, int row, int column)
protected static String
nativeGetString(long windowPtr, int row, int column)
protected static int
nativeGetType(int windowPtr, int row, int column)
protected static int
nativeGetType(long windowPtr, int row, int column)
protected static boolean
nativePutBlob(int windowPtr, byte[] value, int row, int column)
protected static boolean
nativePutBlob(long windowPtr, byte[] value, int row, int column)
protected static boolean
nativePutDouble(int windowPtr, double value, int row, int column)
protected static boolean
nativePutDouble(long windowPtr, double value, int row, int column)
protected static boolean
nativePutLong(int windowPtr, long value, int row, int column)
protected static boolean
nativePutLong(long windowPtr, long value, int row, int column)
protected static boolean
nativePutNull(int windowPtr, int row, int column)
protected static boolean
nativePutNull(long windowPtr, int row, int column)
protected static boolean
nativePutString(int windowPtr, String value, int row, int column)
protected static boolean
nativePutString(long windowPtr, String value, int row, int column)
protected static boolean
nativeSetNumColumns(int windowPtr, int columnNum)
protected static boolean
nativeSetNumColumns(long windowPtr, int columnNum)
protected static int
setData(long windowPtr, com.almworks.sqlite4java.SQLiteStatement stmt)
-
Constructor Details
-
ShadowCursorWindow
public ShadowCursorWindow()
-
-
Method Details
-
nativeCreate
-
nativeDispose
-
nativeDispose
-
nativeGetBlob
@Implementation(maxSdk=20) protected static byte[] nativeGetBlob(int windowPtr, int row, int column) -
nativeGetBlob
@Implementation(minSdk=21) protected static byte[] nativeGetBlob(long windowPtr, int row, int column) -
nativeGetString
@Implementation(maxSdk=20) protected static String nativeGetString(int windowPtr, int row, int column) -
nativeGetString
@Implementation(minSdk=21) protected static String nativeGetString(long windowPtr, int row, int column) -
nativeGetLong
-
nativeGetLong
@Implementation(minSdk=21) protected static long nativeGetLong(long windowPtr, int row, int column) -
nativeGetDouble
@Implementation(maxSdk=20) protected static double nativeGetDouble(int windowPtr, int row, int column) -
nativeGetDouble
@Implementation(minSdk=21) protected static double nativeGetDouble(long windowPtr, int row, int column) -
nativeGetType
-
nativeGetType
-
nativeClear
-
nativeClear
-
nativeGetNumRows
-
nativeGetNumRows
-
nativePutBlob
@Implementation(maxSdk=20) protected static boolean nativePutBlob(int windowPtr, byte[] value, int row, int column) -
nativePutBlob
@Implementation(minSdk=21) protected static boolean nativePutBlob(long windowPtr, byte[] value, int row, int column) -
nativePutString
@Implementation(maxSdk=20) protected static boolean nativePutString(int windowPtr, String value, int row, int column) -
nativePutString
@Implementation(minSdk=21) protected static boolean nativePutString(long windowPtr, String value, int row, int column) -
nativePutLong
@Implementation(maxSdk=20) protected static boolean nativePutLong(int windowPtr, long value, int row, int column) -
nativePutLong
@Implementation(minSdk=21) protected static boolean nativePutLong(long windowPtr, long value, int row, int column) -
nativePutDouble
@Implementation(maxSdk=20) protected static boolean nativePutDouble(int windowPtr, double value, int row, int column) -
nativePutDouble
@Implementation(minSdk=21) protected static boolean nativePutDouble(long windowPtr, double value, int row, int column) -
nativePutNull
@Implementation(maxSdk=20) protected static boolean nativePutNull(int windowPtr, int row, int column) -
nativePutNull
@Implementation(minSdk=21) protected static boolean nativePutNull(long windowPtr, int row, int column) -
nativeAllocRow
-
nativeAllocRow
-
nativeSetNumColumns
@Implementation(maxSdk=20) protected static boolean nativeSetNumColumns(int windowPtr, int columnNum) -
nativeSetNumColumns
@Implementation(minSdk=21) protected static boolean nativeSetNumColumns(long windowPtr, int columnNum) -
nativeGetName
-
nativeGetName
-
setData
protected static int setData(long windowPtr, com.almworks.sqlite4java.SQLiteStatement stmt) throws com.almworks.sqlite4java.SQLiteException- Throws:
com.almworks.sqlite4java.SQLiteException
-