Class SemanticExceptions
java.lang.Object
io.trino.sql.analyzer.SemanticExceptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic TrinoExceptionambiguousAttributeException(Expression node, QualifiedName name) static TrinoExceptioninvalidReferenceException(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 Details
-
missingAttributeException
-
invalidReferenceException
-
ambiguousAttributeException
-
semanticException
@FormatMethod public static TrinoException semanticException(ErrorCodeSupplier code, Node node, String format, Object... args) -
semanticException
@FormatMethod public static TrinoException semanticException(ErrorCodeSupplier code, Node node, Throwable cause, String format, Object... args)
-