[−]Struct jni_android_sys::java::sql::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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ResultSet>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setEscapeProcessing<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, SQLWarning>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn execute_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getResultSet<'env>(
&'env self
) -> Result<Option<Local<'env, ResultSet>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ResultSet>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getFetchDirection<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setFetchSize<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getFetchSize<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getResultSetConcurrency<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
pub fn getConnection<'env>(
&'env self
) -> Result<Option<Local<'env, Connection>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Connection>>, Local<'env, Throwable>>
Required features: "java-sql-Connection"
pub fn getMoreResults_int<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn getGeneratedKeys<'env>(
&'env self
) -> Result<Option<Local<'env, ResultSet>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ResultSet>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getResultSetHoldability<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Statement
impl AsRef<AutoCloseable> for Statement
fn as_ref(&self) -> &AutoCloseable
impl AsRef<Statement> for PreparedStatement
impl AsRef<Wrapper> for Statement
impl AsValidJObjectAndEnv for Statement
impl Deref for Statement
impl JniType for Statement
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Statement
impl !Send for Statement
impl !Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,