Class DynamicQueryMetadataCache
java.lang.Object
org.springframework.data.jpa.repository.query.QueryParameterSetter.QueryMetadataCache
org.springframework.data.jpa.repository.query.DynamicQueryMetadataCache
public class DynamicQueryMetadataCache
extends org.springframework.data.jpa.repository.query.QueryParameterSetter.QueryMetadataCache
Cache for
DynamicQueryMetadataCache. Optimizes for small cache sizes on a best-effort basis.- Since:
- 2.x.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(String queryString, jakarta.persistence.Query query, org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor accessor, org.springframework.data.util.Lazy<org.springframework.data.jpa.repository.query.ParameterBinder> parameterBinder) jakarta.persistence.QuerybindAndPrepare(String queryString, jakarta.persistence.Query query, org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor accessor, org.springframework.data.util.Lazy<org.springframework.data.jpa.repository.query.ParameterBinder> parameterBinder) Methods inherited from class org.springframework.data.jpa.repository.query.QueryParameterSetter.QueryMetadataCache
getMetadata
-
Constructor Details
-
DynamicQueryMetadataCache
public DynamicQueryMetadataCache()
-
-
Method Details
-
bindAndPrepare
public jakarta.persistence.Query bindAndPrepare(String queryString, jakarta.persistence.Query query, org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor accessor, org.springframework.data.util.Lazy<org.springframework.data.jpa.repository.query.ParameterBinder> parameterBinder) -
bind
public void bind(String queryString, jakarta.persistence.Query query, org.springframework.data.jpa.repository.query.JpaParametersParameterAccessor accessor, org.springframework.data.util.Lazy<org.springframework.data.jpa.repository.query.ParameterBinder> parameterBinder)
-