list.add(num_rows); boolean present_encoding = true && (isSetEncoding()); list.add(present_encoding); if (present_encoding)
/** * Performs a deep copy on <i>other</i>. */ public DataPageHeaderV2(DataPageHeaderV2 other) { __isset_bitfield = other.__isset_bitfield; 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_bitfield = other.__isset_bitfield; 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); } }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + num_values; hashCode = hashCode * 8191 + num_nulls; hashCode = hashCode * 8191 + num_rows; hashCode = hashCode * 8191 + ((isSetEncoding()) ? 131071 : 524287); if (isSetEncoding()) hashCode = hashCode * 8191 + encoding.getValue(); hashCode = hashCode * 8191 + definition_levels_byte_length; hashCode = hashCode * 8191 + repetition_levels_byte_length; hashCode = hashCode * 8191 + ((isSetIs_compressed()) ? 131071 : 524287); if (isSetIs_compressed()) hashCode = hashCode * 8191 + ((is_compressed) ? 131071 : 524287); hashCode = hashCode * 8191 + ((isSetStatistics()) ? 131071 : 524287); if (isSetStatistics()) hashCode = hashCode * 8191 + statistics.hashCode(); return hashCode; }
/** 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 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 assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.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 java.lang.IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetEncoding()).compareTo(other.isSetEncoding()); if (lastComparison != 0) { return lastComparison; if (isSetEncoding()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.encoding, other.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))
lastComparison = java.lang.Boolean.valueOf(isSetEncoding()).compareTo(other.isSetEncoding()); if (lastComparison != 0) { return lastComparison; if (isSetEncoding()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.encoding, other.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))