Class ExampleParquetWriter
- java.lang.Object
-
- org.apache.parquet.hadoop.ParquetWriter<Group>
-
- org.apache.parquet.hadoop.example.ExampleParquetWriter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ExampleParquetWriter extends ParquetWriter<Group>
An example file writer class. THIS IS AN EXAMPLE ONLY AND NOT INTENDED FOR USE.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExampleParquetWriter.Builder
-
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExampleParquetWriter.Builder
builder(org.apache.hadoop.fs.Path file)
Creates a Builder for configuring ParquetWriter with the example object model.static ExampleParquetWriter.Builder
builder(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 Detail
-
builder
public static ExampleParquetWriter.Builder builder(org.apache.hadoop.fs.Path file)
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.Builder
to create aParquetWriter
-
builder
public static ExampleParquetWriter.Builder builder(OutputFile file)
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.Builder
to create aParquetWriter
-
-