T - The type of element to write.@PublicEvolving public class OrcBulkWriterFactory<T> extends Object implements org.apache.flink.api.common.serialization.BulkWriter.Factory<T>
BulkWriter. The factory takes a user supplied Vectorizer implementation to convert the element into an VectorizedRowBatch.| Constructor and Description |
|---|
OrcBulkWriterFactory(Vectorizer<T> vectorizer)
Creates a new OrcBulkWriterFactory using the provided Vectorizer implementation.
|
OrcBulkWriterFactory(Vectorizer<T> vectorizer,
org.apache.hadoop.conf.Configuration configuration)
Creates a new OrcBulkWriterFactory using the provided Vectorizer, Hadoop Configuration.
|
OrcBulkWriterFactory(Vectorizer<T> vectorizer,
Properties writerProperties,
org.apache.hadoop.conf.Configuration configuration)
Creates a new OrcBulkWriterFactory using the provided Vectorizer, Hadoop Configuration, ORC
writer properties.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.serialization.BulkWriter<T> |
create(org.apache.flink.core.fs.FSDataOutputStream out) |
protected org.apache.orc.OrcFile.WriterOptions |
getWriterOptions() |
public OrcBulkWriterFactory(Vectorizer<T> vectorizer)
vectorizer - The vectorizer implementation to convert input record to a
VectorizerRowBatch.public OrcBulkWriterFactory(Vectorizer<T> vectorizer, org.apache.hadoop.conf.Configuration configuration)
vectorizer - The vectorizer implementation to convert input record to a
VectorizerRowBatch.public OrcBulkWriterFactory(Vectorizer<T> 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.flink.api.common.serialization.BulkWriter<T> create(org.apache.flink.core.fs.FSDataOutputStream out) throws IOException
create in interface org.apache.flink.api.common.serialization.BulkWriter.Factory<T>IOException@VisibleForTesting protected org.apache.orc.OrcFile.WriterOptions getWriterOptions()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.