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

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


    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, TableStatsRequest struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeString(struct.dbName);
      oprot.writeString(struct.tblName);
      {
        oprot.writeI32(struct.colNames.size());
        for (String _iter310 : struct.colNames)
        {
          oprot.writeString(_iter310);
        }
      }
View Full Code Here


    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, PartitionsStatsRequest struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeString(struct.dbName);
      oprot.writeString(struct.tblName);
      {
        oprot.writeI32(struct.colNames.size());
        for (String _iter322 : struct.colNames)
        {
          oprot.writeString(_iter322);
        }
      }
View Full Code Here

        {
          oprot.writeString(_iter322);
        }
      }
      {
        oprot.writeI32(struct.partNames.size());
        for (String _iter323 : struct.partNames)
        {
          oprot.writeString(_iter323);
        }
      }
View Full Code Here

      }
      if (struct.isSetOrigTableName()) {
        oprot.writeString(struct.origTableName);
      }
      if (struct.isSetCreateTime()) {
        oprot.writeI32(struct.createTime);
      }
      if (struct.isSetLastAccessTime()) {
        oprot.writeI32(struct.lastAccessTime);
      }
      if (struct.isSetIndexTableName()) {
View Full Code Here

      }
      if (struct.isSetCreateTime()) {
        oprot.writeI32(struct.createTime);
      }
      if (struct.isSetLastAccessTime()) {
        oprot.writeI32(struct.lastAccessTime);
      }
      if (struct.isSetIndexTableName()) {
        oprot.writeString(struct.indexTableName);
      }
      if (struct.isSetSd()) {
View Full Code Here

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

        optionals.set(0);
      }
      oprot.writeBitSet(optionals, 1);
      if (struct.isSetProperties()) {
        {
          oprot.writeI32(struct.properties.size());
          for (Map.Entry<String, String> _iter267 : struct.properties.entrySet())
          {
            oprot.writeString(_iter267.getKey());
            oprot.writeString(_iter267.getValue());
          }
View Full Code Here

    @Override
    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, PartitionsByExprResult struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      {
        oprot.writeI32(struct.partitions.size());
        for (Partition _iter276 : struct.partitions)
        {
          _iter276.write(oprot);
        }
      }
View Full Code Here

      if (struct.isSetUri()) {
        optionals.set(1);
      }
      oprot.writeBitSet(optionals, 2);
      if (struct.isSetResourceType()) {
        oprot.writeI32(struct.resourceType.getValue());
      }
      if (struct.isSetUri()) {
        oprot.writeString(struct.uri);
      }
    }
View Full Code Here

    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, ShowCompactResponseElement struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeString(struct.dbname);
      oprot.writeString(struct.tablename);
      oprot.writeString(struct.partitionname);
      oprot.writeI32(struct.type.getValue());
      oprot.writeString(struct.state);
      oprot.writeString(struct.workerid);
      oprot.writeI64(struct.start);
      oprot.writeString(struct.runAs);
    }
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.