Interface QueryParameterBinding
@Internal
public interface QueryParameterBinding
Query parameter binding, represents the data needed to bind a property to the query parameter.
- Since:
- 2.4.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable String
getKey()
getName()
default @Nullable String[]
default int
default @Nullable String[]
default @Nullable Object
getValue()
The constant runtime value.default boolean
default boolean
default @io.micronaut.core.annotation.Nullable boolean
The constant runtime value.default boolean
-
Method Details
-
getName
String getName()- Returns:
- The parameter name.
-
getKey
String getKey()- Returns:
- The key represents the placeholder value in the query (usually it's ?).
-
getDataType
DataType getDataType()- Returns:
- The data type
-
getJsonDataType
JsonDataType getJsonDataType()- Returns:
- The json representation data type if getDataType is
DataType.JSON
and is annotated withJsonRepresentation
annotation
-
getConverterClassName
- Returns:
- The converter class name
-
getParameterIndex
default int getParameterIndex()- Returns:
- The parameter index
-
getParameterBindingPath
- Returns:
- The parameter binding path
-
getPropertyPath
- Returns:
- The property path
-
isAutoPopulated
default boolean isAutoPopulated()- Returns:
- Is auto populated
-
isRequiresPreviousPopulatedValue
default boolean isRequiresPreviousPopulatedValue()- Returns:
- Is requires previous populated value
-
isExpandable
default boolean isExpandable()- Returns:
- Is expandable parameter
-
getValue
The constant runtime value.- Returns:
- The value or null
- Since:
- 3.5.0
-
isExpression
@Nullable default @io.micronaut.core.annotation.Nullable boolean isExpression()The constant runtime value.- Returns:
- The value or null
- Since:
- 4.5.0
-