T - Type of event that can be appended to the FileWriter created by this factory.P - Type of partition.protected static interface PartitionedFileWriter.PartitionedFileWriterFactory<T,P>
| Modifier and Type | Method and Description |
|---|---|
FileWriter<T> |
create(P partition)
Creates a
FileWriter for writing event of type T for the given partition. |
FileWriter<T> create(P partition) throws IOException
FileWriter for writing event of type T for the given partition.partition - Partition information.FileWriter.IOException - If creation failed.Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.