Class ArraysOfSameTypeArgumentValidator
- java.lang.Object
-
- org.hibernate.dialect.function.array.ArraysOfSameTypeArgumentValidator
-
- All Implemented Interfaces:
ArgumentsValidator
public class ArraysOfSameTypeArgumentValidator extends Object implements ArgumentsValidator
AArgumentsValidator
that validates all arguments are of the same array type.
-
-
Field Summary
Fields Modifier and Type Field Description static ArgumentsValidator
INSTANCE
-
Constructor Summary
Constructors Constructor Description ArraysOfSameTypeArgumentValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSignature()
Pretty-print the signature of the argument list.void
validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
Perform validation that may be done using theSqmTypedNode
tree and assigned Java types.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.sqm.produce.function.ArgumentsValidator
validate, validateSqlTypes
-
-
-
-
Field Detail
-
INSTANCE
public static final ArgumentsValidator INSTANCE
-
-
Method Detail
-
validate
public void validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
Description copied from interface:ArgumentsValidator
Perform validation that may be done using theSqmTypedNode
tree and assigned Java types.- Specified by:
validate
in interfaceArgumentsValidator
-
getSignature
public String getSignature()
Description copied from interface:ArgumentsValidator
Pretty-print the signature of the argument list.- Specified by:
getSignature
in interfaceArgumentsValidator
-
-