Package org.apache.thrift.protocol

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


      if (struct.isSetMsg()) {
        optionals.set(0);
      }
      oprot.writeBitSet(optionals, 1);
      if (struct.isSetMsg()) {
        oprot.writeString(struct.msg);
      }
    }

    @Override
    public void read(org.apache.thrift.protocol.TProtocol prot, AdjustableRateException struct) throws org.apache.thrift.TException {
View Full Code Here


      }
      if (struct.isSetPort()) {
        oprot.writeI16(struct.port);
      }
      if (struct.isSetService_name()) {
        oprot.writeString(struct.service_name);
      }
    }

    @Override
    public void read(org.apache.thrift.protocol.TProtocol prot, Endpoint struct) throws org.apache.thrift.TException {
View Full Code Here

      if (struct.isSetMsg()) {
        optionals.set(0);
      }
      oprot.writeBitSet(optionals, 1);
      if (struct.isSetMsg()) {
        oprot.writeString(struct.msg);
      }
    }

    @Override
    public void read(org.apache.thrift.protocol.TProtocol prot, StoreAggregatesException struct) throws org.apache.thrift.TException {
View Full Code Here

      oprot.writeBitSet(optionals, 7);
      if (struct.isSetTrace_id()) {
        oprot.writeI64(struct.trace_id);
      }
      if (struct.isSetName()) {
        oprot.writeString(struct.name);
      }
      if (struct.isSetId()) {
        oprot.writeI64(struct.id);
      }
      if (struct.isSetParent_id()) {
View Full Code Here

      if (struct.isSetDeferredRebuild()) {
        optionals.set(9);
      }
      oprot.writeBitSet(optionals, 10);
      if (struct.isSetIndexName()) {
        oprot.writeString(struct.indexName);
      }
      if (struct.isSetIndexHandlerClass()) {
        oprot.writeString(struct.indexHandlerClass);
      }
      if (struct.isSetDbName()) {
View Full Code Here

      oprot.writeBitSet(optionals, 10);
      if (struct.isSetIndexName()) {
        oprot.writeString(struct.indexName);
      }
      if (struct.isSetIndexHandlerClass()) {
        oprot.writeString(struct.indexHandlerClass);
      }
      if (struct.isSetDbName()) {
        oprot.writeString(struct.dbName);
      }
      if (struct.isSetOrigTableName()) {
View Full Code Here

      }
      if (struct.isSetIndexHandlerClass()) {
        oprot.writeString(struct.indexHandlerClass);
      }
      if (struct.isSetDbName()) {
        oprot.writeString(struct.dbName);
      }
      if (struct.isSetOrigTableName()) {
        oprot.writeString(struct.origTableName);
      }
      if (struct.isSetCreateTime()) {
View Full Code Here

      }
      if (struct.isSetDbName()) {
        oprot.writeString(struct.dbName);
      }
      if (struct.isSetOrigTableName()) {
        oprot.writeString(struct.origTableName);
      }
      if (struct.isSetCreateTime()) {
        oprot.writeI32(struct.createTime);
      }
      if (struct.isSetLastAccessTime()) {
View Full Code Here

      }
      if (struct.isSetLastAccessTime()) {
        oprot.writeI32(struct.lastAccessTime);
      }
      if (struct.isSetIndexTableName()) {
        oprot.writeString(struct.indexTableName);
      }
      if (struct.isSetSd()) {
        struct.sd.write(oprot);
      }
      if (struct.isSetParameters()) {
View Full Code Here

      if (struct.isSetParameters()) {
        {
          oprot.writeI32(struct.parameters.size());
          for (Map.Entry<String, String> _iter215 : struct.parameters.entrySet())
          {
            oprot.writeString(_iter215.getKey());
            oprot.writeString(_iter215.getValue());
          }
        }
      }
      if (struct.isSetDeferredRebuild()) {
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.