Class DefaultEngineErrors

Object
io.delta.kernel.defaults.internal.DefaultEngineErrors

public class DefaultEngineErrors extends Object
  • 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 expression
      reason - reason for why the expression is not supported/cannot be evaluated
    • invalidEscapeSequence

      public static IllegalArgumentException invalidEscapeSequence(String pattern, int index)
      Exception class for invalid escape sequence used in input for LIKE expressions
      Parameters:
      pattern - the invalid pattern
      index - character index of occurrence of the offending escape in the pattern