Uses of Interface
org.springframework.data.projection.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
Modifier 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.Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionQueryLookupStrategy.resolveQuery
(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries) Resolves aRepositoryQuery
from the givenQueryMethod
that can be executed afterwards.ModifierConstructorDescriptionQueryMethod
(Method method, RepositoryMetadata metadata, ProjectionFactory factory) Creates a newQueryMethod
from the given parameters.