Class RdbmsOperation.Overwrite

java.lang.Object
org.apache.drill.metastore.rdbms.operate.RdbmsOperation.Overwrite
All Implemented Interfaces:
RdbmsOperation
Enclosing interface:
RdbmsOperation

public static class RdbmsOperation.Overwrite extends Object implements RdbmsOperation
Executes overwrite operation steps for the given table. First deletes data based on given delete conditions, than inserts new table records.
  • Constructor Details

    • Overwrite

      public Overwrite(org.jooq.Table<? extends org.jooq.Record> table, List<org.jooq.Condition> deleteConditions, List<? extends org.jooq.Record> records)
  • Method Details

    • table

      public org.jooq.Table<? extends org.jooq.Record> table()
    • deleteConditions

      public List<org.jooq.Condition> deleteConditions()
    • records

      public List<? extends org.jooq.Record> records()
    • execute

      public void execute(org.jooq.DSLContext executor)
      Specified by:
      execute in interface RdbmsOperation