@Override public void write(org.apache.thrift.protocol.TProtocol prot, MetricWindow struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metricWindow.size()); for (Map.Entry<Integer, Double> _iter111 : struct.metricWindow.entrySet()) { oprot.writeI32(_iter111.getKey()); oprot.writeDouble(_iter111.getValue()); } } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TDoubleColumn struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); for (double _iter98 : struct.values) { oprot.writeDouble(_iter98); } } oprot.writeBinary(struct.nulls); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TDoubleValue struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeDouble(struct.value); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, BinaryColumnStatsData struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI64(struct.maxColLen); oprot.writeDouble(struct.avgColLen); oprot.writeI64(struct.numNulls); BitSet optionals = new BitSet(); if (struct.isSetBitVectors()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetBitVectors()) { oprot.writeBinary(struct.bitVectors); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, DoubleColumnStatsData struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI64(struct.numNulls); oprot.writeI64(struct.numDVs); BitSet optionals = new BitSet(); if (struct.isSetLowValue()) { optionals.set(0); } if (struct.isSetHighValue()) { optionals.set(1); } if (struct.isSetBitVectors()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetLowValue()) { oprot.writeDouble(struct.lowValue); } if (struct.isSetHighValue()) { oprot.writeDouble(struct.highValue); } if (struct.isSetBitVectors()) { oprot.writeBinary(struct.bitVectors); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TOperationHandle struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.operationId.write(oprot); oprot.writeI32(struct.operationType.getValue()); oprot.writeBool(struct.hasResultSet); BitSet optionals = new BitSet(); if (struct.isSetModifiedRowCount()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetModifiedRowCount()) { oprot.writeDouble(struct.modifiedRowCount); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, StringColumnStatsData struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI64(struct.maxColLen); oprot.writeDouble(struct.avgColLen); oprot.writeI64(struct.numNulls); oprot.writeI64(struct.numDVs); BitSet optionals = new BitSet(); if (struct.isSetBitVectors()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetBitVectors()) { oprot.writeBinary(struct.bitVectors); } }
oprot.writeDouble(struct.doubleValue); oprot.writeDouble(struct.m1); oprot.writeDouble(struct.m5); oprot.writeDouble(struct.m15); oprot.writeDouble(struct.mean); oprot.writeDouble(struct.p50); oprot.writeDouble(struct.p75); oprot.writeDouble(struct.p95); oprot.writeDouble(struct.p98); oprot.writeDouble(struct.p99); oprot.writeDouble(struct.p999); oprot.writeDouble(struct.stddev);
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TProgressUpdateResp struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.headerNames.size()); for (String _iter202 : struct.headerNames) { oprot.writeString(_iter202); } } { oprot.writeI32(struct.rows.size()); for (List<String> _iter203 : struct.rows) { { oprot.writeI32(_iter203.size()); for (String _iter204 : _iter203) { oprot.writeString(_iter204); } } } } oprot.writeDouble(struct.progressedPercentage); oprot.writeI32(struct.status.getValue()); oprot.writeString(struct.footerSummary); oprot.writeI64(struct.startTime); }
oprot.writeDouble(struct.initRedirectProbability); oprot.writeDouble(struct.sessionRedirectProbability);
oprot.writeDouble(struct.allocFraction);
oprot.writeDouble(struct.allocFraction);
oprot.writeDouble(struct.my_double);
oprot.writeDouble(struct.read_repair_chance); oprot.writeDouble(struct.merge_shards_chance); oprot.writeDouble(struct.bloom_filter_fp_chance);
oprot.writeDouble(struct.read_repair_chance); oprot.writeDouble(struct.merge_shards_chance); oprot.writeDouble(struct.bloom_filter_fp_chance);
oprot.writeDouble(struct.doubleVal);
oprot.writeDouble(struct.doubleVal);
@Override public void write(org.apache.thrift.protocol.TProtocol prot, RecoveryStatus struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetName()) { optionals.set(0); } if (struct.isSetRuntime()) { optionals.set(1); } if (struct.isSetProgress()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetName()) { oprot.writeString(struct.name); } if (struct.isSetRuntime()) { oprot.writeI32(struct.runtime); } if (struct.isSetProgress()) { oprot.writeDouble(struct.progress); } }
oprot.writeDouble(struct.elapsed); oprot.writeDouble(struct.sumDev); oprot.writeDouble(struct.queueTime); oprot.writeDouble(struct.queueSumDev);
oprot.writeDouble(struct.ingestRate); oprot.writeDouble(struct.queryRate);