Package io.delta.kernel.engine
Class FileReadResult
Object
io.delta.kernel.engine.FileReadResult
The result of reading a batch of data in a file.
Encapsulates both the data read (as a ColumnarBatch) and the full path of the file
from which the data was read.
-
Constructor Summary
ConstructorsConstructorDescriptionFileReadResult(ColumnarBatch data, String filePath) Constructs aFileReadResultobject with the given data and file path. -
Method Summary
-
Constructor Details
-
FileReadResult
Constructs aFileReadResultobject with the given data and file path.- Parameters:
data- the columnar batch of data read from the filefilePath- the path of the file from which the data was read
-
-
Method Details
-
getData
- Returns:
ColumnarBatchof data that was read from the file.
-
getFilePath
- Returns:
- the path of the file that this data was read from.
-