Package org.hibernate.dialect.function
Class TruncFunction.TruncArgumentsValidator
- java.lang.Object
-
- org.hibernate.dialect.function.TruncFunction.TruncArgumentsValidator
-
- All Implemented Interfaces:
ArgumentsValidator
- Enclosing class:
- TruncFunction
protected static class TruncFunction.TruncArgumentsValidator extends Object implements ArgumentsValidator
-
-
Field Summary
Fields Modifier and Type Field Description protected static ArgumentTypesValidatorDATETIME_VALIDATORprotected static ArgumentTypesValidatorNUMERIC_VALIDATOR
-
Constructor Summary
Constructors Modifier Constructor Description protectedTruncArgumentsValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)Perform validation that may be done using theSqmTypedNodetree 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
getSignature, validate, validateSqlTypes
-
-
-
-
Field Detail
-
DATETIME_VALIDATOR
protected static final ArgumentTypesValidator DATETIME_VALIDATOR
-
NUMERIC_VALIDATOR
protected static final ArgumentTypesValidator NUMERIC_VALIDATOR
-
-
Method Detail
-
validate
public void validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
Description copied from interface:ArgumentsValidatorPerform validation that may be done using theSqmTypedNodetree and assigned Java types.- Specified by:
validatein interfaceArgumentsValidator
-
-