Package com.facebook.presto.hive.shaded.org.apache.thrift.protocol

Examples of com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TTupleProtocol.writeI32()


          }
        }
      }
      if (struct.isSetParameters()) {
        {
          oprot.writeI32(struct.parameters.size());
          for (Map.Entry<String, String> _iter200 : struct.parameters.entrySet())
          {
            oprot.writeString(_iter200.getKey());
            oprot.writeString(_iter200.getValue());
          }
View Full Code Here


      if (struct.isSetMStringString()) {
        optionals.set(5);
      }
      oprot.writeBitSet(optionals, 6);
      if (struct.isSetAint()) {
        oprot.writeI32(struct.aint);
      }
      if (struct.isSetAString()) {
        oprot.writeString(struct.aString);
      }
      if (struct.isSetLint()) {
View Full Code Here

      if (struct.isSetAString()) {
        oprot.writeString(struct.aString);
      }
      if (struct.isSetLint()) {
        {
          oprot.writeI32(struct.lint.size());
          for (int _iter17 : struct.lint)
          {
            oprot.writeI32(_iter17);
          }
        }
View Full Code Here

      if (struct.isSetLint()) {
        {
          oprot.writeI32(struct.lint.size());
          for (int _iter17 : struct.lint)
          {
            oprot.writeI32(_iter17);
          }
        }
      }
      if (struct.isSetLString()) {
        {
View Full Code Here

          }
        }
      }
      if (struct.isSetLString()) {
        {
          oprot.writeI32(struct.lString.size());
          for (String _iter18 : struct.lString)
          {
            oprot.writeString(_iter18);
          }
        }
View Full Code Here

          }
        }
      }
      if (struct.isSetLintString()) {
        {
          oprot.writeI32(struct.lintString.size());
          for (IntString _iter19 : struct.lintString)
          {
            _iter19.write(oprot);
          }
        }
View Full Code Here

          }
        }
      }
      if (struct.isSetMStringString()) {
        {
          oprot.writeI32(struct.mStringString.size());
          for (Map.Entry<String, String> _iter20 : struct.mStringString.entrySet())
          {
            oprot.writeString(_iter20.getKey());
            oprot.writeString(_iter20.getValue());
          }
View Full Code Here

      }
      if (struct.isSetPrincipalName()) {
        oprot.writeString(struct.principalName);
      }
      if (struct.isSetPrincipalType()) {
        oprot.writeI32(struct.principalType.getValue());
      }
      if (struct.isSetGrantOption()) {
        oprot.writeBool(struct.grantOption);
      }
      if (struct.isSetGrantTime()) {
View Full Code Here

      }
      if (struct.isSetGrantOption()) {
        oprot.writeBool(struct.grantOption);
      }
      if (struct.isSetGrantTime()) {
        oprot.writeI32(struct.grantTime);
      }
      if (struct.isSetGrantorName()) {
        oprot.writeString(struct.grantorName);
      }
      if (struct.isSetGrantorPrincipalType()) {
View Full Code Here

      }
      if (struct.isSetGrantorName()) {
        oprot.writeString(struct.grantorName);
      }
      if (struct.isSetGrantorPrincipalType()) {
        oprot.writeI32(struct.grantorPrincipalType.getValue());
      }
    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, RolePrincipalGrant struct) throws com.facebook.presto.hive.shaded.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.