Class DefaultEngineErrors
Object
io.delta.kernel.defaults.internal.DefaultEngineErrors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IllegalArgumentExceptioncanNotInstantiateLogStore(String logStoreClassName, String context, Exception cause) static IllegalArgumentExceptioninvalidEscapeSequence(String pattern, int index) Exception class for invalid escape sequence used in input for LIKE expressionsunsupportedExpressionException(io.delta.kernel.expressions.Expression expression, String reason) Exception for when the default expression evaluator cannot evaluate an expression.
-
Constructor Details
-
DefaultEngineErrors
public DefaultEngineErrors()
-
-
Method Details
-
canNotInstantiateLogStore
public static IllegalArgumentException canNotInstantiateLogStore(String logStoreClassName, String context, Exception cause) -
unsupportedExpressionException
public static UnsupportedOperationException unsupportedExpressionException(io.delta.kernel.expressions.Expression expression, String reason) Exception for when the default expression evaluator cannot evaluate an expression.- Parameters:
expression- the unsupported expressionreason- reason for why the expression is not supported/cannot be evaluated
-
invalidEscapeSequence
Exception class for invalid escape sequence used in input for LIKE expressions- Parameters:
pattern- the invalid patternindex- character index of occurrence of the offending escape in the pattern
-