Class AccumuloUpdateExecution

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

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

      • AccumuloUpdateExecution

        public AccumuloUpdateExecution​(AccumuloExecutionFactory aef,
                                       org.teiid.language.Command command,
                                       org.teiid.translator.ExecutionContext executionContext,
                                       org.teiid.metadata.RuntimeMetadata metadata,
                                       AccumuloConnection connection)
    • 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