public static CompactionInfo optionalCompactionInfoStructToInfo(OptionalCompactionInfoStruct ocis) {
    if (ocis.isSetCi()) {
      return compactionStructToInfo(ocis.getCi());
    }
    return null;
  }
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