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.Context
public Path filePath()
filePath
in interface FormatReaderFactory.Context
public long fileSize()
fileSize
in interface FormatReaderFactory.Context
public FileIndexResult fileIndex()
fileIndex
in interface FormatReaderFactory.Context
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.