public interface FormatWriterFactory
FormatWriter
for file.Modifier and Type | Method and Description |
---|---|
FormatWriter |
create(PositionOutputStream out,
String compression)
Creates a writer that writes to the given stream.
|
FormatWriter create(PositionOutputStream out, String compression) throws IOException
out
- The output stream to write the encoded data to.compression
- the compression value.IOException
- Thrown if the writer cannot be opened, or if the output stream throws an
exception.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.