Package org.apache.thrift.protocol

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


      if (struct.isSetLoad()) {
        optionals.set(0);
      }
      oprot.writeBitSet(optionals, 1);
      if (struct.isSetLoad()) {
        oprot.writeDouble(struct.load);
      }
    }

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


      }
      if (struct.isSetDescription()) {
        oprot.writeString(struct.description);
      }
      if (struct.isSetProbeRatio()) {
        oprot.writeDouble(struct.probeRatio);
      }
    }

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

      TTupleProtocol oprot = (TTupleProtocol) prot;
      {
        oprot.writeI32(struct.values.size());
        for (double _iter98 : struct.values)
        {
          oprot.writeDouble(_iter98);
        }
      }
      oprot.writeBinary(struct.nulls);
    }
View Full Code Here

      if (struct.isSetValue()) {
        optionals.set(0);
      }
      oprot.writeBitSet(optionals, 1);
      if (struct.isSetValue()) {
        oprot.writeDouble(struct.value);
      }
    }

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

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, BinaryColumnStatsData struct) throws org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeI64(struct.maxColLen);
      oprot.writeDouble(struct.avgColLen);
      oprot.writeI64(struct.numNulls);
    }

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

  private static class DoubleColumnStatsDataTupleScheme extends TupleScheme<DoubleColumnStatsData> {

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, DoubleColumnStatsData struct) throws org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeDouble(struct.lowValue);
      oprot.writeDouble(struct.highValue);
      oprot.writeI64(struct.numNulls);
      oprot.writeI64(struct.numDVs);
    }
View Full Code Here

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, DoubleColumnStatsData struct) throws org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeDouble(struct.lowValue);
      oprot.writeDouble(struct.highValue);
      oprot.writeI64(struct.numNulls);
      oprot.writeI64(struct.numDVs);
    }

    @Override
View Full Code Here

      if (struct.isSetModifiedRowCount()) {
        optionals.set(0);
      }
      oprot.writeBitSet(optionals, 1);
      if (struct.isSetModifiedRowCount()) {
        oprot.writeDouble(struct.modifiedRowCount);
      }
    }

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

      }
      if (struct.isSetComment()) {
        oprot.writeString(struct.comment);
      }
      if (struct.isSetRead_repair_chance()) {
        oprot.writeDouble(struct.read_repair_chance);
      }
      if (struct.isSetColumn_metadata()) {
        {
          oprot.writeI32(struct.column_metadata.size());
          for (ColumnDef _iter124 : struct.column_metadata)
View Full Code Here

            oprot.writeString(_iter126.getValue());
          }
        }
      }
      if (struct.isSetBloom_filter_fp_chance()) {
        oprot.writeDouble(struct.bloom_filter_fp_chance);
      }
      if (struct.isSetCaching()) {
        oprot.writeString(struct.caching);
      }
      if (struct.isSetDclocal_read_repair_chance()) {
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.