Interface ArgumentsValidator
-
- All Known Implementing Classes:
ArgumentTypesValidator
public interface ArgumentsValidatorValidates the arguments provided to a HQL function invocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringgetSignature()Pretty-print the signature of the argument list.voidvalidate(List<? extends SqmTypedNode<?>> arguments, String functionName, QueryEngine queryEngine)Perform validation that may be done using theSqmTypedNodetree and assigned Java types.default voidvalidateSqlTypes(List<? extends SqlAstNode> arguments, String functionName)Perform validation that requires theSqlAstNodetree and assigned JDBC types.
-
-
-
Method Detail
-
validate
void validate(List<? extends SqmTypedNode<?>> arguments, String functionName, QueryEngine queryEngine)
Perform validation that may be done using theSqmTypedNodetree and assigned Java types.
-
getSignature
default String getSignature()
Pretty-print the signature of the argument list.
-
validateSqlTypes
default void validateSqlTypes(List<? extends SqlAstNode> arguments, String functionName)
Perform validation that requires theSqlAstNodetree and assigned JDBC types.
-
-