Class FileReadResult

Object
io.delta.kernel.engine.FileReadResult

public class FileReadResult extends Object
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 Details

    • FileReadResult

      public FileReadResult(ColumnarBatch data, String filePath)
      Constructs a FileReadResult object with the given data and file path.
      Parameters:
      data - the columnar batch of data read from the file
      filePath - the path of the file from which the data was read
  • Method Details

    • getData

      public ColumnarBatch getData()
      Returns:
      ColumnarBatch of data that was read from the file.
    • getFilePath

      public String getFilePath()
      Returns:
      the path of the file that this data was read from.