public class OrcNoHiveBulkWriterFactory extends Object implements BulkWriter.Factory<RowData>
BulkWriter.Factory
from orc no-hive version.Constructor and Description |
---|
OrcNoHiveBulkWriterFactory(Configuration conf,
String schema,
LogicalType[] fieldTypes) |
Modifier and Type | Method and Description |
---|---|
BulkWriter<RowData> |
create(FSDataOutputStream out)
Creates a writer that writes to the given stream.
|
public OrcNoHiveBulkWriterFactory(Configuration conf, String schema, LogicalType[] fieldTypes)
public BulkWriter<RowData> create(FSDataOutputStream out) throws IOException
BulkWriter.Factory
create
in interface BulkWriter.Factory<RowData>
out
- The output stream to write the encoded data to.IOException
- Thrown if the writer cannot be opened, or if the output stream throws
an exception.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.