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