Class QueryMapper.Field

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

protected static class QueryMapper.Field extends Object
Value object to represent a field and its meta-information.
  • Field Details

  • Constructor Details

    • Field

      public Field(SqlIdentifier name)
      Creates a new QueryMapper.Field without meta-information but the given name.
      Parameters:
      name - must not be null or empty.
  • Method Details

    • getMappedColumnName

      public SqlIdentifier getMappedColumnName()
      Returns the key to be used in the mapped document eventually.
      Returns:
    • getTypeHint

      public org.springframework.data.util.TypeInformation<?> getTypeHint()