Class SimpleDBUpdateExecute

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

    public class SimpleDBUpdateExecute
    extends Object
    implements org.teiid.translator.UpdateExecution
    • Constructor Detail

      • SimpleDBUpdateExecute

        public SimpleDBUpdateExecute​(org.teiid.language.Command command,
                                     org.teiid.translator.simpledb.api.SimpleDBConnection connection)
                              throws org.teiid.translator.TranslatorException
        Throws:
        org.teiid.translator.TranslatorException
    • 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
      • 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
      • close

        public void close()
        Specified by:
        close in interface org.teiid.translator.Execution
      • cancel

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