.withPageSize(getPageSize(conf)) .withDictionaryPageSize(getDictionaryPageSize(conf)) .withDictionaryEncoding(getEnableDictionary(conf)) .withWriterVersion(getWriterVersion(conf)) .estimateRowCountForPageSizeCheck(getEstimatePageSizeCheck(conf))
.withPageSize(getPageSize(conf)) .withDictionaryPageSize(getDictionaryPageSize(conf)) .withDictionaryEncoding(getEnableDictionary(conf)) .withWriterVersion(getWriterVersion(conf)) .estimateRowCountForPageSizeCheck(getEstimatePageSizeCheck(conf))
ParquetProperties parquetProperties = ParquetProperties.builder() .withPageSize(pageSize) .withDictionaryEncoding(enableDictionary) .withDictionaryPageSize(initialPageBufferSize) .withWriterVersion(writerVersion)
.withPageSize(pageSize) .withDictionaryPageSize(dictionaryPageSize) .withDictionaryEncoding(enableDictionary) .withWriterVersion(writerVersion) .build());
.withPageSize(pageSize) .withDictionaryPageSize(dictionaryPageSize) .withDictionaryEncoding(enableDictionary) .withWriterVersion(writerVersion) .build());
.withPageSize(pageSize) .withDictionaryPageSize(dictionaryPageSize) .withDictionaryEncoding(enableDictionary) .withWriterVersion(writerVersion) .build(); .withPageSize(pageSize) .withDictionaryPageSize(dictionaryPageSize) .withDictionaryEncoding(enableDictionary) .withWriterVersion(writerVersion) .build();
.withPageSize(pageSize) .withDictionaryPageSize(dictionaryPageSize) .withDictionaryEncoding(enableDictionary) .withWriterVersion(writerVersion) .build(); .withPageSize(pageSize) .withDictionaryPageSize(dictionaryPageSize) .withDictionaryEncoding(enableDictionary) .withWriterVersion(writerVersion) .build();
/** * Enable or disable dictionary encoding for the constructed writer. * * @param enableDictionary whether dictionary encoding should be enabled * @return this builder for method chaining. */ public SELF withDictionaryEncoding(boolean enableDictionary) { encodingPropsBuilder.withDictionaryEncoding(enableDictionary); return self(); }
/** * Enables dictionary encoding for the constructed writer. * * @return this builder for method chaining. */ public SELF enableDictionaryEncoding() { encodingPropsBuilder.withDictionaryEncoding(true); return self(); }
/** * Enables dictionary encoding for the constructed writer. * * @return this builder for method chaining. */ public SELF enableDictionaryEncoding() { encodingPropsBuilder.withDictionaryEncoding(true); return self(); }
/** * Enable or disable dictionary encoding for the constructed writer. * * @param enableDictionary whether dictionary encoding should be enabled * @return this builder for method chaining. */ public SELF withDictionaryEncoding(boolean enableDictionary) { encodingPropsBuilder.withDictionaryEncoding(enableDictionary); return self(); }