public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatisticsObj struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.colName != null) { oprot.writeFieldBegin(COL_NAME_FIELD_DESC); oprot.writeString(struct.colName); oprot.writeFieldEnd(); } if (struct.colType != null) { oprot.writeFieldBegin(COL_TYPE_FIELD_DESC); oprot.writeString(struct.colType); oprot.writeFieldEnd(); } if (struct.statsData != null) { oprot.writeFieldBegin(STATS_DATA_FIELD_DESC); struct.statsData.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatisticsObj struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.colName != null) { oprot.writeFieldBegin(COL_NAME_FIELD_DESC); oprot.writeString(struct.colName); oprot.writeFieldEnd(); } if (struct.colType != null) { oprot.writeFieldBegin(COL_TYPE_FIELD_DESC); oprot.writeString(struct.colType); oprot.writeFieldEnd(); } if (struct.statsData != null) { oprot.writeFieldBegin(STATS_DATA_FIELD_DESC); struct.statsData.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatisticsObj struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.colName != null) { oprot.writeFieldBegin(COL_NAME_FIELD_DESC); oprot.writeString(struct.colName); oprot.writeFieldEnd(); } if (struct.colType != null) { oprot.writeFieldBegin(COL_TYPE_FIELD_DESC); oprot.writeString(struct.colType); oprot.writeFieldEnd(); } if (struct.statsData != null) { oprot.writeFieldBegin(STATS_DATA_FIELD_DESC); struct.statsData.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatisticsObj struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.colName != null) { oprot.writeFieldBegin(COL_NAME_FIELD_DESC); oprot.writeString(struct.colName); oprot.writeFieldEnd(); } if (struct.colType != null) { oprot.writeFieldBegin(COL_TYPE_FIELD_DESC); oprot.writeString(struct.colType); oprot.writeFieldEnd(); } if (struct.statsData != null) { oprot.writeFieldBegin(STATS_DATA_FIELD_DESC); struct.statsData.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }