Class QueryMapper.MetadataBackedField

java.lang.Object
org.springframework.data.r2dbc.query.QueryMapper.Field
org.springframework.data.r2dbc.query.QueryMapper.MetadataBackedField
Enclosing class:
QueryMapper

protected static class QueryMapper.MetadataBackedField extends QueryMapper.Field
Extension of QueryMapper.Field to be backed with mapping metadata.
  • Field Summary

    Fields inherited from class org.springframework.data.r2dbc.query.QueryMapper.Field

    name
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    MetadataBackedField(org.springframework.data.relational.core.sql.SqlIdentifier name, org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity, MappingContext<? extends org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,org.springframework.data.relational.core.mapping.RelationalPersistentProperty> context)
    Creates a new QueryMapper.MetadataBackedField with the given name, RelationalPersistentEntity and MappingContext.
    protected
    MetadataBackedField(org.springframework.data.relational.core.sql.SqlIdentifier name, org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity, MappingContext<? extends org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,org.springframework.data.relational.core.mapping.RelationalPersistentProperty> context, org.springframework.data.relational.core.mapping.RelationalPersistentProperty property)
    Creates a new QueryMapper.MetadataBackedField with the given name, RelationalPersistentEntity and MappingContext with the given RelationalPersistentProperty.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.relational.core.sql.SqlIdentifier
    Returns the key to be used in the mapped document eventually.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MetadataBackedField

      protected MetadataBackedField(org.springframework.data.relational.core.sql.SqlIdentifier name, org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity, MappingContext<? extends org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,org.springframework.data.relational.core.mapping.RelationalPersistentProperty> context)
      Creates a new QueryMapper.MetadataBackedField with the given name, RelationalPersistentEntity and MappingContext.
      Parameters:
      name - must not be null or empty.
      entity - must not be null.
      context - must not be null.
    • MetadataBackedField

      protected MetadataBackedField(org.springframework.data.relational.core.sql.SqlIdentifier name, org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?> entity, MappingContext<? extends org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,org.springframework.data.relational.core.mapping.RelationalPersistentProperty> context, @Nullable org.springframework.data.relational.core.mapping.RelationalPersistentProperty property)
      Creates a new QueryMapper.MetadataBackedField with the given name, RelationalPersistentEntity and MappingContext with the given RelationalPersistentProperty.
      Parameters:
      name - must not be null or empty.
      entity - must not be null.
      context - must not be null.
      property - may be null.
  • Method Details