|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Query | |
|---|---|
| org.apache.ojb.broker | |
| org.apache.ojb.broker.accesslayer | |
| org.apache.ojb.broker.accesslayer.sql | This package contains the OJB SQL generator classes. |
| org.apache.ojb.broker.core | |
| org.apache.ojb.broker.core.proxy | |
| org.apache.ojb.broker.query | |
| org.apache.ojb.broker.util | |
| org.apache.ojb.odmg.oql | |
| org.apache.ojb.otm | |
| org.apache.ojb.otm.core | |
| org.apache.ojb.soda | |
| Uses of Query in org.apache.ojb.broker |
|---|
| Methods in org.apache.ojb.broker with parameters of type Query | |
|---|---|
void |
PersistenceBroker.deleteByQuery(Query query)
Deletes all objects matching the given query, from the underlying persistence system. |
ManageableCollection |
PersistenceBroker.getCollectionByQuery(Class collectionClass,
Query query)
Retrieves the persistent objects matching the given query. |
Collection |
PersistenceBroker.getCollectionByQuery(Query query)
Retrieves the persistent objects matching the given query. |
int |
PersistenceBroker.getCount(Query query)
Returns the number of elements that the given query will return. |
Iterator |
PersistenceBroker.getIteratorByQuery(Query query)
Retrieves the persistent objects matching the given query and returns them as an iterator which may, depending on the configured collection type, be reloading the objects from the database upon calling Iterator.next(). |
Object |
PersistenceBroker.getObjectByQuery(Query query)
Retrieve the (first) persistent object from the underlying datastore that matches the given query. |
Enumeration |
PersistenceBroker.getPKEnumerationByQuery(Class pkClass,
Query query)
Returns an enumeration of objects representing the primary keys for the objects that match the given query. |
Iterator |
PersistenceBroker.getReportQueryIteratorByQuery(Query query)
Retrieves the rows (as Object[] instances) matching the given query and
returns them as an iterator which may, depending on the configured collection type, be reloading
the objects from the database upon calling Iterator.next(). |
| Uses of Query in org.apache.ojb.broker.accesslayer |
|---|
| Methods in org.apache.ojb.broker.accesslayer that return Query | |
|---|---|
protected Query[] |
MtoNCollectionPrefetcher.buildMtoNImplementorQueries(Collection owners,
Collection children)
Build the multiple queries for one relationship because of limitation of IN(...) |
protected Query |
MtoNCollectionPrefetcher.buildMtoNImplementorQuery(Collection ids)
Build a query to read the mn-implementors |
protected Query[] |
CollectionPrefetcher.buildPrefetchQueries(Collection owners,
Collection children)
Build the multiple queries for one relationship because of limitation of IN(...) |
protected Query[] |
PlainPrefetcher.buildPrefetchQueries(Collection proxies,
Collection realSubjects)
Build the multiple queries for one relationship because of limitation of IN(...) |
protected Query[] |
ReferencePrefetcher.buildPrefetchQueries(Collection owners,
Collection children)
Build the multiple queries for one relationship because of limitation of IN(...) |
protected abstract Query[] |
BasePrefetcher.buildPrefetchQueries(Collection owners,
Collection children)
|
protected Query |
PlainPrefetcher.buildPrefetchQuery(Class clazz,
Collection ids,
boolean withExtents)
|
protected Query |
CollectionPrefetcher.buildPrefetchQuery(Collection ids)
Build the query to perform a batched read get orderBy settings from CollectionDescriptor |
protected Query |
MtoNCollectionPrefetcher.buildPrefetchQuery(Collection ids)
Build the prefetch query for a M-N relationship, The query looks like the following sample : |
protected Query |
ReferencePrefetcher.buildPrefetchQuery(Collection ids)
|
Query |
QueryCustomizer.customizeQuery(Object anObject,
PersistenceBroker aBroker,
CollectionDescriptor aCod,
QueryByCriteria aQuery)
Return a new Query based on the original Query, the originator object and the additional Attributes. |
Query |
QueryCustomizerDefaultImpl.customizeQuery(Object anObject,
PersistenceBroker aBroker,
CollectionDescriptor aCod,
QueryByCriteria aQuery)
Default implementation returns unmodified original Query |
Query |
RsQueryObject.getQuery()
|
| Methods in org.apache.ojb.broker.accesslayer with parameters of type Query | |
|---|---|
int |
StatementManager.bindStatement(PreparedStatement stmt,
Query query,
ClassDescriptor cld,
int param)
bind a Query based Select Statement |
int |
StatementManagerIF.bindStatement(PreparedStatement stmt,
Query query,
ClassDescriptor cld,
int param)
bind a Query based Select Statement |
void |
JdbcAccess.executeDelete(Query query,
ClassDescriptor cld)
performs a DELETE operation based on the given Query against RDBMS. |
void |
JdbcAccessImpl.executeDelete(Query query,
ClassDescriptor cld)
Performs a DELETE operation based on the given Query against RDBMS. |
ResultSetAndStatement |
JdbcAccess.executeQuery(Query query,
ClassDescriptor cld)
performs a SELECT operation against RDBMS. |
ResultSetAndStatement |
JdbcAccessImpl.executeQuery(Query query,
ClassDescriptor cld)
performs a SELECT operation against RDBMS. |
static RsQueryObject |
RsQueryObject.get(ClassDescriptor cld,
Query query)
Returns a new instance of this class. |
| Constructors in org.apache.ojb.broker.accesslayer with parameters of type Query | |
|---|---|
PkEnumeration(Query query,
ClassDescriptor cld,
Class primaryKeyClass,
PersistenceBroker broker)
PkEnumeration constructor. |
|
| Uses of Query in org.apache.ojb.broker.accesslayer.sql |
|---|
| Methods in org.apache.ojb.broker.accesslayer.sql that return Query | |
|---|---|
Query |
SelectStatement.getQueryInstance()
Returns the Query instance
this statement based on. |
Query |
SqlSelectStatement.getQueryInstance()
|
| Methods in org.apache.ojb.broker.accesslayer.sql with parameters of type Query | |
|---|---|
SqlStatement |
SqlGeneratorDefaultImpl.getPreparedDeleteStatement(Query query,
ClassDescriptor cld)
generate a prepared DELETE-Statement according to query |
SqlStatement |
SqlGenerator.getPreparedDeleteStatement(Query query,
ClassDescriptor cld)
generate a prepared DELETE-Statement according to query |
SelectStatement |
SqlGeneratorDefaultImpl.getPreparedSelectStatement(Query query,
ClassDescriptor cld)
generate a select-Statement according to query |
SelectStatement |
SqlGenerator.getPreparedSelectStatement(Query query,
ClassDescriptor cld)
generate a select-Statement according to query |
SelectStatement |
SqlGeneratorDefaultImpl.getSelectStatementDep(Query query,
ClassDescriptor cld)
generate a select-Statement according to query |
SelectStatement |
SqlGenerator.getSelectStatementDep(Query query,
ClassDescriptor cld)
generate a select-Statement according to query |
| Constructors in org.apache.ojb.broker.accesslayer.sql with parameters of type Query | |
|---|---|
SqlDeleteByQuery(Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlDeleteByQuery. |
|
SqlQueryStatement(Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlCriteriaStatement. |
|
SqlQueryStatement(SqlQueryStatement parent,
Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlCriteriaStatement. |
|
SqlSelectStatement(Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlSelectStatement. |
|
SqlSelectStatement(SqlQueryStatement parent,
Platform pf,
ClassDescriptor cld,
Query query,
Logger logger)
Constructor for SqlSelectStatement. |
|
| Uses of Query in org.apache.ojb.broker.core |
|---|
| Methods in org.apache.ojb.broker.core that return Query | |
|---|---|
Query |
QueryReferenceBroker.getPKQuery(Identity oid)
Answer the primary key query to retrieve an Object |
| Methods in org.apache.ojb.broker.core with parameters of type Query | |
|---|---|
void |
DelegatingPersistenceBroker.deleteByQuery(Query query)
|
void |
PersistenceBrokerBean.deleteByQuery(Query query)
|
void |
PersistenceBrokerImpl.deleteByQuery(Query query)
|
ManageableCollection |
DelegatingPersistenceBroker.getCollectionByQuery(Class collectionClass,
Query query)
|
ManageableCollection |
PersistenceBrokerBean.getCollectionByQuery(Class collectionClass,
Query query)
|
ManageableCollection |
PersistenceBrokerImpl.getCollectionByQuery(Class collectionClass,
Query query)
retrieve a collection of type collectionClass matching the Query query |
ManageableCollection |
QueryReferenceBroker.getCollectionByQuery(Class collectionClass,
Query query,
boolean lazy)
retrieve a collection of type collectionClass matching the Query query if lazy = true return a CollectionProxy |
Collection |
DelegatingPersistenceBroker.getCollectionByQuery(Query query)
|
Collection |
PersistenceBrokerBean.getCollectionByQuery(Query query)
|
Collection |
PersistenceBrokerImpl.getCollectionByQuery(Query query)
retrieve a collection of itemClass Objects matching the Query query |
Collection |
QueryReferenceBroker.getCollectionByQuery(Query query,
boolean lazy)
retrieve a collection of itemClass Objects matching the Query query |
int |
DelegatingPersistenceBroker.getCount(Query query)
|
int |
PersistenceBrokerBean.getCount(Query query)
|
int |
PersistenceBrokerImpl.getCount(Query query)
|
Iterator |
DelegatingPersistenceBroker.getIteratorByQuery(Query query)
|
Iterator |
PersistenceBrokerBean.getIteratorByQuery(Query query)
|
Iterator |
PersistenceBrokerImpl.getIteratorByQuery(Query query)
returns an Iterator that iterates Objects of class c if calling the .next() method. |
protected OJBIterator |
PersistenceBrokerImpl.getIteratorFromQuery(Query query,
ClassDescriptor cld)
Get an extent aware Iterator based on the Query |
Object |
DelegatingPersistenceBroker.getObjectByQuery(Query query)
|
Object |
PersistenceBrokerBean.getObjectByQuery(Query query)
|
Object |
PersistenceBrokerImpl.getObjectByQuery(Query query)
retrieve an Object by query I.e perform a SELECT ... |
Enumeration |
DelegatingPersistenceBroker.getPKEnumerationByQuery(Class primaryKeyClass,
Query query)
|
Enumeration |
PersistenceBrokerBean.getPKEnumerationByQuery(Class PrimaryKeyClass,
Query query)
|
Enumeration |
PersistenceBrokerImpl.getPKEnumerationByQuery(Class primaryKeyClass,
Query query)
returns an Enumeration of PrimaryKey Objects for objects of class DataClass. |
Iterator |
DelegatingPersistenceBroker.getReportQueryIteratorByQuery(Query query)
|
Iterator |
PersistenceBrokerBean.getReportQueryIteratorByQuery(Query query)
|
Iterator |
PersistenceBrokerImpl.getReportQueryIteratorByQuery(Query query)
Get an Iterator based on the ReportQuery |
| Uses of Query in org.apache.ojb.broker.core.proxy |
|---|
| Methods in org.apache.ojb.broker.core.proxy that return Query | |
|---|---|
Query |
CollectionProxyDefaultImpl.getQuery()
Returns the defining query. |
| Methods in org.apache.ojb.broker.core.proxy with parameters of type Query | |
|---|---|
ManageableCollection |
ProxyFactory.createCollectionProxy(PBKey brokerKey,
Query query,
Class collectionClass)
Create a Collection Proxy for a given context. |
ManageableCollection |
AbstractProxyFactory.createCollectionProxy(PBKey brokerKey,
Query query,
Class collectionClass)
Create a Collection Proxy for a given query. |
protected void |
CollectionProxyDefaultImpl.setQuery(Query query)
Sets the defining query. |
| Constructors in org.apache.ojb.broker.core.proxy with parameters of type Query | |
|---|---|
CollectionProxyDefaultImpl(PBKey brokerKey,
Class collClass,
Query query)
Creates a new collection proxy that uses the given collection type. |
|
CollectionProxyDefaultImpl(PBKey brokerKey,
Query query)
Creates a new collection proxy (uses RemovalAwareCollection
as the collection class). |
|
ListProxyDefaultImpl(PBKey aKey,
Class aCollClass,
Query aQuery)
Constructor for ListProxy. |
|
ListProxyDefaultImpl(PBKey aKey,
Query aQuery)
Constructor for ListProxy. |
|
SetProxyDefaultImpl(PBKey aKey,
Class aCollClass,
Query aQuery)
Constructor for SetProxy. |
|
SetProxyDefaultImpl(PBKey aKey,
Query aQuery)
Constructor for SetProxy. |
|
| Uses of Query in org.apache.ojb.broker.query |
|---|
| Classes in org.apache.ojb.broker.query that implement Query | |
|---|---|
class |
AbstractQueryImpl
Abstract implemenation of Query interface |
class |
QueryByCriteria
represents a search by criteria. |
class |
QueryByIdentity
Represents a search by identity. |
class |
QueryByMtoNCriteria
represents a search by criteria. |
class |
QueryBySQL
|
class |
ReportQueryByCriteria
Query for Reports. |
class |
ReportQueryByMtoNCriteria
ReportQuery using MtoNCriteria, for internal use |
| Methods in org.apache.ojb.broker.query with parameters of type Query | |
|---|---|
void |
Criteria.addExists(Query subQuery)
Adds an exists(sub query) |
void |
Criteria.addIn(Object attribute,
Query subQuery)
IN Criteria with SubQuery |
void |
Criteria.addNotExists(Query subQuery)
Adds a not exists(sub query) |
void |
Criteria.addNotIn(String attribute,
Query subQuery)
NOT IN Criteria with SubQuery |
| Uses of Query in org.apache.ojb.broker.util |
|---|
| Methods in org.apache.ojb.broker.util that return Query | |
|---|---|
Query |
BrokerHelper.getCountQuery(Query aQuery)
Build a Count-Query based on aQuery |
| Methods in org.apache.ojb.broker.util with parameters of type Query | |
|---|---|
Query |
BrokerHelper.getCountQuery(Query aQuery)
Build a Count-Query based on aQuery |
| Uses of Query in org.apache.ojb.odmg.oql |
|---|
| Methods in org.apache.ojb.odmg.oql that return Query | |
|---|---|
Query |
OQLParser.buildQuery()
|
Query |
OQLParser.existsQuery()
|
Query |
OQLQueryImpl.getQuery()
returns the compiled query object |
| Uses of Query in org.apache.ojb.otm |
|---|
| Methods in org.apache.ojb.otm with parameters of type Query | |
|---|---|
Collection |
OTMConnection.getCollectionByQuery(Query query)
|
Collection |
OTMConnection.getCollectionByQuery(Query query,
int lock)
|
int |
OTMConnection.getCount(Query query)
return the number of objects that would be returned from this query |
Iterator |
OTMConnection.getIteratorByQuery(Query query)
|
Iterator |
OTMConnection.getIteratorByQuery(Query query,
int lock)
|
| Uses of Query in org.apache.ojb.otm.core |
|---|
| Methods in org.apache.ojb.otm.core with parameters of type Query | |
|---|---|
Collection |
BaseConnection.getCollectionByQuery(Query query)
|
Collection |
BaseConnection.getCollectionByQuery(Query query,
int lock)
|
int |
BaseConnection.getCount(Query query)
|
Iterator |
BaseConnection.getIteratorByQuery(Query query)
|
Iterator |
BaseConnection.getIteratorByQuery(Query query,
int lock)
|
| Uses of Query in org.apache.ojb.soda |
|---|
| Methods in org.apache.ojb.soda with parameters of type Query | |
|---|---|
void |
QueryImpl.setOjbQuery(Query ojbQuery)
Sets the ojbQuery, needed only as long we don't support the soda constraint stuff. |
| Constructors in org.apache.ojb.soda with parameters of type Query | |
|---|---|
ObjectSetImpl(PersistenceBroker broker,
Query query,
int limit)
Constructor for ObjectSetImpl. |
|
QueryImpl(Query query)
wrapping constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||