public Statistics deepCopy() { return new Statistics(this); }
public Statistics deepCopy() { return new Statistics(this); }
/** * 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); } }
/** * Performs a deep copy on <i>other</i>. */ public DataPageHeader(DataPageHeader other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); this.num_values = other.num_values; if (other.isSetEncoding()) { this.encoding = other.encoding; } if (other.isSetDefinition_level_encoding()) { this.definition_level_encoding = other.definition_level_encoding; } if (other.isSetRepetition_level_encoding()) { this.repetition_level_encoding = other.repetition_level_encoding; } if (other.isSetStatistics()) { this.statistics = new Statistics(other.statistics); } }
/** * Performs a deep copy on <i>other</i>. */ public DataPageHeader(DataPageHeader other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); this.num_values = other.num_values; if (other.isSetEncoding()) { this.encoding = other.encoding; } if (other.isSetDefinition_level_encoding()) { this.definition_level_encoding = other.definition_level_encoding; } if (other.isSetRepetition_level_encoding()) { this.repetition_level_encoding = other.repetition_level_encoding; } if (other.isSetStatistics()) { this.statistics = new Statistics(other.statistics); } }
this.dictionary_page_offset = other.dictionary_page_offset; if (other.isSetStatistics()) { this.statistics = new Statistics(other.statistics);
this.dictionary_page_offset = other.dictionary_page_offset; if (other.isSetStatistics()) { this.statistics = new Statistics(other.statistics);
public static Statistics toParquetStatistics(parquet.column.statistics.Statistics statistics) { Statistics stats = new Statistics(); if (!statistics.isEmpty()) { stats.setNull_count(statistics.getNumNulls()); if(statistics.hasNonNullValue()) { stats.setMax(statistics.getMaxBytes()); stats.setMin(statistics.getMinBytes()); } } return stats; }
case 12: // STATISTICS if (field.type == TType.STRUCT) { this.statistics = new Statistics(); this.statistics.read(iprot); } else {
case 12: // STATISTICS if (field.type == TType.STRUCT) { this.statistics = new Statistics(); this.statistics.read(iprot); } else {
case 5: // STATISTICS if (field.type == TType.STRUCT) { this.statistics = new Statistics(); this.statistics.read(iprot); } else {
case 5: // STATISTICS if (field.type == TType.STRUCT) { this.statistics = new Statistics(); this.statistics.read(iprot); } else {
case 8: // STATISTICS if (field.type == TType.STRUCT) { this.statistics = new Statistics(); this.statistics.read(iprot); } else {
case 8: // STATISTICS if (field.type == TType.STRUCT) { this.statistics = new Statistics(); this.statistics.read(iprot); } else {