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

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


        }
        struct.setPartitionKeysIsSet(true);
      }
      if (incoming.get(8)) {
        {
          com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TMap _map204 = new com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TMap(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.STRING, com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.STRING, iprot.readI32());
          struct.parameters = new HashMap<String,String>(2*_map204.size);
          for (int _i205 = 0; _i205 < _map204.size; ++_i205)
          {
            String _key206; // required
            String _val207; // required
View Full Code Here


    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, Complex struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      BitSet incoming = iprot.readBitSet(6);
      if (incoming.get(0)) {
        struct.aint = iprot.readI32();
        struct.setAintIsSet(true);
      }
      if (incoming.get(1)) {
        struct.aString = iprot.readString();
        struct.setAStringIsSet(true);
View Full Code Here

        struct.aString = iprot.readString();
        struct.setAStringIsSet(true);
      }
      if (incoming.get(2)) {
        {
          com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TList _list21 = new com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TList(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.I32, iprot.readI32());
          struct.lint = new ArrayList<Integer>(_list21.size);
          for (int _i22 = 0; _i22 < _list21.size; ++_i22)
          {
            int _elem23; // required
            _elem23 = iprot.readI32();
View Full Code Here

          com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TList _list21 = new com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TList(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.I32, iprot.readI32());
          struct.lint = new ArrayList<Integer>(_list21.size);
          for (int _i22 = 0; _i22 < _list21.size; ++_i22)
          {
            int _elem23; // required
            _elem23 = iprot.readI32();
            struct.lint.add(_elem23);
          }
        }
        struct.setLintIsSet(true);
      }
View Full Code Here

        }
        struct.setLintIsSet(true);
      }
      if (incoming.get(3)) {
        {
          com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TList _list24 = new com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TList(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.STRING, iprot.readI32());
          struct.lString = new ArrayList<String>(_list24.size);
          for (int _i25 = 0; _i25 < _list24.size; ++_i25)
          {
            String _elem26; // required
            _elem26 = iprot.readString();
View Full Code Here

        }
        struct.setLStringIsSet(true);
      }
      if (incoming.get(4)) {
        {
          com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TList _list27 = new com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TList(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
          struct.lintString = new ArrayList<IntString>(_list27.size);
          for (int _i28 = 0; _i28 < _list27.size; ++_i28)
          {
            IntString _elem29; // required
            _elem29 = new IntString();
View Full Code Here

      if (incoming.get(1)) {
        struct.principalName = iprot.readString();
        struct.setPrincipalNameIsSet(true);
      }
      if (incoming.get(2)) {
        struct.principalType = PrincipalType.findByValue(iprot.readI32());
        struct.setPrincipalTypeIsSet(true);
      }
      if (incoming.get(3)) {
        struct.grantOption = iprot.readBool();
        struct.setGrantOptionIsSet(true);
View Full Code Here

        }
        struct.setLintStringIsSet(true);
      }
      if (incoming.get(5)) {
        {
          com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TMap _map30 = new com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TMap(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.STRING, com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.STRING, iprot.readI32());
          struct.mStringString = new HashMap<String,String>(2*_map30.size);
          for (int _i31 = 0; _i31 < _map30.size; ++_i31)
          {
            String _key32; // required
            String _val33; // required
View Full Code Here

      if (incoming.get(3)) {
        struct.grantOption = iprot.readBool();
        struct.setGrantOptionIsSet(true);
      }
      if (incoming.get(4)) {
        struct.grantTime = iprot.readI32();
        struct.setGrantTimeIsSet(true);
      }
      if (incoming.get(5)) {
        struct.grantorName = iprot.readString();
        struct.setGrantorNameIsSet(true);
View Full Code Here

      if (incoming.get(5)) {
        struct.grantorName = iprot.readString();
        struct.setGrantorNameIsSet(true);
      }
      if (incoming.get(6)) {
        struct.grantorPrincipalType = PrincipalType.findByValue(iprot.readI32());
        struct.setGrantorPrincipalTypeIsSet(true);
      }
    }
  }
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.