public interface ReaderFactory<T extends SchemaNegotiator>
The reader itself is unique to each file type. This interface provides a common interface that this framework can use to create the file-specific reader on demand.
Also manages opening the reader using a scan-specific schema negotiator.
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
ManagedReader |
next(T negotiator) |
boolean hasNext()
ManagedReader next(T negotiator) throws ManagedReader.EarlyEofException
ManagedReader.EarlyEofException
Copyright © 1970 The Apache Software Foundation. All rights reserved.