Package org.apache.thrift.protocol

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


      if (struct.isSetQosParams()) {
        optionals.set(4);
      }
      oprot.writeBitSet(optionals, 5);
      if (struct.isSetShareExperimentPublicly()) {
        oprot.writeBool(struct.shareExperimentPublicly);
      }
      if (struct.isSetComputationalResourceScheduling()) {
        struct.computationalResourceScheduling.write(oprot);
      }
      if (struct.isSetAdvanceInputDataHandling()) {
View Full Code Here


  private static class ValidatorResultTupleScheme extends TupleScheme<ValidatorResult> {

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, ValidatorResult struct) throws org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeBool(struct.result);
      BitSet optionals = new BitSet();
      if (struct.isSetErrorDetails()) {
        optionals.set(0);
      }
      oprot.writeBitSet(optionals, 1);
View Full Code Here

      }
      if (struct.isSetErrorCategory()) {
        oprot.writeI32(struct.errorCategory.getValue());
      }
      if (struct.isSetTransientOrPersistent()) {
        oprot.writeBool(struct.transientOrPersistent);
      }
      if (struct.isSetCorrectiveAction()) {
        oprot.writeI32(struct.correctiveAction.getValue());
      }
      if (struct.isSetActionableGroup()) {
View Full Code Here

  private static class ValidationResultsTupleScheme extends TupleScheme<ValidationResults> {

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, ValidationResults struct) throws org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeBool(struct.validationState);
      {
        oprot.writeI32(struct.validationResultList.size());
        for (ValidatorResult _iter4 : struct.validationResultList)
        {
          _iter4.write(oprot);
View Full Code Here

      }
      if (struct.isSetApplicationArgument()) {
        oprot.writeString(struct.applicationArgument);
      }
      if (struct.isSetStandardInput()) {
        oprot.writeBool(struct.standardInput);
      }
      if (struct.isSetUserFriendlyDescription()) {
        oprot.writeString(struct.userFriendlyDescription);
      }
      if (struct.isSetMetaData()) {
View Full Code Here

  private static class ValidatorResultTupleScheme extends TupleScheme<ValidatorResult> {

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, ValidatorResult struct) throws org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeBool(struct.result);
      BitSet optionals = new BitSet();
      if (struct.isSetErrorDetails()) {
        optionals.set(0);
      }
      oprot.writeBitSet(optionals, 1);
View Full Code Here

  private static class ValidationResultsTupleScheme extends TupleScheme<ValidationResults> {

    @Override
    public void write(org.apache.thrift.protocol.TProtocol prot, ValidationResults struct) throws org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeBool(struct.validationState);
      {
        oprot.writeI32(struct.validationResultList.size());
        for (ValidatorResult _iter92 : struct.validationResultList)
        {
          _iter92.write(oprot);
View Full Code Here

        if (struct.isSetTope()) {
          optionals.set(2);
        }
        oprot.writeBitSet(optionals, 3);
        if (struct.isSetSuccess()) {
          oprot.writeBool(struct.success);
        }
        if (struct.isSetSec()) {
          struct.sec.write(oprot);
        }
        if (struct.isSetTope()) {
View Full Code Here

        if (struct.isSetSec()) {
          optionals.set(1);
        }
        oprot.writeBitSet(optionals, 2);
        if (struct.isSetSuccess()) {
          oprot.writeBool(struct.success);
        }
        if (struct.isSetSec()) {
          struct.sec.write(oprot);
        }
      }
View Full Code Here

        }
        if (struct.isSetExtent()) {
          struct.extent.write(oprot);
        }
        if (struct.isSetSave()) {
          oprot.writeBool(struct.save);
        }
      }

      @Override
      public void read(org.apache.thrift.protocol.TProtocol prot, unloadTablet_args struct) throws org.apache.thrift.TException {
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.