Interface BindableParametersStoredQuery.Binder

Enclosing interface:
BindableParametersStoredQuery<E,R>

public static interface BindableParametersStoredQuery.Binder
Parameters binder.
  • Method Details

    • autoPopulateRuntimeProperty

      @NonNull @NonNull Object autoPopulateRuntimeProperty(@NonNull @NonNull RuntimePersistentProperty<?> persistentProperty, @Nullable @Nullable Object previousValue)
      Auto populate property value.
      Parameters:
      persistentProperty - The property
      previousValue - 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 value
      property - 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 converterClass
      value - The value
      argument - The argument
      Returns:
      The converted value
    • bindOne

      void bindOne(@NonNull @NonNull QueryParameterBinding binding, @Nullable @Nullable Object value)
      Bind the value.
      Parameters:
      binding - The binding
      value - The value
    • bindMany

      void bindMany(@NonNull @NonNull QueryParameterBinding binding, @NonNull @NonNull Collection<Object> values)
      Bind multiple values.
      Parameters:
      binding - The binding
      values - The values
    • currentIndex

      default int currentIndex()
      Returns:
      current index