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
Modifier and TypeFieldDescriptionprotected UnconstrainedDataManager
UnconstrainedDataManager
orDataManager
will be chosen depending onApplyConstraints
annotation on method/repository or ancestor method/repositoryprotected final org.springframework.data.projection.ProjectionFactory
protected String
protected int
protected Metadata
protected final org.springframework.data.repository.core.RepositoryMetadata
protected final Method
protected int
protected Map<String,
Serializable> protected final JmixQueryMethod
protected int
-
Constructor Summary
ConstructorDescriptionJmixAbstractQuery
(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 String
formatMethod
(Method method) protected String
protected void
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
UnconstrainedDataManager
orDataManager
will be chosen depending onApplyConstraints
annotation 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