/** * Performs a deep copy on <i>other</i>. */ public DataPageHeaderV2(DataPageHeaderV2 other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); this.num_values = other.num_values; this.num_nulls = other.num_nulls; this.num_rows = other.num_rows; if (other.isSetEncoding()) { this.encoding = other.encoding; } this.definition_levels_byte_length = other.definition_levels_byte_length; this.repetition_levels_byte_length = other.repetition_levels_byte_length; this.is_compressed = other.is_compressed; if (other.isSetStatistics()) { this.statistics = new Statistics(other.statistics); } }
/** * Performs a deep copy on <i>other</i>. */ public DataPageHeaderV2(DataPageHeaderV2 other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); this.num_values = other.num_values; this.num_nulls = other.num_nulls; this.num_rows = other.num_rows; if (other.isSetEncoding()) { this.encoding = other.encoding; } this.definition_levels_byte_length = other.definition_levels_byte_length; this.repetition_levels_byte_length = other.repetition_levels_byte_length; this.is_compressed = other.is_compressed; if (other.isSetStatistics()) { this.statistics = new Statistics(other.statistics); } }
first = false; if (isSetStatistics()) { if (!first) sb.append(", "); sb.append("statistics:");
first = false; if (isSetStatistics()) { if (!first) sb.append(", "); sb.append("statistics:");
builder.append(is_compressed); boolean present_statistics = true && (isSetStatistics()); builder.append(present_statistics); if (present_statistics)
/** 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 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(); }
/** 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 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(isSetStatistics()).compareTo(typedOther.isSetStatistics()); if (lastComparison != 0) { return lastComparison; if (isSetStatistics()) { lastComparison = TBaseHelper.compareTo(this.statistics, typedOther.statistics); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetStatistics()).compareTo(typedOther.isSetStatistics()); if (lastComparison != 0) { return lastComparison; if (isSetStatistics()) { lastComparison = TBaseHelper.compareTo(this.statistics, typedOther.statistics); if (lastComparison != 0) {
boolean this_present_statistics = true && this.isSetStatistics(); boolean that_present_statistics = true && that.isSetStatistics(); if (this_present_statistics || that_present_statistics) { if (!(this_present_statistics && that_present_statistics))
boolean this_present_statistics = true && this.isSetStatistics(); boolean that_present_statistics = true && that.isSetStatistics(); if (this_present_statistics || that_present_statistics) { if (!(this_present_statistics && that_present_statistics))
builder.append(is_compressed); boolean present_statistics = true && (isSetStatistics()); builder.append(present_statistics); if (present_statistics)
if (isSetStatistics()) { oprot.writeFieldBegin(STATISTICS_FIELD_DESC); this.statistics.write(oprot);
if (isSetStatistics()) { oprot.writeFieldBegin(STATISTICS_FIELD_DESC); this.statistics.write(oprot);