static void insertIntoCompletedCompactions(PreparedStatement pStmt, CompactionInfo ci, long endTime) throws SQLException, MetaException {
    pStmt.setLong(1, ci.id);
    pStmt.setString(2, ci.dbname);
    pStmt.setString(3, ci.tableName);
    pStmt.setString(4, ci.partName);
    pStmt.setString(5, Character.toString(ci.state));
    pStmt.setString(6, Character.toString(TxnUtils.thriftCompactionType2DbType(ci.type)));
    pStmt.setString(7, ci.properties);
    pStmt.setString(8, ci.workerId);
    pStmt.setLong(9, ci.start);
    pStmt.setLong(10, endTime);
    pStmt.setString(11, ci.runAs);
    pStmt.setLong(12, ci.highestWriteId);
    pStmt.setBytes(13, ci.metaInfo);
    pStmt.setString(14, ci.hadoopJobId);
    pStmt.setString(15, ci.errorMessage);
    pStmt.setLong(16, ci.enqueueTime);
    pStmt.setString(17, ci.workerVersion);
    pStmt.setString(18, ci.initiatorId);
    pStmt.setString(19, ci.initiatorVersion);
    pStmt.setLong(20, ci.nextTxnId);
    pStmt.setLong(21, ci.txnId);
    pStmt.setLong(22, ci.commitTime);
    pStmt.setString(23, ci.poolName);
    pStmt.setInt(24, ci.numberOfBuckets);
    pStmt.setString(25, ci.orderByClause);
  }
loads object from a row in Select * from COMPACTION_QUEUE
@param rs ResultSet after call to rs.next()
@throws SQLException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/entities/CompactionInfo.java