public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatisticsDesc struct) throws org.apache.thrift.TException { struct.validate();
struct.validate();
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatsDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statsDesc' is unset! Struct:" + toString()); } if (!isSetStatsObj()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statsObj' is unset! Struct:" + toString()); } // check for sub-struct validity if (statsDesc != null) { statsDesc.validate(); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatisticsDesc struct) throws org.apache.thrift.TException { struct.validate();
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatisticsDesc struct) throws org.apache.thrift.TException { struct.validate();
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatsDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statsDesc' is unset! Struct:" + toString()); } if (!isSetStatsObj()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statsObj' is unset! Struct:" + toString()); } // check for sub-struct validity if (statsDesc != null) { statsDesc.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatsDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statsDesc' is unset! Struct:" + toString()); } if (!isSetStatsObj()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statsObj' is unset! Struct:" + toString()); } // check for sub-struct validity if (statsDesc != null) { statsDesc.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatsDesc()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statsDesc' is unset! Struct:" + toString()); } if (!isSetStatsObj()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statsObj' is unset! Struct:" + toString()); } // check for sub-struct validity if (statsDesc != null) { statsDesc.validate(); } }