public final class QueryEnhancerFactory extends Object
QueryEnhancer
from a DeclaredQuery
.Modifier and Type | Method and Description |
---|---|
static QueryEnhancer |
forQuery(org.springframework.data.jpa.repository.query.DeclaredQuery query)
Creates a new
QueryEnhancer for the given DeclaredQuery . |
public static QueryEnhancer forQuery(org.springframework.data.jpa.repository.query.DeclaredQuery query)
QueryEnhancer
for the given DeclaredQuery
.query
- must not be null.QueryEnhancer
that suits the query the mostCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.