T- The type of record to write.
@FunctionalInterface public static interface BulkWriter.Factory<T> extends Serializable
|Modifier and Type||Method and Description|
Creates a writer that writes to the given stream.
BulkWriter<T> create(FSDataOutputStream out) throws IOException
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–2023 The Apache Software Foundation. All rights reserved.