public class OrcWriterFactory extends Object implements org.apache.paimon.format.FormatWriterFactory
FormatWriter. The factory takes a user supplied Vectorizer implementation to convert the element into an VectorizedRowBatch.| 构造器和说明 |
|---|
OrcWriterFactory(Vectorizer<org.apache.paimon.data.InternalRow> vectorizer)
Creates a new OrcBulkWriterFactory using the provided Vectorizer implementation.
|
OrcWriterFactory(Vectorizer<org.apache.paimon.data.InternalRow> vectorizer,
org.apache.hadoop.conf.Configuration configuration)
Creates a new OrcBulkWriterFactory using the provided Vectorizer, Hadoop Configuration.
|
OrcWriterFactory(Vectorizer<org.apache.paimon.data.InternalRow> vectorizer,
Properties writerProperties,
org.apache.hadoop.conf.Configuration configuration)
Creates a new OrcBulkWriterFactory using the provided Vectorizer, Hadoop Configuration, ORC
writer properties.
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.paimon.format.FormatWriter |
create(org.apache.paimon.fs.PositionOutputStream out,
String compression) |
protected OrcFile.WriterOptions |
getWriterOptions() |
public OrcWriterFactory(Vectorizer<org.apache.paimon.data.InternalRow> vectorizer)
vectorizer - The vectorizer implementation to convert input record to a
VectorizerRowBatch.public OrcWriterFactory(Vectorizer<org.apache.paimon.data.InternalRow> vectorizer, org.apache.hadoop.conf.Configuration configuration)
vectorizer - The vectorizer implementation to convert input record to a
VectorizerRowBatch.public OrcWriterFactory(Vectorizer<org.apache.paimon.data.InternalRow> vectorizer, Properties writerProperties, org.apache.hadoop.conf.Configuration configuration)
vectorizer - The vectorizer implementation to convert input record to a
VectorizerRowBatch.writerProperties - Properties that can be used in ORC WriterOptions.public org.apache.paimon.format.FormatWriter create(org.apache.paimon.fs.PositionOutputStream out,
String compression)
throws IOException
create 在接口中 org.apache.paimon.format.FormatWriterFactoryIOException@VisibleForTesting protected OrcFile.WriterOptions getWriterOptions()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.