@Override
    public void write(org.apache.thrift.protocol.TProtocol prot, GetPartitionsByFilterRequest struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetCatName()) {
        optionals.set(0);
      }
      if (struct.isSetDbName()) {
        optionals.set(1);
      }
      if (struct.isSetTblName()) {
        optionals.set(2);
      }
      if (struct.isSetFilter()) {
        optionals.set(3);
      }
      if (struct.isSetMaxParts()) {
        optionals.set(4);
      }
      if (struct.isSetSkipColumnSchemaForPartition()) {
        optionals.set(5);
      }
      if (struct.isSetIncludeParamKeyPattern()) {
        optionals.set(6);
      }
      if (struct.isSetExcludeParamKeyPattern()) {
        optionals.set(7);
      }
      oprot.writeBitSet(optionals, 8);
      if (struct.isSetCatName()) {
        oprot.writeString(struct.catName);
      }
      if (struct.isSetDbName()) {
        oprot.writeString(struct.dbName);
      }
      if (struct.isSetTblName()) {
        oprot.writeString(struct.tblName);
      }
      if (struct.isSetFilter()) {
        oprot.writeString(struct.filter);
      }
      if (struct.isSetMaxParts()) {
        oprot.writeI16(struct.maxParts);
      }
      if (struct.isSetSkipColumnSchemaForPartition()) {
        oprot.writeBool(struct.skipColumnSchemaForPartition);
      }
      if (struct.isSetIncludeParamKeyPattern()) {
        oprot.writeString(struct.includeParamKeyPattern);
      }
      if (struct.isSetExcludeParamKeyPattern()) {
        oprot.writeString(struct.excludeParamKeyPattern);
      }
    }
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/GetPartitionsByFilterRequest.java