/** 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 NUM_NULLS: return isSetNum_nulls(); case NUM_ROWS: return isSetNum_rows(); case ENCODING: return isSetEncoding(); case DEFINITION_LEVELS_BYTE_LENGTH: return isSetDefinition_levels_byte_length(); case REPETITION_LEVELS_BYTE_LENGTH: return isSetRepetition_levels_byte_length(); case IS_COMPRESSED: return isSetIs_compressed(); case STATISTICS: return isSetStatistics(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetDefinition_levels_byte_length()).compareTo(other.isSetDefinition_levels_byte_length()); if (lastComparison != 0) { return lastComparison; if (isSetDefinition_levels_byte_length()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.definition_levels_byte_length, other.definition_levels_byte_length); 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 java.lang.IllegalArgumentException(); } switch (field) { case NUM_VALUES: return isSetNum_values(); case NUM_NULLS: return isSetNum_nulls(); case NUM_ROWS: return isSetNum_rows(); case ENCODING: return isSetEncoding(); case DEFINITION_LEVELS_BYTE_LENGTH: return isSetDefinition_levels_byte_length(); case REPETITION_LEVELS_BYTE_LENGTH: return isSetRepetition_levels_byte_length(); case IS_COMPRESSED: return isSetIs_compressed(); case STATISTICS: return isSetStatistics(); } throw new java.lang.IllegalStateException(); }
lastComparison = java.lang.Boolean.valueOf(isSetDefinition_levels_byte_length()).compareTo(other.isSetDefinition_levels_byte_length()); if (lastComparison != 0) { return lastComparison; if (isSetDefinition_levels_byte_length()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.definition_levels_byte_length, other.definition_levels_byte_length); if (lastComparison != 0) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'num_rows' was not found in serialized data! Struct: " + toString()); if (!struct.isSetDefinition_levels_byte_length()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'definition_levels_byte_length' was not found in serialized data! Struct: " + toString());
throw new org.apache.thrift.protocol.TProtocolException("Required field 'num_rows' was not found in serialized data! Struct: " + toString()); if (!struct.isSetDefinition_levels_byte_length()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'definition_levels_byte_length' was not found in serialized data! Struct: " + toString());