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
FieldsModifier and TypeFieldDescriptionprotected static final ArgumentTypesValidator
protected static final ArgumentTypesValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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, validateSqlTypes
-
Field Details
-
DATETIME_VALIDATOR
-
NUMERIC_VALIDATOR
-
-
Constructor Details
-
TruncArgumentsValidator
protected TruncArgumentsValidator()
-
-
Method Details
-
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
-