Interface BindableParametersStoredQuery.Binder
- Enclosing interface:
- BindableParametersStoredQuery<E,
R>
public static interface BindableParametersStoredQuery.Binder
Parameters binder.
-
Method Summary
Modifier and TypeMethodDescription@NonNull ObjectautoPopulateRuntimeProperty(@NonNull RuntimePersistentProperty<?> persistentProperty, @Nullable Object previousValue) Auto populate property value.voidbindMany(@NonNull QueryParameterBinding binding, @NonNull Collection<Object> values) Bind multiple values.voidbindOne(@NonNull QueryParameterBinding binding, @Nullable Object value) Bind the value.@Nullable Objectconvert(@Nullable Class<?> converterClass, @Nullable Object value, @Nullable io.micronaut.core.type.Argument<?> argument) Convert value using the converter class.@Nullable Objectconvert(@Nullable Object value, @Nullable RuntimePersistentProperty<?> property) Convert value according to the property definition.default int
-
Method Details
-
autoPopulateRuntimeProperty
@NonNull @NonNull Object autoPopulateRuntimeProperty(@NonNull @NonNull RuntimePersistentProperty<?> persistentProperty, @Nullable @Nullable Object previousValue) Auto populate property value.- Parameters:
persistentProperty- The propertypreviousValue- The previous value- Returns:
- The populated value
-
convert
@Nullable @Nullable Object convert(@Nullable @Nullable Object value, @Nullable @Nullable RuntimePersistentProperty<?> property) Convert value according to the property definition.- Parameters:
value- The valueproperty- The property- Returns:
- The converted value
-
convert
@Nullable @Nullable Object convert(@Nullable @Nullable Class<?> converterClass, @Nullable @Nullable Object value, @Nullable @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
Bind the value.- Parameters:
binding- The bindingvalue- The value
-
bindMany
void bindMany(@NonNull @NonNull QueryParameterBinding binding, @NonNull @NonNull Collection<Object> values) Bind multiple values.- Parameters:
binding- The bindingvalues- The values
-
currentIndex
default int currentIndex()- Returns:
- current index
-