T - The type of record to write.@FunctionalInterface public static interface BulkWriter.Factory<T> extends Serializable
BulkWriter.| Modifier and Type | Method and Description |
|---|---|
BulkWriter<T> |
create(FSDataOutputStream out)
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–2018 The Apache Software Foundation. All rights reserved.