/** 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 TYPE: return isSetType(); case UNCOMPRESSED_PAGE_SIZE: return isSetUncompressed_page_size(); case COMPRESSED_PAGE_SIZE: return isSetCompressed_page_size(); case CRC: return isSetCrc(); case DATA_PAGE_HEADER: return isSetData_page_header(); case INDEX_PAGE_HEADER: return isSetIndex_page_header(); case DICTIONARY_PAGE_HEADER: return isSetDictionary_page_header(); case DATA_PAGE_HEADER_V2: return isSetData_page_header_v2(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetCompressed_page_size()).compareTo(other.isSetCompressed_page_size()); if (lastComparison != 0) { return lastComparison; if (isSetCompressed_page_size()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compressed_page_size, other.compressed_page_size); if (lastComparison != 0) {
lastComparison = java.lang.Boolean.valueOf(isSetCompressed_page_size()).compareTo(other.isSetCompressed_page_size()); if (lastComparison != 0) { return lastComparison; if (isSetCompressed_page_size()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.compressed_page_size, other.compressed_page_size); 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 TYPE: return isSetType(); case UNCOMPRESSED_PAGE_SIZE: return isSetUncompressed_page_size(); case COMPRESSED_PAGE_SIZE: return isSetCompressed_page_size(); case CRC: return isSetCrc(); case DATA_PAGE_HEADER: return isSetData_page_header(); case INDEX_PAGE_HEADER: return isSetIndex_page_header(); case DICTIONARY_PAGE_HEADER: return isSetDictionary_page_header(); case DATA_PAGE_HEADER_V2: return isSetData_page_header_v2(); case BLOOM_FILTER_PAGE_HEADER: return isSetBloom_filter_page_header(); } throw new java.lang.IllegalStateException(); }
throw new org.apache.thrift.protocol.TProtocolException("Required field 'uncompressed_page_size' was not found in serialized data! Struct: " + toString()); if (!struct.isSetCompressed_page_size()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'compressed_page_size' was not found in serialized data! Struct: " + toString());
throw new org.apache.thrift.protocol.TProtocolException("Required field 'uncompressed_page_size' was not found in serialized data! Struct: " + toString()); if (!struct.isSetCompressed_page_size()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'compressed_page_size' was not found in serialized data! Struct: " + toString());