Interface BindableParametersStoredQuery.Binder
-
- Enclosing interface:
- BindableParametersStoredQuery<E,R>
public static interface BindableParametersStoredQuery.BinderParameters binder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.ObjectautoPopulateRuntimeProperty(RuntimePersistentProperty<?> persistentProperty, java.lang.Object previousValue)Auto populate property value.voidbindMany(QueryParameterBinding binding, java.util.Collection<java.lang.Object> values)Bind multiple values.voidbindOne(QueryParameterBinding binding, java.lang.Object value)Bind the value.java.lang.Objectconvert(java.lang.Class<?> converterClass, java.lang.Object value, io.micronaut.core.type.Argument<?> argument)Convert value using the converter class.java.lang.Objectconvert(java.lang.Object value, RuntimePersistentProperty<?> property)Convert value according to the property definition.default intcurrentIndex()
-
-
-
Method Detail
-
autoPopulateRuntimeProperty
@NonNull java.lang.Object autoPopulateRuntimeProperty(@NonNull RuntimePersistentProperty<?> persistentProperty, @Nullable java.lang.Object previousValue)Auto populate property value.- Parameters:
persistentProperty- The propertypreviousValue- The previous value- Returns:
- The populated value
-
convert
@Nullable java.lang.Object convert(@Nullable java.lang.Object value, @Nullable RuntimePersistentProperty<?> property)Convert value according to the property definition.- Parameters:
value- The valueproperty- The property- Returns:
- The converted value
-
convert
@Nullable java.lang.Object convert(@Nullable java.lang.Class<?> converterClass, @Nullable java.lang.Object value, @Nullable io.micronaut.core.type.Argument<?> argument)Convert value using the converter class.- Parameters:
converterClass- The converterClassvalue- The valueargument- The argument- Returns:
- The converted value
-
bindOne
void bindOne(@NonNull QueryParameterBinding binding, @Nullable java.lang.Object value)Bind the value.- Parameters:
binding- The bindingvalue- The value
-
bindMany
void bindMany(@NonNull QueryParameterBinding binding, @NonNull java.util.Collection<java.lang.Object> values)Bind multiple values.- Parameters:
binding- The bindingvalues- The values
-
currentIndex
default int currentIndex()
- Returns:
- current index
-
-