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

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


    @Override
    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRequest struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeI64(struct.min);
      oprot.writeI64(struct.max);
    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRequest struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
View Full Code Here


  private static class ShowLocksResponseElementTupleScheme extends TupleScheme<ShowLocksResponseElement> {

    @Override
    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, ShowLocksResponseElement struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeI64(struct.lockid);
      oprot.writeString(struct.dbname);
      oprot.writeI32(struct.state.getValue());
      oprot.writeI32(struct.type.getValue());
      oprot.writeI64(struct.lastheartbeat);
      oprot.writeString(struct.user);
View Full Code Here

      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeI64(struct.lockid);
      oprot.writeString(struct.dbname);
      oprot.writeI32(struct.state.getValue());
      oprot.writeI32(struct.type.getValue());
      oprot.writeI64(struct.lastheartbeat);
      oprot.writeString(struct.user);
      oprot.writeString(struct.hostname);
      BitSet optionals = new BitSet();
      if (struct.isSetTablename()) {
        optionals.set(0);
View Full Code Here

      }
      if (struct.isSetPartname()) {
        oprot.writeString(struct.partname);
      }
      if (struct.isSetTxnid()) {
        oprot.writeI64(struct.txnid);
      }
      if (struct.isSetAcquiredat()) {
        oprot.writeI64(struct.acquiredat);
      }
    }
View Full Code Here

      }
      if (struct.isSetTxnid()) {
        oprot.writeI64(struct.txnid);
      }
      if (struct.isSetAcquiredat()) {
        oprot.writeI64(struct.acquiredat);
      }
    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, ShowLocksResponseElement struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
View Full Code Here

  private static class BooleanColumnStatsDataTupleScheme extends TupleScheme<BooleanColumnStatsData> {

    @Override
    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, BooleanColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeI64(struct.numTrues);
      oprot.writeI64(struct.numFalses);
      oprot.writeI64(struct.numNulls);
    }

    @Override
View Full Code Here

    @Override
    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, BooleanColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeI64(struct.numTrues);
      oprot.writeI64(struct.numFalses);
      oprot.writeI64(struct.numNulls);
    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, BooleanColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
View Full Code Here

    @Override
    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, BooleanColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      oprot.writeI64(struct.numTrues);
      oprot.writeI64(struct.numFalses);
      oprot.writeI64(struct.numNulls);
    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, BooleanColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
View Full Code Here

    @Override
    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, DecimalColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      struct.lowValue.write(oprot);
      struct.highValue.write(oprot);
      oprot.writeI64(struct.numNulls);
      oprot.writeI64(struct.numDVs);
    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, DecimalColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
View Full Code Here

    public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, DecimalColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol oprot = (TTupleProtocol) prot;
      struct.lowValue.write(oprot);
      struct.highValue.write(oprot);
      oprot.writeI64(struct.numNulls);
      oprot.writeI64(struct.numDVs);
    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, DecimalColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
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.