LocalInputFile
struct LocalInputFileA readable file at an ordinary filesystem path.
Implements Copyable, Movable
- Fields
path: String
location
def location(self) -> String exists
def exists(self) -> Bool length
def length(self) -> Int read_all
def read_all(self) -> List[UInt8] read_range
def read_range(self, offset: Int, length: Int) -> List[UInt8] length bytes from offset; a short read at EOF is not an error.
A negative offset counts back from the end, the way an HTTP suffix
range does — which is how a Parquet reader asks for a footer.