Uses of Record Class
org.synchronoss.cpo.core.CpoQuery
Packages that use CpoQuery
-
Uses of CpoQuery in org.synchronoss.cpo.core
Methods in org.synchronoss.cpo.core that return CpoQueryModifier and TypeMethodDescriptionstatic CpoQueryCpoQuery.defaultGroup()A query against the default (unnamed) function group.static CpoQueryA query against the named function group.CpoQuery.nativeExpression(CpoNativeFunction nativeExpression) Adds a native expression that augments the expression stored in the metadata.CpoQuery.nativeExpressions(Collection<CpoNativeFunction> nativeExpressions) Adds a collection of native expressions.CpoQuery.orderBy(CpoOrderBy orderBy) Adds an ordering.CpoQuery.orderBys(Collection<CpoOrderBy> orderBys) Adds a collection of orderings.Adds a where constraint.CpoQuery.wheres(Collection<CpoWhere> wheres) Adds a collection of where constraints.Methods in org.synchronoss.cpo.core with parameters of type CpoQueryModifier and TypeMethodDescription<T> longCpoAdapter.deleteBean(CpoQuery query, T bean) Removes the bean from the datasource using the query's DELETE function group.<T> longCpoBaseAdapter.deleteBean(CpoQuery query, T bean) <T> longCpoAdapter.deleteBeans(CpoQuery query, List<T> beans) Removes the beans from the datasource using the query's DELETE function group, batching where the datasource supports it.<T> longCpoBaseAdapter.deleteBeans(CpoQuery query, List<T> beans) <T,C> T CpoAdapter.executeBean(CpoQuery query, C criteria, T result) Executes the EXECUTE function group identified by the query — typically a stored procedure — using the criteria bean to populate the IN arguments and the result bean type for the OUT arguments.<T,C> T CpoBaseAdapter.executeBean(CpoQuery query, C criteria, T result) <T> longCpoAdapter.existsBean(CpoQuery query, T bean) Checks whether beans matching the given bean exist in the datasource, using the query's EXIST function group and where constraints.abstract <T> longCpoBaseAdapter.existsBean(CpoQuery query, T bean) The CpoAdapter will check to see if this object exists in the datasource.<T> longCpoAdapter.insertBean(CpoQuery query, T bean) Creates the bean in the datasource using the query's CREATE function group.<T> longCpoBaseAdapter.insertBean(CpoQuery query, T bean) <T> longCpoAdapter.insertBeans(CpoQuery query, List<T> beans) Creates the beans in the datasource using the query's CREATE function group, batching where the datasource supports it.<T> longCpoBaseAdapter.insertBeans(CpoQuery query, List<T> beans) <T,C> T CpoAdapter.retrieveBean(CpoQuery query, C criteria, T result) Retrieves the first bean produced by the query's RETRIEVE function group, using separate criteria and result beans.<T> TCpoAdapter.retrieveBean(CpoQuery query, T bean) Retrieves a single bean from the datasource using the query's RETRIEVE function group, with the given bean supplying the search criteria and receiving the result.<T,C> T CpoBaseAdapter.retrieveBean(CpoQuery query, C criteria, T result) <T> TCpoBaseAdapter.retrieveBean(CpoQuery query, T bean) default <C> Stream<C> CpoAdapter.retrieveBeans(CpoQuery query, C criteria) Retrieves beans from the datasource using the query's LIST function group; the criteria bean type is also the result type.<T,C> Stream <T> CpoAdapter.retrieveBeans(CpoQuery query, C criteria, T result) Retrieves beans from the datasource using the query's LIST function group, with separate criteria and result beans.<T,C> Stream <T> CpoBaseAdapter.retrieveBeans(CpoQuery query, C criteria, T result) <T> longCpoAdapter.updateBean(CpoQuery query, T bean) Updates the bean in the datasource using the query's UPDATE function group.<T> longCpoBaseAdapter.updateBean(CpoQuery query, T bean) <T> longCpoAdapter.updateBeans(CpoQuery query, List<T> beans) Updates the beans in the datasource using the query's UPDATE function group, batching where the datasource supports it.<T> longCpoBaseAdapter.updateBeans(CpoQuery query, List<T> beans) <T> longCpoAdapter.upsertBean(CpoQuery query, T bean) Inserts or updates the bean using the query's UPSERT function group: the EXIST function decides whether the CREATE or UPDATE function is executed.<T> longCpoBaseAdapter.upsertBean(CpoQuery query, T bean) <T> longCpoAdapter.upsertBeans(CpoQuery query, List<T> beans) Inserts or updates the beans using the query's UPSERT function group: for each bean the EXIST function decides whether the CREATE or UPDATE function is executed.<T> longCpoBaseAdapter.upsertBeans(CpoQuery query, List<T> beans)