Uses of Interface
org.springframework.data.projection.ProjectionFactory
Packages that use ProjectionFactory
Package
Description
Projection subsystem.
Base classes to implement repositories for various data stores.
Support classes to work with query methods.
-
Uses of ProjectionFactory in org.springframework.data.projection
Classes in org.springframework.data.projection that implement ProjectionFactoryModifier and TypeClassDescriptionclassAProxyProjectionFactorythat adds support to useValue-annotated methods on a projection interface to evaluate the contained SpEL expression to define the outcome of the method call.Methods in org.springframework.data.projection with parameters of type ProjectionFactoryModifier and TypeMethodDescriptionstatic EntityProjectionIntrospectorEntityProjectionIntrospector.create(ProjectionFactory projectionFactory, EntityProjectionIntrospector.ProjectionPredicate projectionPredicate, MappingContext<?, ?> mappingContext) Create a newEntityProjectionIntrospectorgivenProjectionFactory,EntityProjectionIntrospector.ProjectionPredicateandMappingContext. -
Uses of ProjectionFactory in org.springframework.data.repository.core.support
Methods in org.springframework.data.repository.core.support that return ProjectionFactoryModifier and TypeMethodDescriptionprotected ProjectionFactoryRepositoryFactorySupport.getProjectionFactory()Returns aProjectionFactoryinstance.protected ProjectionFactoryRepositoryFactorySupport.getProjectionFactory(ClassLoader classLoader, BeanFactory beanFactory) Returns theProjectionFactoryto be used with the repository instances created. -
Uses of ProjectionFactory in org.springframework.data.repository.query
Methods in org.springframework.data.repository.query with parameters of type ProjectionFactoryModifier and TypeMethodDescriptionstatic ReturnedTypeReturnedType.of(Class<?> returnedType, Class<?> domainType, ProjectionFactory factory) Creates a newReturnedTypefor the given returned type, domain type andProjectionFactory.QueryLookupStrategy.resolveQuery(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries) Resolves aRepositoryQueryfrom the givenQueryMethodthat can be executed afterwards.Constructors in org.springframework.data.repository.query with parameters of type ProjectionFactoryModifierConstructorDescriptionQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory factory) Creates a newQueryMethodfrom the given parameters.