Uses of Interface
org.springframework.data.relational.core.mapping.RelationalPersistentEntity
Packages that use RelationalPersistentEntity
Package
Description
Query support for relational database repositories.
Support infrastructure for query derivation of relational database repositories.
-
Uses of RelationalPersistentEntity in org.springframework.data.relational.core.conversion
Methods in org.springframework.data.relational.core.conversion that return types with arguments of type RelationalPersistentEntityModifier and TypeMethodDescriptionMappingContext<? extends RelationalPersistentEntity<?>,? extends RelationalPersistentProperty> RelationalConverter.getMappingContext()Returns the underlyingMappingContextused by the converter.Methods in org.springframework.data.relational.core.conversion with parameters of type RelationalPersistentEntityModifier and TypeMethodDescriptionstatic <T> IdValueSourceIdValueSource.forInstance(Object instance, RelationalPersistentEntity<T> persistentEntity) Returns the appropriateIdValueSourcefor the instance:IdValueSource.NONEwhen the entity has no id property,IdValueSource.PROVIDEDwhen the value of the id property is not null and when it is a primitive type, not zero, andIdValueSource.GENERATEDotherwise.static <S> NumberRelationalEntityVersionUtils.getVersionNumberFromEntity(S instance, RelationalPersistentEntity<S> persistentEntity, RelationalConverter converter) Get the current value of the version property for an instance of a relational persistent entity.static <S> SRelationalEntityVersionUtils.setVersionNumberOnEntity(S instance, Number version, RelationalPersistentEntity<S> persistentEntity, RelationalConverter converter) Set the version property on an instance of a relational persistent entity. -
Uses of RelationalPersistentEntity in org.springframework.data.relational.core.mapping
Methods in org.springframework.data.relational.core.mapping that return RelationalPersistentEntityModifier and TypeMethodDescriptionprotected <T> RelationalPersistentEntity<T>RelationalMappingContext.createPersistentEntity(TypeInformation<T> typeInformation) AggregatePath.getLeafEntity()TheRelationalPersistentEntityassociated with the leaf of this path.PersistentPropertyPathExtension.getLeafEntity()Deprecated, for removal: This API element is subject to removal in a future version.TheRelationalPersistentEntityassociated with the leaf of this path.BasicRelationalPersistentProperty.getOwner()RelationalPersistentProperty.getOwner()RelationalMappingContext.getPersistentEntity(RelationalPersistentProperty persistentProperty) default RelationalPersistentEntity<?>AggregatePath.getRequiredLeafEntity()TheRelationalPersistentEntityassociated with the leaf of this path or throwIllegalStateExceptionif the leaf cannot be resolved.PersistentPropertyPathExtension.getRequiredLeafEntity()Deprecated, for removal: This API element is subject to removal in a future version.TheRelationalPersistentEntityassociated with the leaf of this path or throwIllegalStateExceptionif the leaf cannot be resolved.Methods in org.springframework.data.relational.core.mapping with parameters of type RelationalPersistentEntityModifier and TypeMethodDescriptionstatic PersistentPropertyTranslatorPersistentPropertyTranslator.create(RelationalPersistentEntity<?> targetEntity) Create a newPersistentPropertyTranslator.static PersistentPropertyTranslatorPersistentPropertyTranslator.create(RelationalPersistentEntity<?> targetEntity, Predicate<RelationalPersistentProperty> translationFilter) Create a newPersistentPropertyTranslatoraccepting afilter predicatewhether the translation should happen at all.protected RelationalPersistentPropertyRelationalMappingContext.createPersistentProperty(Property property, RelationalPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder) RelationalMappingContext.getAggregatePath(RelationalPersistentEntity<?> type) BasicRelationalPersistentProperty.getReverseColumnName(RelationalPersistentEntity<?> owner) DefaultNamingStrategy.getReverseColumnName(RelationalPersistentEntity<?> parent) default StringNamingStrategy.getReverseColumnName(RelationalPersistentEntity<?> owner) RelationalPersistentProperty.getReverseColumnName(RelationalPersistentEntity<?> owner) Constructors in org.springframework.data.relational.core.mapping with parameters of type RelationalPersistentEntityModifierConstructorDescriptionPersistentPropertyPathExtension(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, RelationalPersistentEntity<?> entity) Deprecated, for removal: This API element is subject to removal in a future version.Creates the empty path referencing the root itself.Constructor parameters in org.springframework.data.relational.core.mapping with type arguments of type RelationalPersistentEntityModifierConstructorDescriptionPersistentPropertyPathExtension(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, PersistentPropertyPath<? extends RelationalPersistentProperty> path) Deprecated, for removal: This API element is subject to removal in a future version.Creates a non-empty path.PersistentPropertyPathExtension(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context, RelationalPersistentEntity<?> entity) Deprecated, for removal: This API element is subject to removal in a future version.Creates the empty path referencing the root itself. -
Uses of RelationalPersistentEntity in org.springframework.data.relational.core.sqlgeneration
Methods in org.springframework.data.relational.core.sqlgeneration with parameters of type RelationalPersistentEntityModifier and TypeMethodDescriptionSingleQuerySqlGenerator.findAll(RelationalPersistentEntity<?> aggregate, Condition condition) default StringSqlGenerator.findAll(RelationalPersistentEntity<?> aggregate) SqlGenerator.findAll(RelationalPersistentEntity<?> aggregate, Condition condition) -
Uses of RelationalPersistentEntity in org.springframework.data.relational.repository.query
Methods in org.springframework.data.relational.repository.query that return RelationalPersistentEntityModifier and TypeMethodDescriptionRelationalEntityMetadata.getTableEntity()Returns theRelationalPersistentEntitythat supposed to determine the table to be queried.SimpleRelationalEntityMetadata.getTableEntity()Constructors in org.springframework.data.relational.repository.query with parameters of type RelationalPersistentEntityModifierConstructorDescriptionSimpleRelationalEntityMetadata(Class<T> type, RelationalPersistentEntity<?> tableEntity) Creates a newSimpleRelationalEntityMetadatausing the given type andRelationalPersistentEntityto use for table lookups.Constructor parameters in org.springframework.data.relational.repository.query with type arguments of type RelationalPersistentEntityModifierConstructorDescriptionRelationalExampleMapper(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> mappingContext) -
Uses of RelationalPersistentEntity in org.springframework.data.relational.repository.support
Constructors in org.springframework.data.relational.repository.support with parameters of type RelationalPersistentEntityModifierConstructorDescriptionCreates a newMappingRelationalEntityInformationfor the givenRelationalPersistentEntity.MappingRelationalEntityInformation(RelationalPersistentEntity<T> entity, Class<ID> fallbackIdType) Creates a newMappingRelationalEntityInformationfor the givenRelationalPersistentEntityand fallback identifier type.MappingRelationalEntityInformation(RelationalPersistentEntity<T> entity, String customTableName) Creates a newMappingRelationalEntityInformationfor the givenRelationalPersistentEntityand custom table name.