Class EmbeddedRelationalPreparedStatement
java.lang.Object
com.apple.foundationdb.relational.recordlayer.AbstractEmbeddedStatement
com.apple.foundationdb.relational.recordlayer.EmbeddedRelationalPreparedStatement
- All Implemented Interfaces:
com.apple.foundationdb.relational.api.RelationalPreparedStatement
,AutoCloseable
,PreparedStatement
,Statement
,Wrapper
@API(EXPERIMENTAL)
public class EmbeddedRelationalPreparedStatement
extends AbstractEmbeddedStatement
implements com.apple.foundationdb.relational.api.RelationalPreparedStatement
-
Field Summary
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
execute()
com.apple.foundationdb.relational.api.RelationalResultSet
int
boolean
isWrapperFor
(Class<?> iface) void
void
void
setBoolean
(int parameterIndex, boolean x) void
setBoolean
(String parameterName, boolean x) void
setBytes
(int parameterIndex, byte[] x) void
void
setDouble
(int parameterIndex, double x) void
void
setFloat
(int parameterIndex, float x) void
void
setInt
(int parameterIndex, int x) void
void
setLong
(int parameterIndex, long x) void
void
setNull
(int parameterIndex, int sqlType) void
void
void
void
void
<T> T
Methods inherited from class com.apple.foundationdb.relational.recordlayer.AbstractEmbeddedStatement
close, executeInternal, getConnection, getMaxRows, getResultSet, getUpdateCount, isClosed, setMaxRows
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.PreparedStatement
executeLargeUpdate, setObject, setObject
Methods inherited from interface com.apple.foundationdb.relational.api.RelationalPreparedStatement
addBatch, addBatch, cancel, clearBatch, clearParameters, clearWarnings, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isCloseOnCompletion, isPoolable, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setByte, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setCursorName, setDate, setDate, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setObject, setObject, setPoolable, setQueryTimeout, setRef, setRowId, setShort, setSQLXML, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
Methods inherited from interface java.sql.Statement
close, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, getMaxRows, isClosed, isSimpleIdentifier, setLargeMaxRows, setMaxRows
-
Constructor Details
-
EmbeddedRelationalPreparedStatement
public EmbeddedRelationalPreparedStatement(@Nonnull String sql, @Nonnull EmbeddedRelationalConnection conn) throws SQLException - Throws:
SQLException
-
-
Method Details
-
executeQuery
- Specified by:
executeQuery
in interfacePreparedStatement
- Specified by:
executeQuery
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfacePreparedStatement
- Specified by:
executeUpdate
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
execute
- Specified by:
execute
in interfacePreparedStatement
- Specified by:
execute
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setBoolean
- Specified by:
setBoolean
in interfacePreparedStatement
- Throws:
SQLException
-
setBoolean
- Specified by:
setBoolean
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setInt
- Specified by:
setInt
in interfacePreparedStatement
- Throws:
SQLException
-
setInt
- Specified by:
setInt
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setLong
- Specified by:
setLong
in interfacePreparedStatement
- Throws:
SQLException
-
setLong
- Specified by:
setLong
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setFloat
- Specified by:
setFloat
in interfacePreparedStatement
- Throws:
SQLException
-
setFloat
- Specified by:
setFloat
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setDouble
- Specified by:
setDouble
in interfacePreparedStatement
- Throws:
SQLException
-
setDouble
- Specified by:
setDouble
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfacePreparedStatement
- Throws:
SQLException
-
setString
- Specified by:
setString
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setBytes
- Specified by:
setBytes
in interfacePreparedStatement
- Throws:
SQLException
-
setBytes
- Specified by:
setBytes
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setArray
- Specified by:
setArray
in interfacePreparedStatement
- Throws:
SQLException
-
setArray
- Specified by:
setArray
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfacePreparedStatement
- Throws:
SQLException
-
setObject
- Specified by:
setObject
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
setNull
- Specified by:
setNull
in interfacePreparedStatement
- Throws:
SQLException
-
setNull
- Specified by:
setNull
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Throws:
SQLException
-
unwrap
- Specified by:
unwrap
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperFor
in interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement
- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-