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
Modifier and TypeFieldDescriptionprotected final org.springframework.data.relational.core.sql.SqlIdentifier
-
Constructor Summary
ConstructorDescriptionField
(org.springframework.data.relational.core.sql.SqlIdentifier name) Creates a newQueryMapper.Field
without meta-information but the given name. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.relational.core.sql.SqlIdentifier
Returns the key to be used in the mapped document eventually.
-
Field Details
-
name
protected final org.springframework.data.relational.core.sql.SqlIdentifier name
-
-
Constructor Details
-
Field
public Field(org.springframework.data.relational.core.sql.SqlIdentifier name) Creates a newQueryMapper.Field
without meta-information but the given name.- Parameters:
name
- must not be null or empty.
-
-
Method Details
-
getMappedColumnName
public org.springframework.data.relational.core.sql.SqlIdentifier getMappedColumnName()Returns the key to be used in the mapped document eventually.- Returns:
-
getTypeHint
-