lastComparison = Boolean.valueOf(isSetVersion()).compareTo(other.isSetVersion()); if (lastComparison != 0) { return lastComparison; if (isSetVersion()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.version, other.version); if (lastComparison != 0) {
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case VERSION: return isSetVersion(); case COLUMN_SCHEMA: return isSetColumn_schema(); case IS_FOOTER_PRESENT: return isSetIs_footer_present(); case TIME_STAMP: return isSetTime_stamp(); case IS_SPLITABLE: return isSetIs_splitable(); case SYNC_MARKER: return isSetSync_marker(); case COMPRESSOR_NAME: return isSetCompressor_name(); } throw new IllegalStateException(); }
if (!struct.isSetVersion()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'version' was not found in serialized data! Struct: " + toString());