Class ExampleParquetWriter
java.lang.Object
org.apache.parquet.hadoop.ParquetWriter<org.apache.parquet.example.data.Group>
org.apache.parquet.hadoop.example.ExampleParquetWriter
- All Implemented Interfaces:
Closeable,AutoCloseable
An example file writer class.
THIS IS AN EXAMPLE ONLY AND NOT INTENDED FOR USE.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.parquet.hadoop.ParquetWriter
DEFAULT_BLOCK_SIZE, DEFAULT_COMPRESSION_CODEC_NAME, DEFAULT_IS_DICTIONARY_ENABLED, DEFAULT_IS_VALIDATING_ENABLED, DEFAULT_PAGE_SIZE, DEFAULT_WRITER_VERSION, MAX_PADDING_SIZE_DEFAULT, OBJECT_MODEL_NAME_PROP -
Method Summary
Modifier and TypeMethodDescriptionstatic ExampleParquetWriter.Builderbuilder()Creates a Builder without preconfigured Output File for configuring ParquetWriter with the example object model.static ExampleParquetWriter.Builderbuilder(org.apache.hadoop.fs.Path file) Creates a Builder for configuring ParquetWriter with the example object model.static ExampleParquetWriter.Builderbuilder(org.apache.parquet.io.OutputFile file) Creates a Builder for configuring ParquetWriter with the example object model.Methods inherited from class org.apache.parquet.hadoop.ParquetWriter
close, getDataSize, getFooter, write
-
Method Details
-
builder
Creates a Builder without preconfigured Output File for configuring ParquetWriter with the example object model. THIS IS AN EXAMPLE ONLY AND NOT INTENDED FOR USE.- Returns:
- a
ExampleParquetWriter.Builderto create aParquetWriter
-
builder
Creates a Builder for configuring ParquetWriter with the example object model. THIS IS AN EXAMPLE ONLY AND NOT INTENDED FOR USE.- Parameters:
file- the output file to create- Returns:
- a
ExampleParquetWriter.Builderto create aParquetWriter
-
builder
Creates a Builder for configuring ParquetWriter with the example object model. THIS IS AN EXAMPLE ONLY AND NOT INTENDED FOR USE.- Parameters:
file- the output file to create- Returns:
- a
ExampleParquetWriter.Builderto create aParquetWriter
-