java.lang.Object
io.ebean.typequery.TQProperty<R,Object>
io.ebean.typequery.TQAssoc<T,R>
io.ebean.typequery.TQAssocBean<T,R,QB>
- Type Parameters:
T- the entity bean type (normal entity bean type e.g. Customer)R- the specific root query bean type (e.g. QCustomer)QB- the query bean type
- All Implemented Interfaces:
io.ebean.Query.Property<Object>
Base type for associated beans that are not embeddable.
-
Field Summary
Fields inherited from class io.ebean.typequery.TQProperty
_name, _root -
Constructor Summary
ConstructorsConstructorDescriptionTQAssocBean(String name, R root) Construct with a property name and root instance.TQAssocBean(String name, R root, String prefix) Construct with additional path prefix. -
Method Summary
Modifier and TypeMethodDescriptionprotected final R_filterMany(io.ebean.ExpressionList<T> filter) protected final R_filterManyRaw(String rawExpressions, Object... params) protected final R_isEmpty()protected final Rprotected final <S> io.ebean.ExpressionList<S> final Rfetch()Eagerly fetch this association fetching all the properties.final Rfetch(io.ebean.FetchConfig config, TQProperty<QB, ?>... properties) Fetch this association with config for the type of fetch and the specified properties.final RFetch using the nested FetchGroup.final Rfetch(TQProperty<QB, ?>... properties) Eagerly fetch this association loading the specified properties.final REagerly fetch this association with the properties specified.final REagerly fetch this association using L2 bean cache.final RfetchCache(io.ebean.FetchGroup<T> nestedGroup) Fetch cache using the nested FetchGroup.final RfetchCache(TQProperty<QB, ?>... properties) Eagerly fetch this association using L2 cache.final RfetchCache(String properties) Eagerly fetch this association using L2 cache with the properties specified.final RUse lazy loading for fetching this association.final RfetchLazy(TQProperty<QB, ?>... properties) Use lazy loading for this association loading the specified properties.final REagerly fetch this association using a "query join".final RfetchQuery(io.ebean.FetchGroup<T> nestedGroup) Fetch query using the nested FetchGroup.final RfetchQuery(TQProperty<QB, ?>... properties) Eagerly fetch this association using a 'query join' loading the specified properties.final RfetchQuery(String properties) Eagerly fetch this association using a "query join" with the properties specified.Methods inherited from class io.ebean.typequery.TQAssoc
eq, eqIfPresent, equalTo, in, in, inOrEmpty, ne, notEqualTo, notIn, notInMethods inherited from class io.ebean.typequery.TQProperty
expr, isNotNull, isNull, propertyName, toString
-
Constructor Details
-
TQAssocBean
Construct with a property name and root instance.- Parameters:
name- the name of the propertyroot- the root query bean instance
-
TQAssocBean
Construct with additional path prefix.
-
-
Method Details
-
fetch
Eagerly fetch this association fetching all the properties. -
fetchQuery
Eagerly fetch this association using a "query join". -
fetchCache
Eagerly fetch this association using L2 bean cache. Cache misses are populated via fetchQuery(). -
fetchLazy
Use lazy loading for fetching this association. -
fetch
Eagerly fetch this association with the properties specified. -
fetchQuery
Eagerly fetch this association using a "query join" with the properties specified. -
fetchCache
Eagerly fetch this association using L2 cache with the properties specified. Cache misses are populated via fetchQuery(). -
fetch
Eagerly fetch this association loading the specified properties. -
fetch
Fetch this association with config for the type of fetch and the specified properties.- Parameters:
config- Fetch configuration to define the type of fetch to useproperties- The properties to fetch
-
fetchQuery
Eagerly fetch this association using a 'query join' loading the specified properties. -
fetchCache
Eagerly fetch this association using L2 cache. -
fetchLazy
Use lazy loading for this association loading the specified properties. -
fetch
Fetch using the nested FetchGroup. -
fetchQuery
Fetch query using the nested FetchGroup. -
fetchCache
Fetch cache using the nested FetchGroup. -
_filterMany
-
_filterManyRaw
-
_isEmpty
-
_isNotEmpty
-
_newExpressionList
protected final <S> io.ebean.ExpressionList<S> _newExpressionList()
-