Package org.apache.thrift.protocol

Examples of org.apache.thrift.protocol.TTupleProtocol.readString()


    @Override
    public void read(org.apache.thrift.protocol.TProtocol prot, AdjustableRateException struct) throws org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      BitSet incoming = iprot.readBitSet(1);
      if (incoming.get(0)) {
        struct.msg = iprot.readString();
        struct.setMsgIsSet(true);
      }
    }
  }
View Full Code Here


      if (incoming.get(1)) {
        struct.port = iprot.readI16();
        struct.setPortIsSet(true);
      }
      if (incoming.get(2)) {
        struct.service_name = iprot.readString();
        struct.setService_nameIsSet(true);
      }
    }
  }
View Full Code Here

    @Override
    public void read(org.apache.thrift.protocol.TProtocol prot, StoreAggregatesException struct) throws org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      BitSet incoming = iprot.readBitSet(1);
      if (incoming.get(0)) {
        struct.msg = iprot.readString();
        struct.setMsgIsSet(true);
      }
    }
  }
View Full Code Here

      if (incoming.get(0)) {
        struct.trace_id = iprot.readI64();
        struct.setTrace_idIsSet(true);
      }
      if (incoming.get(1)) {
        struct.name = iprot.readString();
        struct.setNameIsSet(true);
      }
      if (incoming.get(2)) {
        struct.id = iprot.readI64();
        struct.setIdIsSet(true);
View Full Code Here

    @Override
    public void read(org.apache.thrift.protocol.TProtocol prot, Index struct) throws org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      BitSet incoming = iprot.readBitSet(10);
      if (incoming.get(0)) {
        struct.indexName = iprot.readString();
        struct.setIndexNameIsSet(true);
      }
      if (incoming.get(1)) {
        struct.indexHandlerClass = iprot.readString();
        struct.setIndexHandlerClassIsSet(true);
View Full Code Here

      if (incoming.get(0)) {
        struct.indexName = iprot.readString();
        struct.setIndexNameIsSet(true);
      }
      if (incoming.get(1)) {
        struct.indexHandlerClass = iprot.readString();
        struct.setIndexHandlerClassIsSet(true);
      }
      if (incoming.get(2)) {
        struct.dbName = iprot.readString();
        struct.setDbNameIsSet(true);
View Full Code Here

      if (incoming.get(1)) {
        struct.indexHandlerClass = iprot.readString();
        struct.setIndexHandlerClassIsSet(true);
      }
      if (incoming.get(2)) {
        struct.dbName = iprot.readString();
        struct.setDbNameIsSet(true);
      }
      if (incoming.get(3)) {
        struct.origTableName = iprot.readString();
        struct.setOrigTableNameIsSet(true);
View Full Code Here

      if (incoming.get(2)) {
        struct.dbName = iprot.readString();
        struct.setDbNameIsSet(true);
      }
      if (incoming.get(3)) {
        struct.origTableName = iprot.readString();
        struct.setOrigTableNameIsSet(true);
      }
      if (incoming.get(4)) {
        struct.createTime = iprot.readI32();
        struct.setCreateTimeIsSet(true);
View Full Code Here

      if (incoming.get(5)) {
        struct.lastAccessTime = iprot.readI32();
        struct.setLastAccessTimeIsSet(true);
      }
      if (incoming.get(6)) {
        struct.indexTableName = iprot.readString();
        struct.setIndexTableNameIsSet(true);
      }
      if (incoming.get(7)) {
        struct.sd = new StorageDescriptor();
        struct.sd.read(iprot);
View Full Code Here

          struct.parameters = new HashMap<String,String>(2*_map216.size);
          for (int _i217 = 0; _i217 < _map216.size; ++_i217)
          {
            String _key218; // required
            String _val219; // required
            _key218 = iprot.readString();
            _val219 = iprot.readString();
            struct.parameters.put(_key218, _val219);
          }
        }
        struct.setParametersIsSet(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.