Interface SqlStoredQuery.Binder

  • Enclosing interface:
    SqlStoredQuery<E,​R>

    public static interface SqlStoredQuery.Binder
    Parameters 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
      • bind

        void bind​(@NonNull
                  DataType dataType,
                  @Nullable
                  java.lang.Object value)
        Bind the value.
        Parameters:
        dataType - The value data type
        value - The value
      • currentIndex

        int currentIndex()
        Returns:
        current index