@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, CompactionInfoStruct struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      struct.id = iprot.readI64();
      struct.setIdIsSet(true);
      struct.dbname = iprot.readString();
      struct.setDbnameIsSet(true);
      struct.tablename = iprot.readString();
      struct.setTablenameIsSet(true);
      struct.type = org.apache.hadoop.hive.metastore.api.CompactionType.findByValue(iprot.readI32());
      struct.setTypeIsSet(true);
      java.util.BitSet incoming = iprot.readBitSet(15);
      if (incoming.get(0)) {
        struct.partitionname = iprot.readString();
        struct.setPartitionnameIsSet(true);
      }
      if (incoming.get(1)) {
        struct.runas = iprot.readString();
        struct.setRunasIsSet(true);
      }
      if (incoming.get(2)) {
        struct.properties = iprot.readString();
        struct.setPropertiesIsSet(true);
      }
      if (incoming.get(3)) {
        struct.toomanyaborts = iprot.readBool();
        struct.setToomanyabortsIsSet(true);
      }
      if (incoming.get(4)) {
        struct.state = iprot.readString();
        struct.setStateIsSet(true);
      }
      if (incoming.get(5)) {
        struct.workerId = iprot.readString();
        struct.setWorkerIdIsSet(true);
      }
      if (incoming.get(6)) {
        struct.start = iprot.readI64();
        struct.setStartIsSet(true);
      }
      if (incoming.get(7)) {
        struct.highestWriteId = iprot.readI64();
        struct.setHighestWriteIdIsSet(true);
      }
      if (incoming.get(8)) {
        struct.errorMessage = iprot.readString();
        struct.setErrorMessageIsSet(true);
      }
      if (incoming.get(9)) {
        struct.hasoldabort = iprot.readBool();
        struct.setHasoldabortIsSet(true);
      }
      if (incoming.get(10)) {
        struct.enqueueTime = iprot.readI64();
        struct.setEnqueueTimeIsSet(true);
      }
      if (incoming.get(11)) {
        struct.retryRetention = iprot.readI64();
        struct.setRetryRetentionIsSet(true);
      }
      if (incoming.get(12)) {
        struct.poolname = iprot.readString();
        struct.setPoolnameIsSet(true);
      }
      if (incoming.get(13)) {
        struct.numberOfBuckets = iprot.readI32();
        struct.setNumberOfBucketsIsSet(true);
      }
      if (incoming.get(14)) {
        struct.orderByClause = iprot.readString();
        struct.setOrderByClauseIsSet(true);
      }
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionInfoStruct.java