public static final class ParquetFileOutput.Options extends Object
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
int |
getBlockSize()
Returns the block size (in bytes).
|
org.apache.parquet.hadoop.metadata.CompressionCodecName |
getCompressionCodecName()
Returns the compression codec name.
|
int |
getDataPageSize()
Returns the data page size (in bytes).
|
int |
getDictionaryPageSize()
Returns the dictionary page size (in bytes).
|
org.apache.parquet.column.ParquetProperties.WriterVersion |
getWriterVersion()
Returns the writer version.
|
boolean |
isEnableDictionary()
Returns whether the dictionary is enabled or not.
|
boolean |
isEnableValidation()
Returns whether the schema validation is enabled or not.
|
void |
setBlockSize(int value)
Sets the block size (in bytes).
|
void |
setCompressionCodecName(org.apache.parquet.hadoop.metadata.CompressionCodecName value)
Sets the compression codec name.
|
void |
setDataPageSize(int value)
Sets the data page size (in bytes).
|
void |
setDictionaryPageSize(int value)
Sets the dictionary page size (in bytes).
|
void |
setEnableDictionary(boolean value)
Sets whether the dictionary is enabled or not.
|
void |
setEnableValidation(boolean value)
Sets whether the schema validation is enabled or not.
|
void |
setWriterVersion(org.apache.parquet.column.ParquetProperties.WriterVersion value)
Sets the writer version.
|
public org.apache.parquet.hadoop.metadata.CompressionCodecName getCompressionCodecName()
public void setCompressionCodecName(org.apache.parquet.hadoop.metadata.CompressionCodecName value)
value
- the valuepublic int getBlockSize()
public void setBlockSize(int value)
value
- the valuepublic int getDataPageSize()
public void setDataPageSize(int value)
value
- the valuepublic int getDictionaryPageSize()
public void setDictionaryPageSize(int value)
value
- the valuepublic boolean isEnableDictionary()
true
if enabled, otherwise false
public void setEnableDictionary(boolean value)
value
- the valuepublic boolean isEnableValidation()
true
if enabled, otherwise false
public void setEnableValidation(boolean value)
value
- the valuepublic org.apache.parquet.column.ParquetProperties.WriterVersion getWriterVersion()
public void setWriterVersion(org.apache.parquet.column.ParquetProperties.WriterVersion value)
value
- the valueCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.