Uses of Interface
io.ebeaninternal.api.SpiQuery
Packages that use SpiQuery
Package
Description
Core implementation objects
Bean description
Expressions for building WHERE clauses.
-
Uses of SpiQuery in io.ebeaninternal.api
Methods in io.ebeaninternal.api that return SpiQueryModifier and TypeMethodDescriptionSpiQuery.copy()Return a copy of the query.SpiQuery.copy(SpiEbeanServer server) Return a copy of the query attaching to a different EbeanServer.SpiQuery<?> LoadBeanRequest.createQuery(SpiEbeanServer server) SpiQuery<?> LoadManyRequest.createQuery(SpiEbeanServer server) <T> SpiQuery<T> SpiEbeanServer.createQuery(Class<T> beanType) Override in order to return SpiQuerySpiQuery<?> SpiDtoQuery.ormQuery()Return an underlying ORM query (if this query is built from an ORM query).Methods in io.ebeaninternal.api with parameters of type SpiQueryModifier and TypeMethodDescriptiondefault voidSpiExpressionList.applyRowLimits(SpiQuery<?> query) Apply firstRow maxRows limits on the filterMany query.<T> CQuery<T> SpiEbeanServer.compileQuery(SpiQuery.Type type, SpiQuery<T> query, Transaction transaction) Compile a query.voidLoadBeanBuffer.configureQuery(SpiQuery<?> query, String lazyLoadProperty) voidLoadManyBuffer.configureQuery(SpiQuery<?> query) <T> int<T> boolean<T> int<T> intSpiEbeanServer.findCountWithCopy(SpiQuery<T> query) Execute the findCount query but without copying the query.<D> DtoQuery<D> Return / wrap the ORM query as a DTO query.<T> void<T> void<T> voidSpiEbeanServer.findEachWhile(SpiQuery<T> query, Predicate<T> consumer) <T> FutureRowCount<T> SpiEbeanServer.findFutureCount(SpiQuery<T> query) <T> FutureIds<T> SpiEbeanServer.findFutureIds(SpiQuery<T> query) <T> FutureList<T> SpiEbeanServer.findFutureList(SpiQuery<T> query) <A,T> List <A> <A,T> List <A> SpiEbeanServer.findIdsWithCopy(SpiQuery<T> query) Execute the findId's query but without copying the query.<T> QueryIterator<T> SpiEbeanServer.findIterate(SpiQuery<T> query) <T> List<T> <K,T> Map <K, T> <T> T<T> Optional<T> SpiEbeanServer.findOneOrEmpty(SpiQuery<T> query) <T> PagedList<T> SpiEbeanServer.findPagedList(SpiQuery<T> query) SpiEbeanServer.findResultSet(SpiQuery<?> ormQuery) Execute the underlying ORM query returning as a JDBC ResultSet to map to DTO beans.<T> Set<T> <A,T> List <A> SpiEbeanServer.findSingleAttributeList(SpiQuery<T> query) <A,T> Set <A> SpiEbeanServer.findSingleAttributeSet(SpiQuery<T> query) <T> Stream<T> SpiEbeanServer.findStream(SpiQuery<T> query) SpiEbeanServer.findVersions(SpiQuery<T> query) static SpiQuery.TemporalModeReturn the mode of the query of if null return CURRENT mode.SpiEbeanServer.persistenceContextScope(SpiQuery<?> query) Return the PersistenceContextScope to use defined at query or server level.voidSpiEbeanServer.slowQueryCheck(long executionTimeMicros, int rowCount, SpiQuery<?> query) Check for slow query event.<T> int -
Uses of SpiQuery in io.ebeaninternal.server.autotune
Methods in io.ebeaninternal.server.autotune with parameters of type SpiQueryModifier and TypeMethodDescriptionbooleanProfilingListener.isProfileRequest(ObjectGraphNode origin, SpiQuery<?> query) Return true if this request should be profiled (based on the profiling ratio and collection count for this origin).booleanCalled when a query thinks it should be automatically tuned by AutoTune.boolean -
Uses of SpiQuery in io.ebeaninternal.server.core
Methods in io.ebeaninternal.server.core that return SpiQueryModifier and TypeMethodDescriptionOrmQueryRequest.query()SpiOrmQueryRequest.query()Return the query.Methods in io.ebeaninternal.server.core with parameters of type SpiQueryModifier and TypeMethodDescription<T> CQuery<T> DefaultServer.compileQuery(SpiQuery.Type type, SpiQuery<T> query, Transaction transaction) Compile a query.<T> int<T> boolean<T> int<T> intDefaultServer.findCountWithCopy(SpiQuery<T> query) <T> DtoQuery<T> <T> void<T> void<T> voidDefaultServer.findEachWhile(SpiQuery<T> query, Predicate<T> consumer) <T> FutureRowCount<T> DefaultServer.findFutureCount(SpiQuery<T> query) <T> FutureIds<T> DefaultServer.findFutureIds(SpiQuery<T> query) <T> FutureList<T> DefaultServer.findFutureList(SpiQuery<T> query) <A,T> List <A> <A,T> List <A> DefaultServer.findIdsWithCopy(SpiQuery<T> query) <T> QueryIterator<T> DefaultServer.findIterate(SpiQuery<T> query) <T> List<T> <K,T> Map <K, T> <T> T<T> Optional<T> DefaultServer.findOneOrEmpty(SpiQuery<T> query) <T> PagedList<T> DefaultServer.findPagedList(SpiQuery<T> query) DefaultServer.findResultSet(SpiQuery<?> ormQuery) <T> Set<T> <A,T> List <A> DefaultServer.findSingleAttributeList(SpiQuery<T> query) <A,T> Set <A> DefaultServer.findSingleAttributeSet(SpiQuery<T> query) <T> Stream<T> DefaultServer.findStream(SpiQuery<T> query) DefaultServer.findVersions(SpiQuery<T> query) DefaultServer.persistenceContextScope(SpiQuery<?> query) Return the PersistenceContextScope to use defined at query or server level.voidDefaultServer.slowQueryCheck(long timeMicros, int rowCount, SpiQuery<?> query) <T> intConstructors in io.ebeaninternal.server.core with parameters of type SpiQueryModifierConstructorDescriptionOrmQueryRequest(SpiEbeanServer server, OrmQueryEngine queryEngine, SpiQuery<T> query, SpiTransaction t) -
Uses of SpiQuery in io.ebeaninternal.server.deploy
Methods in io.ebeaninternal.server.deploy that return SpiQueryModifier and TypeMethodDescriptionBeanPropertyAssoc.newQuery(SpiEbeanServer server) Create a new query for the target type.Methods in io.ebeaninternal.server.deploy with parameters of type SpiQueryModifier and TypeMethodDescriptionvoidAdd the tenantId predicate to the query.voidvoidBeanPropertyAssocMany.addWhereParentIdIn(SpiQuery<?> query, List<Object> parentIds) voidBeanDescriptor.appendOrderById(SpiQuery<T> query) Appends the Id property to the OrderBy clause if it is not believed to be already contained in the order by.BeanDescriptor.manyProperty(SpiQuery<?> query) Return the many property included in the query or null if one is not.voidBeanDescriptor.prepareQuery(SpiQuery<T> query) Prepare the query for multi-tenancy check for document store only use. -
Uses of SpiQuery in io.ebeaninternal.server.expression
Methods in io.ebeaninternal.server.expression with parameters of type SpiQuery -
Uses of SpiQuery in io.ebeaninternal.server.query
Constructors in io.ebeaninternal.server.query with parameters of type SpiQueryModifierConstructorDescriptionCallableQueryCount(SpiEbeanServer server, SpiQuery<T> query, boolean createdTransaction) Note that the transaction passed in is always a new transaction solely to find the row count so it must be cleaned up by this CallableQueryRowCount.CallableQueryIds(SpiEbeanServer server, SpiQuery<T> query, boolean createdTransaction) CallableQueryList(SpiEbeanServer server, SpiQuery<T> query, boolean createdTransaction) LimitOffsetPagedList(SpiEbeanServer server, SpiQuery<T> query) Construct with firstRow/maxRows. -
Uses of SpiQuery in io.ebeaninternal.server.querydefn
Classes in io.ebeaninternal.server.querydefn that implement SpiQueryModifier and TypeClassDescriptionclassDefault implementation of an Object Relational query.Methods in io.ebeaninternal.server.querydefn that return SpiQueryModifier and TypeMethodDescriptionDefaultOrmQuery.copy()DefaultOrmQuery.copy(SpiEbeanServer server) SpiQuery<?> OrmQueryLimitRequest.getOrmQuery()SpiQuery<?> DefaultDtoQuery.ormQuery()Methods in io.ebeaninternal.server.querydefn with parameters of type SpiQueryModifier and TypeMethodDescriptionvoidOrmQueryProperties.configureBeanQuery(SpiQuery<?> query) Define the select and joins for this query.Constructors in io.ebeaninternal.server.querydefn with parameters of type SpiQueryModifierConstructorDescriptionDefaultDtoQuery(SpiEbeanServer server, io.ebeaninternal.server.dto.DtoBeanDescriptor<T> descriptor, SpiQuery<?> ormQuery) Create given an underlying ORM query.OrmQueryLimitRequest(String sql, String sqlOrderBy, SpiQuery<?> ormQuery, DatabasePlatform dbPlatform, boolean distinct) OrmQueryLimitRequest(String sql, String sqlOrderBy, SpiQuery<?> ormQuery, DatabasePlatform dbPlatform, boolean distinct, String distinctOn, String hint, String label)