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 TypeClassDescriptionclass
AProxyProjectionFactory
that 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 EntityProjectionIntrospector
EntityProjectionIntrospector.create
(ProjectionFactory projectionFactory, EntityProjectionIntrospector.ProjectionPredicate projectionPredicate, MappingContext<?, ?> mappingContext) Create a newEntityProjectionIntrospector
givenProjectionFactory
,EntityProjectionIntrospector.ProjectionPredicate
andMappingContext
. -
Uses of ProjectionFactory in org.springframework.data.repository.core.support
Methods in org.springframework.data.repository.core.support that return ProjectionFactoryModifier and TypeMethodDescriptionprotected ProjectionFactory
RepositoryFactorySupport.getProjectionFactory()
Returns aProjectionFactory
instance.protected ProjectionFactory
RepositoryFactorySupport.getProjectionFactory
(ClassLoader classLoader, BeanFactory beanFactory) Returns theProjectionFactory
to 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 TypeMethodDescriptionQueryLookupStrategy.resolveQuery
(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries) Resolves aRepositoryQuery
from the givenQueryMethod
that can be executed afterwards.Constructors in org.springframework.data.repository.query with parameters of type ProjectionFactoryModifierConstructorDescriptionQueryMethod
(Method method, RepositoryMetadata metadata, ProjectionFactory factory) Creates a newQueryMethod
from the given parameters.