public static class ParquetProperties.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ParquetProperties |
build() |
ParquetProperties.Builder |
estimateRowCountForPageSizeCheck(boolean estimateNextSizeCheck) |
ParquetProperties.Builder |
withAllocator(ByteBufferAllocator allocator) |
ParquetProperties.Builder |
withDictionaryEncoding(boolean enableDictionary)
Enable or disable dictionary encoding.
|
ParquetProperties.Builder |
withDictionaryPageSize(int dictionaryPageSize)
Set the Parquet format dictionary page size.
|
ParquetProperties.Builder |
withMaxRowCountForPageSizeCheck(int max) |
ParquetProperties.Builder |
withMinRowCountForPageSizeCheck(int min) |
ParquetProperties.Builder |
withPageSize(int pageSize)
Set the Parquet format page size.
|
ParquetProperties.Builder |
withValuesWriterFactory(ValuesWriterFactory factory) |
ParquetProperties.Builder |
withWriterVersion(ParquetProperties.WriterVersion version)
Set the
format version. |
public ParquetProperties.Builder withPageSize(int pageSize)
pageSize - an integer size in bytespublic ParquetProperties.Builder withDictionaryEncoding(boolean enableDictionary)
enableDictionary - whether dictionary encoding should be enabledpublic ParquetProperties.Builder withDictionaryPageSize(int dictionaryPageSize)
dictionaryPageSize - an integer size in bytespublic ParquetProperties.Builder withWriterVersion(ParquetProperties.WriterVersion version)
format version.version - a WriterVersionpublic ParquetProperties.Builder withMinRowCountForPageSizeCheck(int min)
public ParquetProperties.Builder withMaxRowCountForPageSizeCheck(int max)
public ParquetProperties.Builder estimateRowCountForPageSizeCheck(boolean estimateNextSizeCheck)
public ParquetProperties.Builder withAllocator(ByteBufferAllocator allocator)
public ParquetProperties.Builder withValuesWriterFactory(ValuesWriterFactory factory)
public ParquetProperties build()
Copyright © 2019 The Apache Software Foundation. All rights reserved.