Package org.apache.blur.thirdparty.thrift_0_9_0.protocol

Examples of org.apache.blur.thirdparty.thrift_0_9_0.protocol.TTupleProtocol.readString()


          struct.cpuTimes = new HashMap<String,CpuTime>(2*_map132.size);
          for (int _i133 = 0; _i133 < _map132.size; ++_i133)
          {
            String _key134; // optional
            CpuTime _val135; // required
            _key134 = iprot.readString();
            _val135 = new CpuTime();
            _val135.read(iprot);
            struct.cpuTimes.put(_key134, _val135);
          }
        }
View Full Code Here


      if (incoming.get(4)) {
        struct.state = QueryState.findByValue(iprot.readI32());
        struct.setStateIsSet(true);
      }
      if (incoming.get(5)) {
        struct.uuid = iprot.readString();
        struct.setUuidIsSet(true);
      }
      if (incoming.get(6)) {
        struct.status = Status.findByValue(iprot.readI32());
        struct.setStatusIsSet(true);
View Full Code Here

      if (incoming.get(7)) {
        struct.maxQueryTime = iprot.readI64();
        struct.setMaxQueryTimeIsSet(true);
      }
      if (incoming.get(8)) {
        struct.uuid = iprot.readString();
        struct.setUuidIsSet(true);
      }
      if (incoming.get(9)) {
        struct.userContext = iprot.readString();
        struct.setUserContextIsSet(true);
View Full Code Here

      if (incoming.get(8)) {
        struct.uuid = iprot.readString();
        struct.setUuidIsSet(true);
      }
      if (incoming.get(9)) {
        struct.userContext = iprot.readString();
        struct.setUserContextIsSet(true);
      }
      if (incoming.get(10)) {
        struct.cacheResult = iprot.readBool();
        struct.setCacheResultIsSet(true);
View Full Code Here

          }
        }
        struct.setSortFieldsIsSet(true);
      }
      if (incoming.get(13)) {
        struct.rowId = iprot.readString();
        struct.setRowIdIsSet(true);
      }
    }
  }
View Full Code Here

    @Override
    public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, User struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      BitSet incoming = iprot.readBitSet(2);
      if (incoming.get(0)) {
        struct.username = iprot.readString();
        struct.setUsernameIsSet(true);
      }
      if (incoming.get(1)) {
        {
          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map6 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
View Full Code Here

          struct.attributes = new HashMap<String,String>(2*_map6.size);
          for (int _i7 = 0; _i7 < _map6.size; ++_i7)
          {
            String _key8; // optional
            String _val9; // required
            _key8 = iprot.readString();
            _val9 = iprot.readString();
            struct.attributes.put(_key8, _val9);
          }
        }
        struct.setAttributesIsSet(true);
View Full Code Here

          for (int _i7 = 0; _i7 < _map6.size; ++_i7)
          {
            String _key8; // optional
            String _val9; // required
            _key8 = iprot.readString();
            _val9 = iprot.readString();
            struct.attributes.put(_key8, _val9);
          }
        }
        struct.setAttributesIsSet(true);
      }
View Full Code Here

    @Override
    public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, Metric struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      BitSet incoming = iprot.readBitSet(4);
      if (incoming.get(0)) {
        struct.name = iprot.readString();
        struct.setNameIsSet(true);
      }
      if (incoming.get(1)) {
        {
          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap _map220 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TMap(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
View Full Code Here

          struct.strMap = new HashMap<String,String>(2*_map220.size);
          for (int _i221 = 0; _i221 < _map220.size; ++_i221)
          {
            String _key222; // optional
            String _val223; // required
            _key222 = iprot.readString();
            _val223 = iprot.readString();
            struct.strMap.put(_key222, _val223);
          }
        }
        struct.setStrMapIsSet(true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.