Uses of Interface
org.springframework.data.core.TypedPropertyPath
Packages that use TypedPropertyPath
Package
Description
Provides basic classes for type handling and other core helpers that are not specific to any part of the framework.
Central domain abstractions especially to be used in combination with the
Repository abstraction.Support classes to work with query methods.
-
Uses of TypedPropertyPath in org.springframework.data.core
Methods in org.springframework.data.core that return TypedPropertyPathModifier and TypeMethodDescriptionstatic <T,P> TypedPropertyPath <T, P> PropertyPath.of(PropertyReference<T, P> property) Syntax sugar to create aTypedPropertyPathfrom a method reference to a Java beans property.static <T, P extends @Nullable Object>
TypedPropertyPath<T, P> TypedPropertyPath.of(TypedPropertyPath<T, P> property) Syntax sugar to create aTypedPropertyPathfrom a method reference to a Java beans property.static <T,P> TypedPropertyPath <T, P> PropertyPath.ofMany(PropertyReference<T, ? extends Iterable<P>> property) Syntax sugar to create aTypedPropertyPathfrom a method reference to a Java beans collection property.static <T,P> TypedPropertyPath <T, P> TypedPropertyPath.ofMany(TypedPropertyPath<T, ? extends Iterable<P>> property) Syntax sugar to create aTypedPropertyPathfrom a method reference to a Java beans collection property.static <T, P extends @Nullable Object>
TypedPropertyPath<T, P> TypedPropertyPath.path(PropertyReference<T, P> property) Syntax sugar to create aTypedPropertyPathfrom a property described as method reference to a Java beans property.default <N extends @Nullable Object>
TypedPropertyPath<T, N> PropertyReference.then(PropertyReference<P, N> next) Extend the property to a property path by appending thenextpath segment and return a new property path instance.default <N extends @Nullable Object>
TypedPropertyPath<T, N> TypedPropertyPath.then(PropertyReference<P, N> next) Extend the property path by appending thenextpath segment and return a new property path instance.default <N extends @Nullable Object>
TypedPropertyPath<T, N> PropertyReference.thenMany(PropertyReference<P, ? extends Iterable<N>> next) Extend the property to a property path by appending thenextpath segment and return a new property path instance.default <N extends @Nullable Object>
TypedPropertyPath<T, N> TypedPropertyPath.thenMany(PropertyReference<P, ? extends Iterable<N>> next) Extend the property path by appending thenextpath segment and return a new property path instance.Methods in org.springframework.data.core with parameters of type TypedPropertyPathModifier and TypeMethodDescriptionstatic <T, P extends @Nullable Object>
TypedPropertyPath<T, P> TypedPropertyPath.of(TypedPropertyPath<T, P> property) Syntax sugar to create aTypedPropertyPathfrom a method reference to a Java beans property.static <T,P> TypedPropertyPath <T, P> TypedPropertyPath.ofMany(TypedPropertyPath<T, ? extends Iterable<P>> property) Syntax sugar to create aTypedPropertyPathfrom a method reference to a Java beans collection property. -
Uses of TypedPropertyPath in org.springframework.data.domain
Methods in org.springframework.data.domain with parameters of type TypedPropertyPathModifier and TypeMethodDescriptionstatic <T,P> Sort.Order Sort.Order.asc(TypedPropertyPath<T, P> propertyPath) Creates a newSort.Orderinstance.static <T> SortSort.by(TypedPropertyPath<T, ?>... properties) Creates a newSortfor the given properties.static <T> SortSort.by(Sort.Direction direction, TypedPropertyPath<T, ?>... properties) Creates a newSortfor the givenSort.Directionand properties.static <T,P> Sort.Order Sort.Order.by(TypedPropertyPath<T, P> propertyPath) Creates a newSort.Orderinstance.static <T,P> Sort.Order Sort.Order.desc(TypedPropertyPath<T, P> propertyPath) Creates a newSort.Orderinstance.default <T> ExampleMatcherExampleMatcher.withIgnoreCase(TypedPropertyPath<T, ?>... propertyPaths) Returns a copy of thisExampleMatcherwith ignore case sensitivity for thepropertyPaths.default <T> ExampleMatcherExampleMatcher.withIgnorePaths(TypedPropertyPath<T, ?>... ignoredPaths) Returns a copy of thisExampleMatcherwith the specifiedpropertyPaths.default <T,P> ExampleMatcher ExampleMatcher.withMatcher(TypedPropertyPath<T, P> propertyPath, ExampleMatcher.GenericPropertyMatcher genericPropertyMatcher) Returns a copy of thisExampleMatcherwith the specifiedGenericPropertyMatcherfor thepropertyPath.default <T,P> ExampleMatcher ExampleMatcher.withMatcher(TypedPropertyPath<T, P> propertyPath, ExampleMatcher.MatcherConfigurer<ExampleMatcher.GenericPropertyMatcher> matcherConfigurer) Returns a copy of thisExampleMatcherwith the specifiedGenericPropertyMatcherfor thepropertyPath.<T> SortSort.Order.withProperties(TypedPropertyPath<T, ?>... propertyPaths) Returns a newSortinstance for the given properties usingSort.Order.getDirection().<T,P> Sort.Order Sort.Order.withProperty(TypedPropertyPath<T, P> propertyPath) Returns a newSort.Orderwith thepropertyPathapplied.default <T,P> ExampleMatcher ExampleMatcher.withTransformer(TypedPropertyPath<T, P> propertyPath, ExampleMatcher.PropertyValueTransformer propertyValueTransformer) Returns a copy of thisExampleMatcherwith the specifiedPropertyValueTransformerfor thepropertyPath. -
Uses of TypedPropertyPath in org.springframework.data.repository.query
Methods in org.springframework.data.repository.query with parameters of type TypedPropertyPathModifier and TypeMethodDescriptiondefault FluentQuery<T> FluentQuery.FetchableFluentQuery.project(TypedPropertyPath<T, ?>... properties) default FluentQuery<T> FluentQuery.project(TypedPropertyPath<T, ?>... properties) Define which properties or property paths to include in the query.default FluentQuery<T> FluentQuery.ReactiveFluentQuery.project(TypedPropertyPath<T, ?>... properties)