Class CommitRangeNotFoundException

Object
Throwable
Exception
RuntimeException
io.delta.kernel.exceptions.KernelException
io.delta.kernel.exceptions.CommitRangeNotFoundException
All Implemented Interfaces:
Serializable

@Evolving public class CommitRangeNotFoundException extends KernelException
Exception thrown when Kernel cannot find any commit files in the requested version range. This can happen when the requested versions don't exist in the table.
Since:
4.1.0
See Also:
  • Constructor Details

    • CommitRangeNotFoundException

      public CommitRangeNotFoundException(String tablePath, long startVersion, Optional<Long> endVersion)
  • Method Details

    • getTablePath

      public String getTablePath()
      Returns:
      the table path where the commit range was not found
    • getStartVersion

      public long getStartVersion()
      Returns:
      the start version of the requested commit range
    • getEndVersion

      public Optional<Long> getEndVersion()
      Returns:
      the end version of the requested commit range, or empty if no end version was specified