Interface ArgumentsValidator
-
- All Known Implementing Classes:
ArgumentTypesValidator
,TruncFunction.TruncArgumentsValidator
public interface ArgumentsValidator
Validates the arguments provided to an HQL function invocation.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default String
getSignature()
Pretty-print the signature of the argument list.default void
validate(List<? extends SqmTypedNode<?>> arguments, String functionName, QueryEngine queryEngine)
Deprecated.default void
validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
Perform validation that may be done using theSqmTypedNode
tree and assigned Java types.default void
validateSqlTypes(List<? extends SqlAstNode> arguments, String functionName)
Perform validation that requires theSqlAstNode
tree and assigned JDBC types.
-
-
-
Method Detail
-
validate
@Deprecated(since="6.2") default void validate(List<? extends SqmTypedNode<?>> arguments, String functionName, QueryEngine queryEngine)
Deprecated.Perform validation that may be done using theSqmTypedNode
tree and assigned Java types.
-
validate
default void validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
Perform validation that may be done using theSqmTypedNode
tree 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 theSqlAstNode
tree and assigned JDBC types.
-
-