[−]Struct jni_android_sys::java::sql::PreparedStatement
public interface PreparedStatement
Required feature: "java-sql-PreparedStatement"
Methods
impl PreparedStatement
pub fn executeQuery<'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<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setNull_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setBoolean<'env>(
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setByte<'env>(
&'env self,
arg0: i32,
arg1: i8
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i8
) -> Result<(), Local<'env, Throwable>>
pub fn setShort<'env>(
&'env self,
arg0: i32,
arg1: i16
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i16
) -> Result<(), Local<'env, Throwable>>
pub fn setInt<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setLong<'env>(
&'env self,
arg0: i32,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
pub fn setFloat<'env>(
&'env self,
arg0: i32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: f32
) -> Result<(), Local<'env, Throwable>>
pub fn setDouble<'env>(
&'env self,
arg0: i32,
arg1: f64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: f64
) -> Result<(), Local<'env, Throwable>>
pub fn setBigDecimal<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env BigDecimal>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env BigDecimal>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-math-BigDecimal"
pub fn setString<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setBytes<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn setDate_int_Date<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Date>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Date>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Date"
pub fn setTime_int_Time<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Time>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Time>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Time"
pub fn setTimestamp_int_Timestamp<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Timestamp>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Timestamp>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Timestamp"
pub fn setAsciiStream_int_InputStream_int<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn setUnicodeStream<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn setBinaryStream_int_InputStream_int<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn clearParameters<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setObject_int_Object_int<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn setObject_int_Object<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn execute<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn addBatch<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setCharacterStream_int_Reader_int<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Reader"
pub fn setRef<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Ref>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Ref>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Ref"
pub fn setBlob_int_Blob<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Blob>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Blob>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Blob"
pub fn setClob_int_Clob<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Clob>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Clob>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Clob"
pub fn setArray<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Array>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Array>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Array"
pub fn getMetaData<'env>(
&'env self
) -> Result<Option<Local<'env, ResultSetMetaData>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ResultSetMetaData>>, Local<'env, Throwable>>
Required features: "java-sql-ResultSetMetaData"
pub fn setDate_int_Date_Calendar<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Date>>,
arg2: impl Into<Option<&'env Calendar>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Date>>,
arg2: impl Into<Option<&'env Calendar>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Date", "java-util-Calendar"
pub fn setTime_int_Time_Calendar<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Time>>,
arg2: impl Into<Option<&'env Calendar>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Time>>,
arg2: impl Into<Option<&'env Calendar>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Time", "java-util-Calendar"
pub fn setTimestamp_int_Timestamp_Calendar<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Timestamp>>,
arg2: impl Into<Option<&'env Calendar>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Timestamp>>,
arg2: impl Into<Option<&'env Calendar>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-Timestamp", "java-util-Calendar"
pub fn setNull_int_int_String<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setURL<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env URL>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env URL>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-net-URL"
pub fn getParameterMetaData<'env>(
&'env self
) -> Result<Option<Local<'env, ParameterMetaData>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ParameterMetaData>>, Local<'env, Throwable>>
Required features: "java-sql-ParameterMetaData"
pub fn setRowId<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env RowId>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env RowId>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-RowId"
pub fn setNString<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setNCharacterStream_int_Reader_long<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Reader"
pub fn setNClob_int_NClob<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env NClob>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env NClob>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-NClob"
pub fn setClob_int_Reader_long<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Reader"
pub fn setBlob_int_InputStream_long<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn setNClob_int_Reader_long<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Reader"
pub fn setSQLXML<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env SQLXML>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env SQLXML>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-sql-SQLXML"
pub fn setObject_int_Object_int_int<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Object>>,
arg2: i32,
arg3: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn setAsciiStream_int_InputStream_long<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn setBinaryStream_int_InputStream_long<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn setCharacterStream_int_Reader_long<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>,
arg2: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Reader"
pub fn setAsciiStream_int_InputStream<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn setBinaryStream_int_InputStream<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn setCharacterStream_int_Reader<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Reader"
pub fn setNCharacterStream_int_Reader<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Reader"
pub fn setClob_int_Reader<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Reader"
pub fn setBlob_int_InputStream<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn setNClob_int_Reader<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Reader>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-Reader"
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 PreparedStatement
impl AsRef<PreparedStatement> for CallableStatement
fn as_ref(&self) -> &PreparedStatement
impl AsRef<Statement> for PreparedStatement
impl AsValidJObjectAndEnv for PreparedStatement
impl Deref for PreparedStatement
impl JniType for PreparedStatement
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PreparedStatement
impl !Send for PreparedStatement
impl !Sync for PreparedStatement
impl Unpin for PreparedStatement
impl UnwindSafe for PreparedStatement
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>,