public void write(org.apache.thrift.protocol.TProtocol oprot, DoubleColumnStatsData struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.isSetLowValue()) { oprot.writeFieldBegin(LOW_VALUE_FIELD_DESC); oprot.writeDouble(struct.lowValue); oprot.writeFieldEnd(); } if (struct.isSetHighValue()) { oprot.writeFieldBegin(HIGH_VALUE_FIELD_DESC); oprot.writeDouble(struct.highValue); oprot.writeFieldEnd(); } oprot.writeFieldBegin(NUM_NULLS_FIELD_DESC); oprot.writeI64(struct.numNulls); oprot.writeFieldEnd(); oprot.writeFieldBegin(NUM_DVS_FIELD_DESC); oprot.writeI64(struct.numDVs); oprot.writeFieldEnd(); if (struct.bitVectors != null) { if (struct.isSetBitVectors()) { oprot.writeFieldBegin(BIT_VECTORS_FIELD_DESC); oprot.writeBinary(struct.bitVectors); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot, DoubleColumnStatsData struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.isSetLowValue()) { oprot.writeFieldBegin(LOW_VALUE_FIELD_DESC); oprot.writeDouble(struct.lowValue); oprot.writeFieldEnd(); } if (struct.isSetHighValue()) { oprot.writeFieldBegin(HIGH_VALUE_FIELD_DESC); oprot.writeDouble(struct.highValue); oprot.writeFieldEnd(); } oprot.writeFieldBegin(NUM_NULLS_FIELD_DESC); oprot.writeI64(struct.numNulls); oprot.writeFieldEnd(); oprot.writeFieldBegin(NUM_DVS_FIELD_DESC); oprot.writeI64(struct.numDVs); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, DoubleColumnStatsData struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.isSetLowValue()) { oprot.writeFieldBegin(LOW_VALUE_FIELD_DESC); oprot.writeDouble(struct.lowValue); oprot.writeFieldEnd(); } if (struct.isSetHighValue()) { oprot.writeFieldBegin(HIGH_VALUE_FIELD_DESC); oprot.writeDouble(struct.highValue); oprot.writeFieldEnd(); } oprot.writeFieldBegin(NUM_NULLS_FIELD_DESC); oprot.writeI64(struct.numNulls); oprot.writeFieldEnd(); oprot.writeFieldBegin(NUM_DVS_FIELD_DESC); oprot.writeI64(struct.numDVs); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, DoubleColumnStatsData struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.isSetLowValue()) { oprot.writeFieldBegin(LOW_VALUE_FIELD_DESC); oprot.writeDouble(struct.lowValue); oprot.writeFieldEnd(); } if (struct.isSetHighValue()) { oprot.writeFieldBegin(HIGH_VALUE_FIELD_DESC); oprot.writeDouble(struct.highValue); oprot.writeFieldEnd(); } oprot.writeFieldBegin(NUM_NULLS_FIELD_DESC); oprot.writeI64(struct.numNulls); oprot.writeFieldEnd(); oprot.writeFieldBegin(NUM_DVS_FIELD_DESC); oprot.writeI64(struct.numDVs); oprot.writeFieldEnd(); if (struct.bitVectors != null) { if (struct.isSetBitVectors()) { oprot.writeFieldBegin(BIT_VECTORS_FIELD_DESC); oprot.writeBinary(struct.bitVectors); oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }