Class ParameterBinding.PartTreeParameterBinding
java.lang.Object
org.springframework.data.jpa.repository.query.ParameterBinding
org.springframework.data.jpa.repository.query.ParameterBinding.PartTreeParameterBinding
- Enclosing class:
ParameterBinding
Represents a
ParameterBinding in a JPQL query augmented with instructions of how to apply a parameter as an
IN parameter.- Author:
- Thomas Darimont, Mark Paluch
-
Nested Class Summary
Nested classes/interfaces inherited from class ParameterBinding
ParameterBinding.BindingIdentifier, ParameterBinding.Expression, ParameterBinding.MethodInvocationArgument, ParameterBinding.ParameterOrigin, ParameterBinding.PartTreeParameterBinding, ParameterBinding.Synthetic -
Constructor Summary
ConstructorsConstructorDescriptionPartTreeParameterBinding(ParameterBinding.BindingIdentifier identifier, ParameterBinding.ParameterOrigin origin, Class<?> parameterType, Part part, @Nullable Object value, JpqlQueryTemplates templates, EscapeCharacter escape) -
Method Summary
Methods inherited from class ParameterBinding
bindsTo, equals, getIdentifier, getName, getOrigin, hashCode, isCompatibleWith, toString
-
Constructor Details
-
PartTreeParameterBinding
public PartTreeParameterBinding(ParameterBinding.BindingIdentifier identifier, ParameterBinding.ParameterOrigin origin, Class<?> parameterType, Part part, @Nullable Object value, JpqlQueryTemplates templates, EscapeCharacter escape)
-
-
Method Details
-
isIsNullParameter
public boolean isIsNullParameter()Returns whether the parameter shall be considered an IS NULL parameter. -
isIgnoreCase
public boolean isIgnoreCase() -
getTemplates
-
getValue
-
prepare
- Overrides:
preparein classParameterBinding- Parameters:
value- value to prepare
-