Class QueryMapper.Field
java.lang.Object
org.springframework.data.r2dbc.query.QueryMapper.Field
- Direct Known Subclasses:
QueryMapper.MetadataBackedField
- Enclosing class:
- QueryMapper
Value object to represent a field and its meta-information.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionField
(SqlIdentifier name) Creates a newQueryMapper.Field
without meta-information but the given name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the key to be used in the mapped document eventually.org.springframework.data.util.TypeInformation<?>
-
Field Details
-
name
-
-
Constructor Details
-
Field
Creates a newQueryMapper.Field
without meta-information but the given name.- Parameters:
name
- must not be null or empty.
-
-
Method Details
-
getMappedColumnName
Returns the key to be used in the mapped document eventually.- Returns:
-
getTypeHint
public org.springframework.data.util.TypeInformation<?> getTypeHint()
-