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
  • Constructor Details

  • Method Details

    • execute

      public boolean execute(String sql) throws SQLException
      Specified by:
      execute in interface Statement
      Throws:
      SQLException
    • executeQuery

      public com.apple.foundationdb.relational.api.RelationalResultSet executeQuery(String sql) throws SQLException
      Specified by:
      executeQuery in interface com.apple.foundationdb.relational.api.RelationalStatement
      Specified by:
      executeQuery in interface Statement
      Throws:
      SQLException
    • executeUpdate

      public int executeUpdate(String sql) throws SQLException
      Specified by:
      executeUpdate in interface Statement
      Throws:
      SQLException
    • getUpdateCount

      public int getUpdateCount() throws SQLException
      Specified by:
      getUpdateCount in interface com.apple.foundationdb.relational.api.RelationalStatement
      Specified by:
      getUpdateCount in interface Statement
      Overrides:
      getUpdateCount in class AbstractEmbeddedStatement
      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:
      executeScan in interface com.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:
      executeGet in interface com.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:
      executeInsert in interface com.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:
      executeDelete in interface com.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:
      executeDeleteRange in interface com.apple.foundationdb.relational.api.RelationalDirectAccessStatement
      Throws:
      SQLException