Uses of Class
org.apache.parquet.column.ParquetProperties.Builder
Packages that use ParquetProperties.Builder
-
Uses of ParquetProperties.Builder in org.apache.parquet.column
Methods in org.apache.parquet.column that return ParquetProperties.BuilderModifier and TypeMethodDescriptionstatic ParquetProperties.BuilderParquetProperties.builder()static ParquetProperties.BuilderParquetProperties.copy(ParquetProperties toCopy) ParquetProperties.Builder.estimateRowCountForPageSizeCheck(boolean estimateNextSizeCheck) ParquetProperties.Builder.withAdaptiveBloomFilterEnabled(boolean enabled) Whether to use adaptive bloom filter to automatically adjust the bloom filter size according to `parquet.bloom.filter.max.bytes`.ParquetProperties.Builder.withAllocator(org.apache.parquet.bytes.ByteBufferAllocator allocator) ParquetProperties.Builder.withBloomFilterCandidatesNumber(String columnPath, int number) When `AdaptiveBloomFilter` is enabled, set how many bloom filter candidates to use.ParquetProperties.Builder.withBloomFilterEnabled(boolean enabled) Enable or disable the bloom filter for the columns not specified bywithBloomFilterEnabled(String, boolean).ParquetProperties.Builder.withBloomFilterEnabled(String columnPath, boolean enabled) Enable or disable the bloom filter for the specified column.ParquetProperties.Builder.withBloomFilterFPP(String columnPath, double fpp) ParquetProperties.Builder.withBloomFilterNDV(String columnPath, long ndv) Set Bloom filter NDV (number of distinct values) for the specified column.ParquetProperties.Builder.withByteStreamSplitEncoding(boolean enable) Enable or disable BYTE_STREAM_SPLIT encoding for FLOAT and DOUBLE columns.ParquetProperties.Builder.withByteStreamSplitEncoding(String columnPath, boolean enable) Enable or disable BYTE_STREAM_SPLIT encoding for specified columns.ParquetProperties.Builder.withColumnIndexTruncateLength(int length) ParquetProperties.Builder.withCompressionCodec(String columnPath, org.apache.parquet.hadoop.metadata.CompressionCodecName codec) Set the compression codec for the specified column.ParquetProperties.Builder.withCompressionLevel(String columnPath, Integer level) Set the compression level for the specified column.ParquetProperties.Builder.withDictionaryEncoding(boolean enableDictionary) Enable or disable dictionary encoding.ParquetProperties.Builder.withDictionaryEncoding(String columnPath, boolean enableDictionary) Enable or disable dictionary encoding for the specified column.ParquetProperties.Builder.withDictionaryPageSize(int dictionaryPageSize) Set the Parquet format dictionary page size.ParquetProperties.Builder.withExtendedByteStreamSplitEncoding(boolean enable) Enable or disable BYTE_STREAM_SPLIT encoding for FLOAT, DOUBLE, INT32, INT64 and FIXED_LEN_BYTE_ARRAY columns.ParquetProperties.Builder.withExtraMetaData(Map<String, String> extraMetaData) ParquetProperties.Builder.withMaxBloomFilterBytes(int maxBloomFilterBytes) Set max Bloom filter bytes for related columns.ParquetProperties.Builder.withMaxRowCountForPageSizeCheck(int max) ParquetProperties.Builder.withMinRowCountForPageSizeCheck(int min) ParquetProperties.Builder.withPageRowCountLimit(int rowCount) ParquetProperties.Builder.withPageSize(int pageSize) Set the Parquet format page size.ParquetProperties.Builder.withPageValueCountThreshold(int value) ParquetProperties.Builder.withPageWriteChecksumEnabled(boolean val) ParquetProperties.Builder.withRowGroupRowCountLimit(int rowCount) ParquetProperties.Builder.withSizeStatisticsEnabled(boolean enabled) Sets whether size statistics are enabled globally.ParquetProperties.Builder.withSizeStatisticsEnabled(String columnPath, boolean enabled) Sets the size statistics enabled/disabled for the specified column.ParquetProperties.Builder.withStatisticsEnabled(boolean enabled) ParquetProperties.Builder.withStatisticsEnabled(String columnPath, boolean enabled) Enable or disable the statistics for given column.ParquetProperties.Builder.withStatisticsTruncateLength(int length) ParquetProperties.Builder.withValuesWriterFactory(ValuesWriterFactory factory) ParquetProperties.Builder.withWriterVersion(ParquetProperties.WriterVersion version) Set theformat version.