/** 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 NUM_VALUES: return isSetNum_values(); case ENCODING: return isSetEncoding(); case IS_SORTED: return isSetIs_sorted(); } throw new IllegalStateException(); }
/** 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 java.lang.IllegalArgumentException(); } switch (field) { case NUM_VALUES: return isSetNum_values(); case ENCODING: return isSetEncoding(); case IS_SORTED: return isSetIs_sorted(); } throw new java.lang.IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetNum_values()).compareTo(other.isSetNum_values()); if (lastComparison != 0) { return lastComparison; if (isSetNum_values()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_values, other.num_values); if (lastComparison != 0) {
lastComparison = java.lang.Boolean.valueOf(isSetNum_values()).compareTo(other.isSetNum_values()); if (lastComparison != 0) { return lastComparison; if (isSetNum_values()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_values, other.num_values); if (lastComparison != 0) {
if (!struct.isSetNum_values()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'num_values' was not found in serialized data! Struct: " + toString());
if (!struct.isSetNum_values()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'num_values' was not found in serialized data! Struct: " + toString());