Class JDBCUpdateExecution

  • All Implemented Interfaces:
    org.teiid.translator.Execution, org.teiid.translator.UpdateExecution

    public class JDBCUpdateExecution
    extends JDBCBaseExecution
    implements org.teiid.translator.UpdateExecution
    • Constructor Detail

      • JDBCUpdateExecution

        public JDBCUpdateExecution​(org.teiid.language.Command command,
                                   Connection connection,
                                   org.teiid.translator.ExecutionContext context,
                                   JDBCExecutionFactory env)
    • Method Detail

      • execute

        public void execute()
                     throws org.teiid.translator.TranslatorException
        Specified by:
        execute in interface org.teiid.translator.Execution
        Throws:
        org.teiid.translator.TranslatorException
      • execute

        public int[] execute​(org.teiid.language.BatchedUpdates batchedCommand)
                      throws org.teiid.translator.TranslatorException
        Throws:
        org.teiid.translator.TranslatorException
      • getUpdateCounts

        public int[] getUpdateCounts()
                              throws org.teiid.translator.DataNotAvailableException,
                                     org.teiid.translator.TranslatorException
        Specified by:
        getUpdateCounts in interface org.teiid.translator.UpdateExecution
        Throws:
        org.teiid.translator.DataNotAvailableException
        org.teiid.translator.TranslatorException
      • setMaxPreparedInsertBatchSize

        public void setMaxPreparedInsertBatchSize​(int maxPreparedInsertBatchSize)
      • setAtomic

        public void setAtomic​(boolean atomic)