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 ArgumentTypesValidator
DATETIME_VALIDATOR
protected static ArgumentTypesValidator
NUMERIC_VALIDATOR
-
Constructor Summary
Constructors Modifier Constructor Description protected
TruncArgumentsValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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:ArgumentsValidator
Perform validation that may be done using theSqmTypedNode
tree and assigned Java types.- Specified by:
validate
in interfaceArgumentsValidator
-
-