T - The type of record to write.@PublicEvolving public class ParquetWriterFactory<T> extends Object implements org.apache.flink.api.common.serialization.BulkWriter.Factory<T>
BulkWriter. The factory takes a user-supplied builder to
assemble Parquet's writer and then turns it into a Flink BulkWriter.| 构造器和说明 |
|---|
ParquetWriterFactory(ParquetBuilder<T> writerBuilder)
Creates a new ParquetWriterFactory using the given builder to assemble the ParquetWriter.
|
public ParquetWriterFactory(ParquetBuilder<T> writerBuilder)
writerBuilder - The builder to construct the ParquetWriter.public org.apache.flink.api.common.serialization.BulkWriter<T> create(org.apache.flink.core.fs.FSDataOutputStream stream) throws IOException
create 在接口中 org.apache.flink.api.common.serialization.BulkWriter.Factory<T>IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.