@Override
    public void read(org.apache.thrift.protocol.TProtocol prot, Query struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet incoming = iprot.readBitSet(8);
      if (incoming.get(0)) {
        struct.queryId = iprot.readString();
        struct.setQueryIdIsSet(true);
      }
      if (incoming.get(1)) {
        struct.queryType = iprot.readString();
        struct.setQueryTypeIsSet(true);
      }
      if (incoming.get(2)) {
        {
          org.apache.thrift.protocol.TMap _map117 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); 
          struct.queryAttributes = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map117.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key118;
          @org.apache.thrift.annotation.Nullable java.lang.String _val119;
          for (int _i120 = 0; _i120 < _map117.size; ++_i120)
          {
            _key118 = iprot.readString();
            _val119 = iprot.readString();
            struct.queryAttributes.put(_key118, _val119);
          }
        }
        struct.setQueryAttributesIsSet(true);
      }
      if (incoming.get(3)) {
        {
          org.apache.thrift.protocol.TMap _map121 = iprot.readMapBegin(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.I64); 
          struct.queryCounters = new java.util.HashMap<java.lang.String,java.lang.Long>(2*_map121.size);
          @org.apache.thrift.annotation.Nullable java.lang.String _key122;
          long _val123;
          for (int _i124 = 0; _i124 < _map121.size; ++_i124)
          {
            _key122 = iprot.readString();
            _val123 = iprot.readI64();
            struct.queryCounters.put(_key122, _val123);
          }
        }
        struct.setQueryCountersIsSet(true);
      }
      if (incoming.get(4)) {
        struct.stageGraph = new Graph();
        struct.stageGraph.read(iprot);
        struct.setStageGraphIsSet(true);
      }
      if (incoming.get(5)) {
        {
          org.apache.thrift.protocol.TList _list125 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT);
          struct.stageList = new java.util.ArrayList<Stage>(_list125.size);
          @org.apache.thrift.annotation.Nullable Stage _elem126;
          for (int _i127 = 0; _i127 < _list125.size; ++_i127)
          {
            _elem126 = new Stage();
            _elem126.read(iprot);
            struct.stageList.add(_elem126);
          }
        }
        struct.setStageListIsSet(true);
      }
      if (incoming.get(6)) {
        struct.done = iprot.readBool();
        struct.setDoneIsSet(true);
      }
      if (incoming.get(7)) {
        struct.started = iprot.readBool();
        struct.setStartedIsSet(true);
      }
    }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java