/** * 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); } }
builder.append(num_rows); boolean present_encoding = true && (isSetEncoding()); builder.append(present_encoding); if (present_encoding)
/** 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(isSetEncoding()).compareTo(typedOther.isSetEncoding()); if (lastComparison != 0) { return lastComparison; if (isSetEncoding()) { lastComparison = TBaseHelper.compareTo(this.encoding, typedOther.encoding); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetEncoding()).compareTo(typedOther.isSetEncoding()); if (lastComparison != 0) { return lastComparison; if (isSetEncoding()) { lastComparison = TBaseHelper.compareTo(this.encoding, typedOther.encoding); if (lastComparison != 0) {
boolean this_present_encoding = true && this.isSetEncoding(); boolean that_present_encoding = true && that.isSetEncoding(); if (this_present_encoding || that_present_encoding) { if (!(this_present_encoding && that_present_encoding))
boolean this_present_encoding = true && this.isSetEncoding(); boolean that_present_encoding = true && that.isSetEncoding(); if (this_present_encoding || that_present_encoding) { if (!(this_present_encoding && that_present_encoding))
builder.append(num_rows); boolean present_encoding = true && (isSetEncoding()); builder.append(present_encoding); if (present_encoding)