Class CouchbaseUpdateExecution

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

    public class CouchbaseUpdateExecution
    extends CouchbaseExecution
    implements org.teiid.translator.UpdateExecution
    • Constructor Detail

      • CouchbaseUpdateExecution

        protected CouchbaseUpdateExecution​(org.teiid.language.Command command,
                                           CouchbaseExecutionFactory ef,
                                           org.teiid.translator.ExecutionContext context,
                                           org.teiid.metadata.RuntimeMetadata metadata,
                                           org.teiid.couchbase.CouchbaseConnection conn)
    • 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