Package org.apache.flink.formats.parquet
Interface ParquetBuilder<T>
-
- Type Parameters:
T
- The type of elements written by the writer.
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ParquetRowDataBuilder.FlinkParquetBuilder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ParquetBuilder<T> extends Serializable
A builder to create aParquetWriter
from a ParquetOutputFile
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.parquet.hadoop.ParquetWriter<T>
createWriter(org.apache.parquet.io.OutputFile out)
Creates and configures a parquet writer to the given output file.
-
-
-
Method Detail
-
createWriter
org.apache.parquet.hadoop.ParquetWriter<T> createWriter(org.apache.parquet.io.OutputFile out) throws IOException
Creates and configures a parquet writer to the given output file.- Throws:
IOException
-
-