public class FormatReaderContext extends Object implements FormatReaderFactory.Context
RecordReader.| Constructor and Description |
|---|
FormatReaderContext(FileIO fileIO,
Path file,
long fileSize) |
FormatReaderContext(FileIO fileIO,
Path file,
long fileSize,
FileIndexResult fileIndexResult) |
| Modifier and Type | Method and Description |
|---|---|
FileIndexResult |
fileIndex() |
FileIO |
fileIO() |
Path |
filePath() |
long |
fileSize() |
public FormatReaderContext(FileIO fileIO, Path file, long fileSize, @Nullable FileIndexResult fileIndexResult)
public FileIO fileIO()
fileIO in interface FormatReaderFactory.Contextpublic Path filePath()
filePath in interface FormatReaderFactory.Contextpublic long fileSize()
fileSize in interface FormatReaderFactory.Context@Nullable public FileIndexResult fileIndex()
fileIndex in interface FormatReaderFactory.ContextCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.