[]Struct jni_android_sys::java::sql::Statement

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

public interface Statement

Required feature: "java-sql-Statement"

Methods

impl Statement

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

executeQuery

Required features: "java-lang-String", "java-sql-ResultSet"

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

executeUpdate

Required features: "java-lang-String"

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

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

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

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

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

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

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

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

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

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

getWarnings

Required features: "java-sql-SQLWarning"

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

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

setCursorName

Required features: "java-lang-String"

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

execute

Required features: "java-lang-String"

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

getResultSet

Required features: "java-sql-ResultSet"

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

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

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

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

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

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

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

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

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

addBatch

Required features: "java-lang-String"

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

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

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

getConnection

Required features: "java-sql-Connection"

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

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

getGeneratedKeys

Required features: "java-sql-ResultSet"

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

executeUpdate

Required features: "java-lang-String"

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

executeUpdate

Required features: "java-lang-String"

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

executeUpdate

Required features: "java-lang-String"

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

execute

Required features: "java-lang-String"

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

execute

Required features: "java-lang-String"

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

execute

Required features: "java-lang-String"

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

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

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

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

pub const CLOSE_ALL_RESULTS: i32[src]

public static final CLOSE_ALL_RESULTS

pub const CLOSE_CURRENT_RESULT: i32[src]

public static final CLOSE_CURRENT_RESULT

pub const EXECUTE_FAILED: i32[src]

public static final EXECUTE_FAILED

pub const KEEP_CURRENT_RESULT: i32[src]

public static final KEEP_CURRENT_RESULT

pub const NO_GENERATED_KEYS: i32[src]

public static final NO_GENERATED_KEYS

pub const RETURN_GENERATED_KEYS: i32[src]

public static final RETURN_GENERATED_KEYS

pub const SUCCESS_NO_INFO: i32[src]

public static final SUCCESS_NO_INFO

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 Statement

impl AsRef<AutoCloseable> for Statement

impl AsRef<Statement> for PreparedStatement

impl AsRef<Wrapper> for Statement

impl AsValidJObjectAndEnv for Statement

impl Deref for Statement

type Target = Object

The resulting type after dereferencing.

impl JniType for Statement

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.