public static class InputFormatBasedReader.Factory<T> extends Object implements RecordWiseFileCompactor.Reader.Factory<T>
InputFormatBasedReader
.Constructor and Description |
---|
Factory(SerializableSupplierWithException<FileInputFormat<T>,IOException> inputFormatFactory) |
public Factory(SerializableSupplierWithException<FileInputFormat<T>,IOException> inputFormatFactory)
public InputFormatBasedReader<T> createFor(Path path) throws IOException
createFor
in interface RecordWiseFileCompactor.Reader.Factory<T>
IOException
- Thrown if an I/O error occurs when opening the file.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.