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 TypeMethodDescriptionbooleanexecute()com.apple.foundationdb.relational.api.RelationalResultSetintbooleanisWrapperFor(Class<?> iface) voidvoidvoidsetBoolean(int parameterIndex, boolean x) voidsetBoolean(String parameterName, boolean x) voidsetBytes(int parameterIndex, byte[] x) voidvoidsetDouble(int parameterIndex, double x) voidvoidsetFloat(int parameterIndex, float x) voidvoidsetInt(int parameterIndex, int x) voidvoidsetLong(int parameterIndex, long x) voidvoidsetNull(int parameterIndex, int sqlType) voidvoidvoidvoidvoidvoidvoid<T> TMethods inherited from class com.apple.foundationdb.relational.recordlayer.AbstractEmbeddedStatement
close, executeInternal, getConnection, getMaxRows, getResultSet, getUpdateCount, isClosed, setMaxRowsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.PreparedStatement
executeLargeUpdate, setObject, setObjectMethods 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, setURLMethods 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:
executeQueryin interfacePreparedStatement- Specified by:
executeQueryin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdatein interfacePreparedStatement- Specified by:
executeUpdatein interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
execute
- Specified by:
executein interfacePreparedStatement- Specified by:
executein interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setBoolean
- Specified by:
setBooleanin interfacePreparedStatement- Throws:
SQLException
-
setBoolean
- Specified by:
setBooleanin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setInt
- Specified by:
setIntin interfacePreparedStatement- Throws:
SQLException
-
setInt
- Specified by:
setIntin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setLong
- Specified by:
setLongin interfacePreparedStatement- Throws:
SQLException
-
setLong
- Specified by:
setLongin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setFloat
- Specified by:
setFloatin interfacePreparedStatement- Throws:
SQLException
-
setFloat
- Specified by:
setFloatin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setDouble
- Specified by:
setDoublein interfacePreparedStatement- Throws:
SQLException
-
setDouble
- Specified by:
setDoublein interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setString
- Specified by:
setStringin interfacePreparedStatement- Throws:
SQLException
-
setString
- Specified by:
setStringin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setBytes
- Specified by:
setBytesin interfacePreparedStatement- Throws:
SQLException
-
setBytes
- Specified by:
setBytesin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setArray
- Specified by:
setArrayin interfacePreparedStatement- Throws:
SQLException
-
setArray
- Specified by:
setArrayin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setObject
- Specified by:
setObjectin interfacePreparedStatement- Throws:
SQLException
-
setObject
- Specified by:
setObjectin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setUUID
- Specified by:
setUUIDin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setUUID
- Specified by:
setUUIDin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
setNull
- Specified by:
setNullin interfacePreparedStatement- Throws:
SQLException
-
setNull
- Specified by:
setNullin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Throws:
SQLException
-
unwrap
- Specified by:
unwrapin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperForin interfacecom.apple.foundationdb.relational.api.RelationalPreparedStatement- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-