public Statistics<?> build() { Statistics<?> stats = createStats(type); if (min != null && max != null) { stats.setMinMaxFromBytes(min, max); } stats.num_nulls = this.numNulls; return stats; } }
public Statistics<?> build() { Statistics<?> stats = createStats(type); if (min != null && max != null) { stats.setMinMaxFromBytes(min, max); } stats.num_nulls = this.numNulls; return stats; } }
private void resetStatistics() { this.statistics = Statistics.createStats(path.getPrimitiveType()); }
private void resetStatistics() { this.statistics = Statistics.createStats(this.path.getPrimitiveType()); }
private void resetStatistics() { this.statistics = Statistics.createStats(path.getPrimitiveType()); }
private ColumnChunkPageWriter(ColumnDescriptor path, BytesCompressor compressor, int initialSlabSize, int maxCapacityHint, ByteBufferAllocator allocator) { this.path = path; this.compressor = compressor; this.buf = new CapacityByteArrayOutputStream(initialSlabSize, maxCapacityHint, allocator); this.totalStatistics = Statistics.createStats(this.path.getPrimitiveType()); }