Package org.apache.thrift.protocol

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


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

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


      }
      if (struct.isSetExecFinishTime()) {
        oprot.writeI64(struct.execFinishTime);
      }
      if (struct.isSetProgress()) {
        oprot.writeDouble(struct.progress);
      }
      if (struct.isSetStartTime()) {
        oprot.writeI64(struct.startTime);
      }
      if (struct.isSetFailed()) {
View Full Code Here

      oprot.writeBitSet(optionals, 2);
      if (struct.isSetId()) {
        oprot.writeString(struct.id);
      }
      if (struct.isSetX()) {
        oprot.writeDouble(struct.x);
      }
    }

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

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

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

      oprot.writeBitSet(optionals, 2);
      if (struct.isSetId()) {
        oprot.writeString(struct.id);
      }
      if (struct.isSetX()) {
        oprot.writeDouble(struct.x);
      }
    }

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

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

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

      oprot.writeBitSet(optionals, 3);
      if (struct.isSetId()) {
        oprot.writeString(struct.id);
      }
      if (struct.isSetX()) {
        oprot.writeDouble(struct.x);
      }
      if (struct.isSetZ()) {
        oprot.writeDouble(struct.z);
      }
    }
View Full Code Here

      }
      if (struct.isSetX()) {
        oprot.writeDouble(struct.x);
      }
      if (struct.isSetZ()) {
        oprot.writeDouble(struct.z);
      }
    }

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

      oprot.writeBitSet(optionals, 14);
      if (struct.isSetTaskID()) {
        struct.taskID.write(oprot);
      }
      if (struct.isSetProgress()) {
        oprot.writeDouble(struct.progress);
      }
      if (struct.isSetState()) {
        oprot.writeI32(struct.state.getValue());
      }
      if (struct.isSetDiagnosticInfo()) {
View Full Code Here

      oprot.writeBitSet(optionals, 3);
      if (struct.isSetId()) {
        oprot.writeString(struct.id);
      }
      if (struct.isSetX()) {
        oprot.writeDouble(struct.x);
      }
      if (struct.isSetZ()) {
        oprot.writeDouble(struct.z);
      }
    }
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.