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

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


      if (incoming.get(2)) {
        struct.principalType = PrincipalType.findByValue(iprot.readI32());
        struct.setPrincipalTypeIsSet(true);
      }
      if (incoming.get(3)) {
        struct.grantOption = iprot.readBool();
        struct.setGrantOptionIsSet(true);
      }
      if (incoming.get(4)) {
        struct.grantTime = iprot.readI32();
        struct.setGrantTimeIsSet(true);
View Full Code Here


    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, MegaStruct struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      BitSet incoming = iprot.readBitSet(20);
      if (incoming.get(0)) {
        struct.my_bool = iprot.readBool();
        struct.setMy_boolIsSet(true);
      }
      if (incoming.get(1)) {
        struct.my_byte = iprot.readByte();
        struct.setMy_byteIsSet(true);
View Full Code Here

      if (incoming.get(3)) {
        struct.outputFormat = iprot.readString();
        struct.setOutputFormatIsSet(true);
      }
      if (incoming.get(4)) {
        struct.compressed = iprot.readBool();
        struct.setCompressedIsSet(true);
      }
      if (incoming.get(5)) {
        struct.numBuckets = iprot.readI32();
        struct.setNumBucketsIsSet(true);
View Full Code Here

        struct.skewedInfo = new SkewedInfo();
        struct.skewedInfo.read(iprot);
        struct.setSkewedInfoIsSet(true);
      }
      if (incoming.get(11)) {
        struct.storedAsSubDirectories = iprot.readBool();
        struct.setStoredAsSubDirectoriesIsSet(true);
      }
    }
  }
View Full Code Here

          }
        }
        struct.setParametersIsSet(true);
      }
      if (incoming.get(9)) {
        struct.deferredRebuild = iprot.readBool();
        struct.setDeferredRebuildIsSet(true);
      }
    }
  }
View Full Code Here

          _elem279.read(iprot);
          struct.partitions.add(_elem279);
        }
      }
      struct.setPartitionsIsSet(true);
      struct.hasUnknownPartitions = iprot.readBool();
      struct.setHasUnknownPartitionsIsSet(true);
    }
  }

}
View Full Code Here

      struct.parts = new RequestPartsSpec();
      struct.parts.read(iprot);
      struct.setPartsIsSet(true);
      BitSet incoming = iprot.readBitSet(5);
      if (incoming.get(0)) {
        struct.deleteData = iprot.readBool();
        struct.setDeleteDataIsSet(true);
      }
      if (incoming.get(1)) {
        struct.ifExists = iprot.readBool();
        struct.setIfExistsIsSet(true);
View Full Code Here

      if (incoming.get(0)) {
        struct.deleteData = iprot.readBool();
        struct.setDeleteDataIsSet(true);
      }
      if (incoming.get(1)) {
        struct.ifExists = iprot.readBool();
        struct.setIfExistsIsSet(true);
      }
      if (incoming.get(2)) {
        struct.ignoreProtection = iprot.readBool();
        struct.setIgnoreProtectionIsSet(true);
View Full Code Here

      if (incoming.get(1)) {
        struct.ifExists = iprot.readBool();
        struct.setIfExistsIsSet(true);
      }
      if (incoming.get(2)) {
        struct.ignoreProtection = iprot.readBool();
        struct.setIgnoreProtectionIsSet(true);
      }
      if (incoming.get(3)) {
        struct.environmentContext = new EnvironmentContext();
        struct.environmentContext.read(iprot);
View Full Code Here

        struct.environmentContext = new EnvironmentContext();
        struct.environmentContext.read(iprot);
        struct.setEnvironmentContextIsSet(true);
      }
      if (incoming.get(4)) {
        struct.needResult = iprot.readBool();
        struct.setNeedResultIsSet(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.