Package io.delta.kernel.exceptions
Class CommitRangeNotFoundException
Object
Throwable
Exception
RuntimeException
io.delta.kernel.exceptions.KernelException
io.delta.kernel.exceptions.CommitRangeNotFoundException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionCommitRangeNotFoundException(String tablePath, long startVersion, Optional<Long> endVersion) -
Method Summary
Modifier and TypeMethodDescriptionlongMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommitRangeNotFoundException
-
-
Method Details
-
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
- Returns:
- the end version of the requested commit range, or empty if no end version was specified
-