[]Struct jni_android_sys::android::database::sqlite::SQLiteCursor

#[repr(transparent)]
pub struct SQLiteCursor(_);

public class SQLiteCursor

Required feature: "android-database-sqlite-SQLiteCursor"

Methods

impl SQLiteCursor

pub fn new_SQLiteDatabase_SQLiteCursorDriver_String_SQLiteQuery<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SQLiteDatabase>>,
    arg1: impl Into<Option<&'env SQLiteCursorDriver>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env SQLiteQuery>>
) -> Result<Local<'env, SQLiteCursor>, Local<'env, Throwable>>
[src]

Deprecated

SQLiteCursor

Required features: "android-database-sqlite-SQLiteCursorDriver", "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteQuery", "java-lang-String"

pub fn new_SQLiteCursorDriver_String_SQLiteQuery<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SQLiteCursorDriver>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env SQLiteQuery>>
) -> Result<Local<'env, SQLiteCursor>, Local<'env, Throwable>>
[src]

SQLiteCursor

Required features: "android-database-sqlite-SQLiteCursorDriver", "android-database-sqlite-SQLiteQuery", "java-lang-String"

pub fn getDatabase<'env>(
    &'env self
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]

getDatabase

Required features: "android-database-sqlite-SQLiteDatabase"

pub fn onMove<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getColumnIndex<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getColumnIndex

Required features: "java-lang-String"

pub fn getColumnNames<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getColumnNames

Required features: "java-lang-String"

pub fn deactivate<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn requery<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn setWindow<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CursorWindow>>
) -> Result<(), Local<'env, Throwable>>
[src]

setWindow

Required features: "android-database-CursorWindow"

pub fn setSelectionArguments<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

setSelectionArguments

Required features: "java-lang-String"

pub fn setFillWindowForwardOnly<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

Methods from Deref<Target = AbstractWindowedCursor>

pub fn getBlob<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

pub fn getString<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getString

Required features: "java-lang-String"

pub fn copyStringToBuffer<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env CharArrayBuffer>>
) -> Result<(), Local<'env, Throwable>>
[src]

copyStringToBuffer

Required features: "android-database-CharArrayBuffer"

pub fn getShort<'env>(
    &'env self,
    arg0: i32
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn getInt<'env>(
    &'env self,
    arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getLong<'env>(
    &'env self,
    arg0: i32
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn getFloat<'env>(
    &'env self,
    arg0: i32
) -> Result<f32, Local<'env, Throwable>>
[src]

pub fn getDouble<'env>(
    &'env self,
    arg0: i32
) -> Result<f64, Local<'env, Throwable>>
[src]

pub fn isNull<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isBlob<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn isString<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn isLong<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn isFloat<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn getType<'env>(
    &'env self,
    arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getWindow<'env>(
    &'env self
) -> Result<Option<Local<'env, CursorWindow>>, Local<'env, Throwable>>
[src]

getWindow

Required features: "android-database-CursorWindow"

pub fn setWindow<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CursorWindow>>
) -> Result<(), Local<'env, Throwable>>
[src]

setWindow

Required features: "android-database-CursorWindow"

pub fn hasWindow<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for SQLiteCursor

impl AsValidJObjectAndEnv for SQLiteCursor

impl Deref for SQLiteCursor

type Target = AbstractWindowedCursor

The resulting type after dereferencing.

impl JniType for SQLiteCursor

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.