Package org.apache.thrift.protocol

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


      if (struct.isSetTimestamp()) {
        oprot.writeI64(struct.timestamp);
      }
      if (struct.isSetColumns()) {
        {
          oprot.writeI32(struct.columns.size());
          for (ByteBuffer _iter30 : struct.columns)
          {
            oprot.writeBinary(_iter30);
          }
        }
View Full Code Here


      if (struct.isSetWriteToWal()) {
        oprot.writeBool(struct.writeToWal);
      }
      if (struct.isSetAttributes()) {
        {
          oprot.writeI32(struct.attributes.size());
          for (Map.Entry<ByteBuffer, ByteBuffer> _iter36 : struct.attributes.entrySet())
          {
            oprot.writeBinary(_iter36.getKey());
            oprot.writeBinary(_iter36.getValue());
          }
View Full Code Here

            oprot.writeBinary(_iter30);
          }
        }
      }
      if (struct.isSetCaching()) {
        oprot.writeI32(struct.caching);
      }
      if (struct.isSetFilterString()) {
        oprot.writeBinary(struct.filterString);
      }
      if (struct.isSetSortColumns()) {
View Full Code Here

            oprot.writeBinary(_iter36.getValue());
          }
        }
      }
      if (struct.isSetDurability()) {
        oprot.writeI32(struct.durability.getValue());
      }
    }

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

      if (struct.isSetRow()) {
        oprot.writeBinary(struct.row);
      }
      if (struct.isSetColumns()) {
        {
          oprot.writeI32(struct.columns.size());
          for (Map.Entry<ByteBuffer, TCell> _iter17 : struct.columns.entrySet())
          {
            oprot.writeBinary(_iter17.getKey());
            _iter17.getValue().write(oprot);
          }
View Full Code Here

          }
        }
      }
      if (struct.isSetSortedColumns()) {
        {
          oprot.writeI32(struct.sortedColumns.size());
          for (TColumn _iter18 : struct.sortedColumns)
          {
            _iter18.write(oprot);
          }
        }
View Full Code Here

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

        optionals.set(5);
      }
      oprot.writeBitSet(optionals, 6);
      if (struct.isSetColumns()) {
        {
          oprot.writeI32(struct.columns.size());
          for (TColumn _iter53 : struct.columns)
          {
            _iter53.write(oprot);
          }
        }
View Full Code Here

      }
      if (struct.isSetTimestamp()) {
        oprot.writeI64(struct.timestamp);
      }
      if (struct.isSetDeleteType()) {
        oprot.writeI32(struct.deleteType.getValue());
      }
      if (struct.isSetWriteToWal()) {
        oprot.writeBool(struct.writeToWal);
      }
      if (struct.isSetAttributes()) {
View Full Code Here

      if (struct.isSetWriteToWal()) {
        oprot.writeBool(struct.writeToWal);
      }
      if (struct.isSetAttributes()) {
        {
          oprot.writeI32(struct.attributes.size());
          for (Map.Entry<ByteBuffer, ByteBuffer> _iter54 : struct.attributes.entrySet())
          {
            oprot.writeBinary(_iter54.getKey());
            oprot.writeBinary(_iter54.getValue());
          }
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.