Class QueryMapper.MetadataBackedField
java.lang.Object
org.springframework.data.r2dbc.query.QueryMapper.Field
org.springframework.data.r2dbc.query.QueryMapper.MetadataBackedField
- Enclosing class:
- QueryMapper
Extension of 
QueryMapper.Field to be backed with mapping metadata.- 
Field SummaryFields inherited from class org.springframework.data.r2dbc.query.QueryMapper.Fieldname
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContext.protectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith the givenRelationalPersistentProperty.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the key to be used in the mapped document eventually.
- 
Constructor Details- 
MetadataBackedFieldprotected MetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContext.- Parameters:
- name- must not be null or empty.
- entity- must not be null.
- context- must not be null.
 
- 
MetadataBackedFieldprotected MetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, @Nullable RelationalPersistentProperty property) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith the givenRelationalPersistentProperty.- Parameters:
- name- must not be null or empty.
- entity- must not be null.
- context- must not be null.
- property- may be null.
 
 
- 
- 
Method Details- 
getMappedColumnNameDescription copied from class:QueryMapper.FieldReturns the key to be used in the mapped document eventually.- Overrides:
- getMappedColumnNamein class- QueryMapper.Field
- Returns:
 
- 
getTypeHint- Overrides:
- getTypeHintin class- QueryMapper.Field
 
 
-