Package io.trino.sql.analyzer
Class SemanticExceptions
- java.lang.Object
-
- io.trino.sql.analyzer.SemanticExceptions
-
public final class SemanticExceptions extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TrinoExceptionambiguousAttributeException(Expression node, QualifiedName name)static TrinoExceptionmissingAttributeException(Expression node, QualifiedName name)static TrinoExceptionsemanticException(ErrorCodeSupplier code, Node node, String format, Object... args)static TrinoExceptionsemanticException(ErrorCodeSupplier code, Node node, Throwable cause, String format, Object... args)
-
-
-
Method Detail
-
missingAttributeException
public static TrinoException missingAttributeException(Expression node, QualifiedName name)
-
ambiguousAttributeException
public static TrinoException ambiguousAttributeException(Expression node, QualifiedName name)
-
semanticException
public static TrinoException semanticException(ErrorCodeSupplier code, Node node, String format, Object... args)
-
semanticException
public static TrinoException semanticException(ErrorCodeSupplier code, Node node, Throwable cause, String format, Object... args)
-
-