public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.statsDesc != null) { oprot.writeFieldBegin(STATS_DESC_FIELD_DESC); struct.statsDesc.write(oprot); oprot.writeFieldEnd(); } if (struct.statsObj != null) { oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); for (ColumnStatisticsObj _iter279 : struct.statsObj) { _iter279.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } if (struct.isSetIsStatsCompliant()) { oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); oprot.writeBool(struct.isStatsCompliant); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.statsDesc != null) { oprot.writeFieldBegin(STATS_DESC_FIELD_DESC); struct.statsDesc.write(oprot); oprot.writeFieldEnd(); } if (struct.statsObj != null) { oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); for (ColumnStatisticsObj _iter273 : struct.statsObj) { _iter273.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.statsDesc != null) { oprot.writeFieldBegin(STATS_DESC_FIELD_DESC); struct.statsDesc.write(oprot); oprot.writeFieldEnd(); } if (struct.statsObj != null) { oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); for (ColumnStatisticsObj _iter273 : struct.statsObj) { _iter273.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.statsDesc != null) { oprot.writeFieldBegin(STATS_DESC_FIELD_DESC); struct.statsDesc.write(oprot); oprot.writeFieldEnd(); } if (struct.statsObj != null) { oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); for (ColumnStatisticsObj _iter271 : struct.statsObj) { _iter271.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }