[]Struct jni_android_sys::android::database::DatabaseUtils

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

public class DatabaseUtils

Required feature: "android-database-DatabaseUtils"

Methods

impl DatabaseUtils

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, DatabaseUtils>, Local<'env, Throwable>>
[src]

pub fn writeExceptionToParcel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Parcel>>,
    arg1: impl Into<Option<&'env Exception>>
) -> Result<(), Local<'env, Throwable>>
[src]

writeExceptionToParcel

Required features: "android-os-Parcel", "java-lang-Exception"

pub fn readExceptionFromParcel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Parcel>>
) -> Result<(), Local<'env, Throwable>>
[src]

readExceptionFromParcel

Required features: "android-os-Parcel"

pub fn readExceptionWithFileNotFoundExceptionFromParcel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Parcel>>
) -> Result<(), Local<'env, Throwable>>
[src]

readExceptionWithFileNotFoundExceptionFromParcel

Required features: "android-os-Parcel"

pub fn readExceptionWithOperationApplicationExceptionFromParcel<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Parcel>>
) -> Result<(), Local<'env, Throwable>>
[src]

readExceptionWithOperationApplicationExceptionFromParcel

Required features: "android-os-Parcel"

pub fn bindObjectToProgram<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SQLiteProgram>>,
    arg1: i32,
    arg2: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

bindObjectToProgram

Required features: "android-database-sqlite-SQLiteProgram", "java-lang-Object"

pub fn appendEscapedSQLString<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env StringBuilder>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

appendEscapedSQLString

Required features: "java-lang-String", "java-lang-StringBuilder"

pub fn sqlEscapeString<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

sqlEscapeString

Required features: "java-lang-String"

pub fn appendValueToSql<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env StringBuilder>>,
    arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]

appendValueToSql

Required features: "java-lang-Object", "java-lang-StringBuilder"

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

concatenateWhere

Required features: "java-lang-String"

pub fn getCollationKey<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getCollationKey

Required features: "java-lang-String"

pub fn getHexCollationKey<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getHexCollationKey

Required features: "java-lang-String"

pub fn dumpCursor_Cursor<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
[src]

dumpCursor

Required features: "android-database-Cursor"

pub fn dumpCursor_Cursor_PrintStream<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env PrintStream>>
) -> Result<(), Local<'env, Throwable>>
[src]

dumpCursor

Required features: "android-database-Cursor", "java-io-PrintStream"

pub fn dumpCursor_Cursor_StringBuilder<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env StringBuilder>>
) -> Result<(), Local<'env, Throwable>>
[src]

dumpCursor

Required features: "android-database-Cursor", "java-lang-StringBuilder"

pub fn dumpCursorToString<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

dumpCursorToString

Required features: "android-database-Cursor", "java-lang-String"

pub fn dumpCurrentRow_Cursor<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
[src]

dumpCurrentRow

Required features: "android-database-Cursor"

pub fn dumpCurrentRow_Cursor_PrintStream<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env PrintStream>>
) -> Result<(), Local<'env, Throwable>>
[src]

dumpCurrentRow

Required features: "android-database-Cursor", "java-io-PrintStream"

pub fn dumpCurrentRow_Cursor_StringBuilder<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env StringBuilder>>
) -> Result<(), Local<'env, Throwable>>
[src]

dumpCurrentRow

Required features: "android-database-Cursor", "java-lang-StringBuilder"

pub fn dumpCurrentRowToString<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

dumpCurrentRowToString

Required features: "android-database-Cursor", "java-lang-String"

pub fn cursorStringToContentValues_Cursor_String_ContentValues<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ContentValues>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorStringToContentValues

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorStringToInsertHelper<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env DatabaseUtils_InsertHelper>>,
    arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]

cursorStringToInsertHelper

Required features: "android-database-Cursor", "android-database-DatabaseUtils_InsertHelper", "java-lang-String"

pub fn cursorStringToContentValues_Cursor_String_ContentValues_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ContentValues>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorStringToContentValues

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorIntToContentValues_Cursor_String_ContentValues<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ContentValues>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorIntToContentValues

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorIntToContentValues_Cursor_String_ContentValues_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ContentValues>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorIntToContentValues

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorLongToContentValues_Cursor_String_ContentValues<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ContentValues>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorLongToContentValues

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorLongToContentValues_Cursor_String_ContentValues_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ContentValues>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorLongToContentValues

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorDoubleToCursorValues<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ContentValues>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorDoubleToCursorValues

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorDoubleToContentValues<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ContentValues>>,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorDoubleToContentValues

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorRowToContentValues<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env ContentValues>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorRowToContentValues

Required features: "android-content-ContentValues", "android-database-Cursor"

pub fn queryNumEntries_SQLiteDatabase_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SQLiteDatabase>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<i64, Local<'env, Throwable>>
[src]

queryNumEntries

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

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

queryNumEntries

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

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

queryNumEntries

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

pub fn longForQuery_SQLiteDatabase_String_String_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SQLiteDatabase>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i64, Local<'env, Throwable>>
[src]

longForQuery

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

pub fn longForQuery_SQLiteStatement_String_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SQLiteStatement>>,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i64, Local<'env, Throwable>>
[src]

longForQuery

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

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

stringForQuery

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

pub fn stringForQuery_SQLiteStatement_String_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SQLiteStatement>>,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

stringForQuery

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

pub fn blobFileDescriptorForQuery_SQLiteDatabase_String_String_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SQLiteDatabase>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, ParcelFileDescriptor>>, Local<'env, Throwable>>
[src]

blobFileDescriptorForQuery

Required features: "android-database-sqlite-SQLiteDatabase", "android-os-ParcelFileDescriptor", "java-lang-String"

pub fn blobFileDescriptorForQuery_SQLiteStatement_String_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env SQLiteStatement>>,
    arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<Option<Local<'env, ParcelFileDescriptor>>, Local<'env, Throwable>>
[src]

blobFileDescriptorForQuery

Required features: "android-database-sqlite-SQLiteStatement", "android-os-ParcelFileDescriptor", "java-lang-String"

pub fn cursorStringToContentValuesIfPresent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env ContentValues>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorStringToContentValuesIfPresent

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorLongToContentValuesIfPresent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env ContentValues>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorLongToContentValuesIfPresent

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorShortToContentValuesIfPresent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env ContentValues>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorShortToContentValuesIfPresent

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorIntToContentValuesIfPresent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env ContentValues>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorIntToContentValuesIfPresent

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorFloatToContentValuesIfPresent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env ContentValues>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorFloatToContentValuesIfPresent

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn cursorDoubleToContentValuesIfPresent<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Cursor>>,
    arg1: impl Into<Option<&'env ContentValues>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

cursorDoubleToContentValuesIfPresent

Required features: "android-content-ContentValues", "android-database-Cursor", "java-lang-String"

pub fn createDbFromSqlStatements<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: i32,
    arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

createDbFromSqlStatements

Required features: "android-content-Context", "java-lang-String"

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

getSqlStatementType

Required features: "java-lang-String"

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

appendSelectionArgs

Required features: "java-lang-String"

pub const STATEMENT_ABORT: i32[src]

public static final STATEMENT_ABORT

pub const STATEMENT_ATTACH: i32[src]

public static final STATEMENT_ATTACH

pub const STATEMENT_BEGIN: i32[src]

public static final STATEMENT_BEGIN

pub const STATEMENT_COMMIT: i32[src]

public static final STATEMENT_COMMIT

pub const STATEMENT_DDL: i32[src]

public static final STATEMENT_DDL

pub const STATEMENT_OTHER: i32[src]

public static final STATEMENT_OTHER

pub const STATEMENT_PRAGMA: i32[src]

public static final STATEMENT_PRAGMA

pub const STATEMENT_SELECT: i32[src]

public static final STATEMENT_SELECT

pub const STATEMENT_UNPREPARED: i32[src]

public static final STATEMENT_UNPREPARED

pub const STATEMENT_UPDATE: i32[src]

public static final STATEMENT_UPDATE

Methods from Deref<Target = Object>

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

getClass

Required features: "java-lang-Class"

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

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

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

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

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

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

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

Trait Implementations

impl AsJValue for DatabaseUtils

impl AsValidJObjectAndEnv for DatabaseUtils

impl Deref for DatabaseUtils

type Target = Object

The resulting type after dereferencing.

impl JniType for DatabaseUtils

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.