/** 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 VERSION: return isSetVersion(); case SCHEMA: return isSetSchema(); case NUM_ROWS: return isSetNum_rows(); case ROW_GROUPS: return isSetRow_groups(); case KEY_VALUE_METADATA: return isSetKey_value_metadata(); case CREATED_BY: return isSetCreated_by(); case COLUMN_ORDERS: return isSetColumn_orders(); } throw new java.lang.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 IllegalArgumentException(); } switch (field) { case VERSION: return isSetVersion(); case SCHEMA: return isSetSchema(); case NUM_ROWS: return isSetNum_rows(); case ROW_GROUPS: return isSetRow_groups(); case KEY_VALUE_METADATA: return isSetKey_value_metadata(); case CREATED_BY: return isSetCreated_by(); case COLUMN_ORDERS: return isSetColumn_orders(); } throw new IllegalStateException(); }
lastComparison = java.lang.Boolean.valueOf(isSetNum_rows()).compareTo(other.isSetNum_rows()); if (lastComparison != 0) { return lastComparison; if (isSetNum_rows()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_rows, other.num_rows); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetNum_rows()).compareTo(other.isSetNum_rows()); if (lastComparison != 0) { return lastComparison; if (isSetNum_rows()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.num_rows, other.num_rows); if (lastComparison != 0) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'version' was not found in serialized data! Struct: " + toString()); if (!struct.isSetNum_rows()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'num_rows' was not found in serialized data! Struct: " + toString());
throw new org.apache.thrift.protocol.TProtocolException("Required field 'version' was not found in serialized data! Struct: " + toString()); if (!struct.isSetNum_rows()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'num_rows' was not found in serialized data! Struct: " + toString());