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

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


      if (incoming.get(0)) {
        struct.partName = iprot.readString();
        struct.setPartNameIsSet(true);
      }
      if (incoming.get(1)) {
        struct.lastAnalyzed = iprot.readI64();
        struct.setLastAnalyzedIsSet(true);
      }
    }
  }
View Full Code Here


    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      struct.txn_high_water_mark = iprot.readI64();
      struct.setTxn_high_water_markIsSet(true);
      {
        com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TSet _set391 = new com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TSet(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.I64, iprot.readI32());
        struct.open_txns = new HashSet<Long>(2*_set391.size);
        for (int _i392 = 0; _i392 < _set391.size; ++_i392)
View Full Code Here

        com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TSet _set391 = new com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TSet(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TType.I64, iprot.readI32());
        struct.open_txns = new HashSet<Long>(2*_set391.size);
        for (int _i392 = 0; _i392 < _set391.size; ++_i392)
        {
          long _elem393; // required
          _elem393 = iprot.readI64();
          struct.open_txns.add(_elem393);
        }
      }
      struct.setOpen_txnsIsSet(true);
    }
View Full Code Here

    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, StringColumnStatsData struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      struct.maxColLen = iprot.readI64();
      struct.setMaxColLenIsSet(true);
      struct.avgColLen = iprot.readDouble();
      struct.setAvgColLenIsSet(true);
      struct.numNulls = iprot.readI64();
      struct.setNumNullsIsSet(true);
View Full Code Here

      TTupleProtocol iprot = (TTupleProtocol) prot;
      struct.maxColLen = iprot.readI64();
      struct.setMaxColLenIsSet(true);
      struct.avgColLen = iprot.readDouble();
      struct.setAvgColLenIsSet(true);
      struct.numNulls = iprot.readI64();
      struct.setNumNullsIsSet(true);
      struct.numDVs = iprot.readI64();
      struct.setNumDVsIsSet(true);
    }
  }
View Full Code Here

      struct.setMaxColLenIsSet(true);
      struct.avgColLen = iprot.readDouble();
      struct.setAvgColLenIsSet(true);
      struct.numNulls = iprot.readI64();
      struct.setNumNullsIsSet(true);
      struct.numDVs = iprot.readI64();
      struct.setNumDVsIsSet(true);
    }
  }

}
View Full Code Here

    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, UnlockRequest struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      struct.lockid = iprot.readI64();
      struct.setLockidIsSet(true);
    }
  }

}
View Full Code Here

      struct.setTypeIsSet(true);
      struct.state = iprot.readString();
      struct.setStateIsSet(true);
      struct.workerid = iprot.readString();
      struct.setWorkeridIsSet(true);
      struct.start = iprot.readI64();
      struct.setStartIsSet(true);
      struct.runAs = iprot.readString();
      struct.setRunAsIsSet(true);
    }
  }
View Full Code Here

    }

    @Override
    public void read(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, CheckLockRequest struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
      TTupleProtocol iprot = (TTupleProtocol) prot;
      struct.lockid = iprot.readI64();
      struct.setLockidIsSet(true);
    }
  }

}
View Full Code Here

    }

    @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;
      struct.min = iprot.readI64();
      struct.setMinIsSet(true);
      struct.max = iprot.readI64();
      struct.setMaxIsSet(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.