builder.append(index_page_header); boolean present_dictionary_page_header = true && (isSetDictionary_page_header()); builder.append(present_dictionary_page_header); if (present_dictionary_page_header)
if (isSetDictionary_page_header()) { if (!first) sb.append(", "); sb.append("dictionary_page_header:");
if (isSetDictionary_page_header()) { if (!first) sb.append(", "); sb.append("dictionary_page_header:");
/** Returns true if field corresponding to fieldID is set (has been asigned 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(); }
/** Returns true if field corresponding to fieldID is set (has been asigned 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(isSetDictionary_page_header()).compareTo(typedOther.isSetDictionary_page_header()); if (lastComparison != 0) { return lastComparison; if (isSetDictionary_page_header()) { lastComparison = TBaseHelper.compareTo(this.dictionary_page_header, typedOther.dictionary_page_header); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetDictionary_page_header()).compareTo(typedOther.isSetDictionary_page_header()); if (lastComparison != 0) { return lastComparison; if (isSetDictionary_page_header()) { lastComparison = TBaseHelper.compareTo(this.dictionary_page_header, typedOther.dictionary_page_header); if (lastComparison != 0) {
/** * Performs a deep copy on <i>other</i>. */ public PageHeader(PageHeader other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetType()) { this.type = other.type; } this.uncompressed_page_size = other.uncompressed_page_size; this.compressed_page_size = other.compressed_page_size; this.crc = other.crc; if (other.isSetData_page_header()) { this.data_page_header = new DataPageHeader(other.data_page_header); } if (other.isSetIndex_page_header()) { this.index_page_header = new IndexPageHeader(other.index_page_header); } if (other.isSetDictionary_page_header()) { this.dictionary_page_header = new DictionaryPageHeader(other.dictionary_page_header); } if (other.isSetData_page_header_v2()) { this.data_page_header_v2 = new DataPageHeaderV2(other.data_page_header_v2); } }
/** * Performs a deep copy on <i>other</i>. */ public PageHeader(PageHeader other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetType()) { this.type = other.type; } this.uncompressed_page_size = other.uncompressed_page_size; this.compressed_page_size = other.compressed_page_size; this.crc = other.crc; if (other.isSetData_page_header()) { this.data_page_header = new DataPageHeader(other.data_page_header); } if (other.isSetIndex_page_header()) { this.index_page_header = new IndexPageHeader(other.index_page_header); } if (other.isSetDictionary_page_header()) { this.dictionary_page_header = new DictionaryPageHeader(other.dictionary_page_header); } if (other.isSetData_page_header_v2()) { this.data_page_header_v2 = new DataPageHeaderV2(other.data_page_header_v2); } }
boolean this_present_dictionary_page_header = true && this.isSetDictionary_page_header(); boolean that_present_dictionary_page_header = true && that.isSetDictionary_page_header(); if (this_present_dictionary_page_header || that_present_dictionary_page_header) { if (!(this_present_dictionary_page_header && that_present_dictionary_page_header))
boolean this_present_dictionary_page_header = true && this.isSetDictionary_page_header(); boolean that_present_dictionary_page_header = true && that.isSetDictionary_page_header(); if (this_present_dictionary_page_header || that_present_dictionary_page_header) { if (!(this_present_dictionary_page_header && that_present_dictionary_page_header))
builder.append(index_page_header); boolean present_dictionary_page_header = true && (isSetDictionary_page_header()); builder.append(present_dictionary_page_header); if (present_dictionary_page_header)
if (isSetDictionary_page_header()) { oprot.writeFieldBegin(DICTIONARY_PAGE_HEADER_FIELD_DESC); this.dictionary_page_header.write(oprot);
if (isSetDictionary_page_header()) { oprot.writeFieldBegin(DICTIONARY_PAGE_HEADER_FIELD_DESC); this.dictionary_page_header.write(oprot);