Interface SpiDtoQuery<T>
- All Superinterfaces:
CancelableQuery, DtoQuery<T>, SpiCancelableQuery, SpiSqlBinding
- All Known Implementing Classes:
DefaultDtoQuery
Internal extension to DtoQuery.
-
Method Summary
Modifier and TypeMethodDescriptionio.ebeaninternal.server.dto.DtoQueryPlanbuildPlan(io.ebeaninternal.server.dto.DtoMappingRequest request) Build the query plan.booleanReturn true if the query is in relaxed mapping mode.voidObtain the location if necessary.SpiQuery<?> ormQuery()Return an underlying ORM query (if this query is built from an ORM query).planKey()Return the key for query plan.Return the label with fallback to profile location label.Return the profile location.voidputQueryPlan(Object planKey, io.ebeaninternal.server.dto.DtoQueryPlan plan) Put the query plan into the cache.io.ebeaninternal.server.dto.DtoQueryPlanGet the query plan for the cache.type()Return the associated DTO bean type.Methods inherited from interface CancelableQuery
cancelMethods inherited from interface DtoQuery
findEach, findEach, findEachWhile, findIterate, findList, findOne, findOneOrEmpty, findStream, setArrayParameter, setBufferFetchSizeHint, setFirstRow, setLabel, setMaxRows, setNullParameter, setNullParameter, setParameter, setParameter, setParameter, setParameters, setProfileLocation, setRelaxedMode, setTimeout, usingConnection, usingMaster, usingMaster, usingTransactionMethods inherited from interface SpiCancelableQuery
checkCancelled, setCancelableQueryMethods inherited from interface SpiSqlBinding
getBindParams, getBufferFetchSizeHint, getFirstRow, getLabel, getMaxRows, getQuery, getTimeout, isUseMaster, setDefaultFetchBuffer, transaction
-
Method Details
-
planKey
String planKey()Return the key for query plan. -
queryPlan
Get the query plan for the cache. -
buildPlan
io.ebeaninternal.server.dto.DtoQueryPlan buildPlan(io.ebeaninternal.server.dto.DtoMappingRequest request) Build the query plan. -
putQueryPlan
Put the query plan into the cache. -
isRelaxedMode
boolean isRelaxedMode()Return true if the query is in relaxed mapping mode. -
planLabel
String planLabel()Return the label with fallback to profile location label. -
obtainLocation
void obtainLocation()Obtain the location if necessary. -
profileLocation
ProfileLocation profileLocation()Return the profile location. -
type
-
ormQuery
SpiQuery<?> ormQuery()Return an underlying ORM query (if this query is built from an ORM query).
-