protected static class QueryMapper.MetadataBackedField extends QueryMapper.Field
QueryMapper.Field to be backed with mapping metadata.name| Modifier | Constructor and 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. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.relational.core.sql.SqlIdentifier |
getMappedColumnName()
Returns the key to be used in the mapped document eventually.
|
TypeInformation<?> |
getTypeHint() |
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)
QueryMapper.MetadataBackedField with the given name, RelationalPersistentEntity and
MappingContext.name - must not be null or empty.entity - must not be null.context - must not be null.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)
QueryMapper.MetadataBackedField with the given name, RelationalPersistentEntity and
MappingContext with the given RelationalPersistentProperty.name - must not be null or empty.entity - must not be null.context - must not be null.property - may be null.public org.springframework.data.relational.core.sql.SqlIdentifier getMappedColumnName()
QueryMapper.FieldgetMappedColumnName in class QueryMapper.Fieldpublic TypeInformation<?> getTypeHint()
getTypeHint in class QueryMapper.FieldCopyright © 2018–2021 Pivotal Software, Inc.. All rights reserved.