public static class FileSystemTableSink.ProjectionBulkFactory extends Object implements BulkWriter.Factory<RowData>
Constructor and Description |
---|
ProjectionBulkFactory(BulkWriter.Factory<RowData> factory,
RowDataPartitionComputer computer) |
Modifier and Type | Method and Description |
---|---|
BulkWriter<RowData> |
create(FSDataOutputStream out)
Creates a writer that writes to the given stream.
|
public ProjectionBulkFactory(BulkWriter.Factory<RowData> factory, RowDataPartitionComputer computer)
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.