Interface BindableParametersStoredQuery.Binder

    • Method Detail

      • autoPopulateRuntimeProperty

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

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

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

        default int currentIndex()
        Returns:
        current index