Class JmixAbstractQuery
java.lang.Object
io.jmix.core.impl.repository.query.JmixAbstractQuery
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
- Direct Known Subclasses:
JmixCustomLoadQuery,JmixStructuredQuery
public abstract class JmixAbstractQuery
extends Object
implements org.springframework.data.repository.query.RepositoryQuery
Query implementation for Jmix. If you need different types of queries, you can either extend this class or implement parent interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected UnconstrainedDataManagerUnconstrainedDataManagerorDataManagerwill be chosen depending onApplyConstraintsannotation on method/repository or ancestor method/repositoryprotected final org.springframework.data.projection.ProjectionFactoryprotected Stringprotected intprotected Metadataprotected final org.springframework.data.repository.core.RepositoryMetadataprotected final Methodprotected intprotected Map<String,Serializable> protected final JmixQueryMethodprotected int -
Constructor Summary
ConstructorsConstructorDescriptionJmixAbstractQuery(DataManager dataManager, Metadata jmixMetadata, Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionbuildNamedParametersMap(Object[] values) protected static StringformatMethod(Method method) protected Stringprotected voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.data.repository.query.RepositoryQuery
execute
-
Field Details
-
method
-
metadata
protected final org.springframework.data.repository.core.RepositoryMetadata metadata -
factory
protected final org.springframework.data.projection.ProjectionFactory factory -
queryMethod
-
dataManager
UnconstrainedDataManagerorDataManagerwill be chosen depending onApplyConstraintsannotation on method/repository or ancestor method/repository -
jmixMetadata
-
namedParametersBindings
-
sortIndex
protected int sortIndex -
pageableIndex
protected int pageableIndex -
fetchPlanIndex
protected int fetchPlanIndex -
queryHints
-
fetchPlan
-
-
Constructor Details
-
JmixAbstractQuery
public JmixAbstractQuery(DataManager dataManager, Metadata jmixMetadata, Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory)
-
-
Method Details