Package org.apache.thrift.protocol

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


      @Override
      public void write(org.apache.thrift.protocol.TProtocol prot, deleteMultiple_args struct) throws org.apache.thrift.TException {
        TTupleProtocol oprot = (TTupleProtocol) prot;
        oprot.writeBinary(struct.table);
        {
          oprot.writeI32(struct.deletes.size());
          for (TDelete _iter124 : struct.deletes)
          {
            _iter124.write(oprot);
          }
        }
View Full Code Here


      @Override
      public void write(org.apache.thrift.protocol.TProtocol prot, putMultiple_args struct) throws org.apache.thrift.TException {
        TTupleProtocol oprot = (TTupleProtocol) prot;
        oprot.writeBinary(struct.table);
        {
          oprot.writeI32(struct.puts.size());
          for (TPut _iter116 : struct.puts)
          {
            _iter116.write(oprot);
          }
        }
View Full Code Here

          optionals.set(1);
        }
        oprot.writeBitSet(optionals, 2);
        if (struct.isSetSuccess()) {
          {
            oprot.writeI32(struct.success.size());
            for (TResult _iter108 : struct.success)
            {
              _iter108.write(oprot);
            }
          }
View Full Code Here

      @Override
      public void write(org.apache.thrift.protocol.TProtocol prot, getMultiple_args struct) throws org.apache.thrift.TException {
        TTupleProtocol oprot = (TTupleProtocol) prot;
        oprot.writeBinary(struct.table);
        {
          oprot.writeI32(struct.gets.size());
          for (TGet _iter100 : struct.gets)
          {
            _iter100.write(oprot);
          }
        }
View Full Code Here

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

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

      if (struct.isSetSd()) {
        struct.sd.write(oprot);
      }
      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());
          }
View Full Code Here

        optionals.set(7);
      }
      oprot.writeBitSet(optionals, 8);
      if (struct.isSetValues()) {
        {
          oprot.writeI32(struct.values.size());
          for (String _iter201 : struct.values)
          {
            oprot.writeString(_iter201);
          }
        }
View Full Code Here

      }
      if (struct.isSetTableName()) {
        oprot.writeString(struct.tableName);
      }
      if (struct.isSetCreateTime()) {
        oprot.writeI32(struct.createTime);
      }
      if (struct.isSetLastAccessTime()) {
        oprot.writeI32(struct.lastAccessTime);
      }
      if (struct.isSetSd()) {
View Full Code Here

      }
      if (struct.isSetCreateTime()) {
        oprot.writeI32(struct.createTime);
      }
      if (struct.isSetLastAccessTime()) {
        oprot.writeI32(struct.lastAccessTime);
      }
      if (struct.isSetSd()) {
        struct.sd.write(oprot);
      }
      if (struct.isSetParameters()) {
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.