Package org.apache.parquet
Class ParquetReadOptions.Builder
java.lang.Object
org.apache.parquet.ParquetReadOptions.Builder
- Direct Known Subclasses:
HadoopReadOptions.Builder
- Enclosing class:
- ParquetReadOptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.parquet.bytes.ByteBufferAllocatorprotected org.apache.parquet.compression.CompressionCodecFactoryprotected org.apache.parquet.conf.ParquetConfigurationprotected FileDecryptionPropertiesprotected intprotected ParquetMetadataConverter.MetadataFilterprotected ParquetMetricsCallbackprotected org.apache.parquet.filter2.compat.FilterCompat.Filterprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()copy(ParquetReadOptions options) useBloomFilter(boolean useBloomFilter) useColumnIndexFilter(boolean useColumnIndexFilter) useDictionaryFilter(boolean useDictionaryFilter) useOffHeapDecryptBuffer(boolean useOffHeapDecryptBuffer) usePageChecksumVerification(boolean usePageChecksumVerification) useRecordFilter(boolean useRecordFilter) useSignedStringMinMax(boolean useSignedStringMinMax) useStatsFilter(boolean useStatsFilter) withAllocator(org.apache.parquet.bytes.ByteBufferAllocator allocator) withCodecFactory(org.apache.parquet.compression.CompressionCodecFactory codecFactory) withDecryption(FileDecryptionProperties fileDecryptionProperties) withMaxAllocationInBytes(int allocationSizeInBytes) withMetadataFilter(ParquetMetadataConverter.MetadataFilter metadataFilter) withMetricsCallback(ParquetMetricsCallback metricsCallback) withOffsets(long... rowGroupOffsets) withPageChecksumVerification(boolean val) withRange(long start, long end) withRecordFilter(org.apache.parquet.filter2.compat.FilterCompat.Filter rowGroupFilter) withUseHadoopVectoredIo(boolean useHadoopVectoredIo)
-
Field Details
-
useSignedStringMinMax
protected boolean useSignedStringMinMax -
useStatsFilter
protected boolean useStatsFilter -
useDictionaryFilter
protected boolean useDictionaryFilter -
useRecordFilter
protected boolean useRecordFilter -
useHadoopVectoredIo
protected boolean useHadoopVectoredIo -
useColumnIndexFilter
protected boolean useColumnIndexFilter -
usePageChecksumVerification
protected boolean usePageChecksumVerification -
useBloomFilter
protected boolean useBloomFilter -
useOffHeapDecryptBuffer
protected boolean useOffHeapDecryptBuffer -
recordFilter
protected org.apache.parquet.filter2.compat.FilterCompat.Filter recordFilter -
metadataFilter
-
codecFactory
protected org.apache.parquet.compression.CompressionCodecFactory codecFactory -
allocator
protected org.apache.parquet.bytes.ByteBufferAllocator allocator -
maxAllocationSize
protected int maxAllocationSize -
properties
-
fileDecryptionProperties
-
conf
protected org.apache.parquet.conf.ParquetConfiguration conf -
metricsCallback
-
-
Constructor Details
-
Builder
public Builder() -
Builder
public Builder(org.apache.parquet.conf.ParquetConfiguration conf)
-
-
Method Details
-
useSignedStringMinMax
-
useSignedStringMinMax
-
useStatsFilter
-
useStatsFilter
-
useDictionaryFilter
-
useDictionaryFilter
-
useRecordFilter
-
useRecordFilter
-
withUseHadoopVectoredIo
-
useColumnIndexFilter
-
useColumnIndexFilter
-
usePageChecksumVerification
-
usePageChecksumVerification
-
useBloomFilter
-
useOffHeapDecryptBuffer
-
useOffHeapDecryptBuffer
-
useBloomFilter
-
withRecordFilter
public ParquetReadOptions.Builder withRecordFilter(org.apache.parquet.filter2.compat.FilterCompat.Filter rowGroupFilter) -
withRange
-
withOffsets
-
withMetadataFilter
public ParquetReadOptions.Builder withMetadataFilter(ParquetMetadataConverter.MetadataFilter metadataFilter) -
withCodecFactory
public ParquetReadOptions.Builder withCodecFactory(org.apache.parquet.compression.CompressionCodecFactory codecFactory) -
withAllocator
public ParquetReadOptions.Builder withAllocator(org.apache.parquet.bytes.ByteBufferAllocator allocator) -
withMaxAllocationInBytes
-
withPageChecksumVerification
-
withDecryption
-
withMetricsCallback
-
set
-
copy
-
build
-