builder.append(dictionary_page_header); boolean present_data_page_header_v2 = true && (isSetData_page_header_v2()); builder.append(present_data_page_header_v2); if (present_data_page_header_v2)
if (isSetData_page_header_v2()) { if (!first) sb.append(", "); sb.append("data_page_header_v2:");
if (isSetData_page_header_v2()) { if (!first) sb.append(", "); sb.append("data_page_header_v2:");
/** 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(isSetData_page_header_v2()).compareTo(typedOther.isSetData_page_header_v2()); if (lastComparison != 0) { return lastComparison; if (isSetData_page_header_v2()) { lastComparison = TBaseHelper.compareTo(this.data_page_header_v2, typedOther.data_page_header_v2); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetData_page_header_v2()).compareTo(typedOther.isSetData_page_header_v2()); if (lastComparison != 0) { return lastComparison; if (isSetData_page_header_v2()) { lastComparison = TBaseHelper.compareTo(this.data_page_header_v2, typedOther.data_page_header_v2); 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_data_page_header_v2 = true && this.isSetData_page_header_v2(); boolean that_present_data_page_header_v2 = true && that.isSetData_page_header_v2(); if (this_present_data_page_header_v2 || that_present_data_page_header_v2) { if (!(this_present_data_page_header_v2 && that_present_data_page_header_v2))
boolean this_present_data_page_header_v2 = true && this.isSetData_page_header_v2(); boolean that_present_data_page_header_v2 = true && that.isSetData_page_header_v2(); if (this_present_data_page_header_v2 || that_present_data_page_header_v2) { if (!(this_present_data_page_header_v2 && that_present_data_page_header_v2))
builder.append(dictionary_page_header); boolean present_data_page_header_v2 = true && (isSetData_page_header_v2()); builder.append(present_data_page_header_v2); if (present_data_page_header_v2)
if (isSetData_page_header_v2()) { oprot.writeFieldBegin(DATA_PAGE_HEADER_V2_FIELD_DESC); this.data_page_header_v2.write(oprot);
if (isSetData_page_header_v2()) { oprot.writeFieldBegin(DATA_PAGE_HEADER_V2_FIELD_DESC); this.data_page_header_v2.write(oprot);