Class EmbeddedRelationalStatement
java.lang.Object
com.apple.foundationdb.relational.recordlayer.AbstractEmbeddedStatement
com.apple.foundationdb.relational.recordlayer.EmbeddedRelationalStatement
- All Implemented Interfaces:
com.apple.foundationdb.relational.api.RelationalDirectAccessStatement,com.apple.foundationdb.relational.api.RelationalStatement,AutoCloseable,Statement,Wrapper
@API(EXPERIMENTAL)
public class EmbeddedRelationalStatement
extends AbstractEmbeddedStatement
implements com.apple.foundationdb.relational.api.RelationalStatement
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintexecuteDelete(String tableName, Iterator<com.apple.foundationdb.relational.api.KeySet> keys, com.apple.foundationdb.relational.api.Options options) voidexecuteDeleteRange(String tableName, com.apple.foundationdb.relational.api.KeySet prefix, com.apple.foundationdb.relational.api.Options options) com.apple.foundationdb.relational.api.RelationalResultSetexecuteGet(String tableName, com.apple.foundationdb.relational.api.KeySet key, com.apple.foundationdb.relational.api.Options options) intexecuteInsert(String tableName, List<com.apple.foundationdb.relational.api.RelationalStruct> data, com.apple.foundationdb.relational.api.Options options) com.apple.foundationdb.relational.api.RelationalResultSetexecuteQuery(String sql) com.apple.foundationdb.relational.api.RelationalResultSetexecuteScan(String tableName, com.apple.foundationdb.relational.api.KeySet prefix, com.apple.foundationdb.relational.api.Options options) intexecuteUpdate(String sql) intMethods inherited from class com.apple.foundationdb.relational.recordlayer.AbstractEmbeddedStatement
close, executeInternal, getConnection, getMaxRows, getResultSet, isClosed, setMaxRowsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.apple.foundationdb.relational.api.RelationalDirectAccessStatement
close, executeDelete, executeDelete, executeDelete, executeInsert, executeInsert, executeInsertMethods inherited from interface com.apple.foundationdb.relational.api.RelationalStatement
addBatch, cancel, clearBatch, clearWarnings, closeOnCompletion, execute, execute, execute, executeBatch, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getWarnings, isCloseOnCompletion, isPoolable, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setPoolable, setQueryTimeout, unwrapMethods inherited from interface java.sql.Statement
close, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getConnection, getLargeMaxRows, getLargeUpdateCount, getMaxRows, isClosed, isSimpleIdentifier, setLargeMaxRows, setMaxRows
-
Constructor Details
-
EmbeddedRelationalStatement
- Throws:
SQLException
-
-
Method Details
-
execute
- Specified by:
executein interfaceStatement- Throws:
SQLException
-
executeQuery
public com.apple.foundationdb.relational.api.RelationalResultSet executeQuery(String sql) throws SQLException - Specified by:
executeQueryin interfacecom.apple.foundationdb.relational.api.RelationalStatement- Specified by:
executeQueryin interfaceStatement- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdatein interfaceStatement- Throws:
SQLException
-
getUpdateCount
- Specified by:
getUpdateCountin interfacecom.apple.foundationdb.relational.api.RelationalStatement- Specified by:
getUpdateCountin interfaceStatement- Overrides:
getUpdateCountin classAbstractEmbeddedStatement- Throws:
SQLException
-
executeScan
@Nonnull public com.apple.foundationdb.relational.api.RelationalResultSet executeScan(@Nonnull String tableName, @Nonnull com.apple.foundationdb.relational.api.KeySet prefix, @Nonnull com.apple.foundationdb.relational.api.Options options) throws SQLException - Specified by:
executeScanin interfacecom.apple.foundationdb.relational.api.RelationalDirectAccessStatement- Throws:
SQLException
-
executeGet
@Nonnull public com.apple.foundationdb.relational.api.RelationalResultSet executeGet(@Nonnull String tableName, @Nonnull com.apple.foundationdb.relational.api.KeySet key, @Nonnull com.apple.foundationdb.relational.api.Options options) throws SQLException - Specified by:
executeGetin interfacecom.apple.foundationdb.relational.api.RelationalDirectAccessStatement- Throws:
SQLException
-
executeInsert
public int executeInsert(@Nonnull String tableName, @Nonnull List<com.apple.foundationdb.relational.api.RelationalStruct> data, @Nonnull com.apple.foundationdb.relational.api.Options options) throws SQLException - Specified by:
executeInsertin interfacecom.apple.foundationdb.relational.api.RelationalDirectAccessStatement- Throws:
SQLException
-
executeDelete
public int executeDelete(@Nonnull String tableName, @Nonnull Iterator<com.apple.foundationdb.relational.api.KeySet> keys, @Nonnull com.apple.foundationdb.relational.api.Options options) throws SQLException - Specified by:
executeDeletein interfacecom.apple.foundationdb.relational.api.RelationalDirectAccessStatement- Throws:
SQLException
-
executeDeleteRange
public void executeDeleteRange(@Nonnull String tableName, @Nonnull com.apple.foundationdb.relational.api.KeySet prefix, @Nonnull com.apple.foundationdb.relational.api.Options options) throws SQLException - Specified by:
executeDeleteRangein interfacecom.apple.foundationdb.relational.api.RelationalDirectAccessStatement- Throws:
SQLException
-