Interface SqlStoredQuery.Binder
-
- Enclosing interface:
- SqlStoredQuery<E,R>
public static interface SqlStoredQuery.BinderParameters binder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectautoPopulateRuntimeProperty(RuntimePersistentProperty<?> persistentProperty, java.lang.Object previousValue)Auto populate property value.voidbind(DataType dataType, 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.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
-
bind
void bind(@NonNull DataType dataType, @Nullable java.lang.Object value)Bind the value.- Parameters:
dataType- The value data typevalue- The value
-
currentIndex
int currentIndex()
- Returns:
- current index
-
-