com.ibm.websphere.query.base
Class Query
java.lang.Object
com.ibm.websphere.query.base.Query
- All Implemented Interfaces:
- IQuery, IStringBuilder, java.io.Serializable
- Direct Known Subclasses:
- SelectQuery
public abstract class Query
- extends java.lang.Object
- implements IQuery
The base abstract implementation of IQuery.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
Query
public Query()
Query
public Query(Query query)
getPagination
public Pagination getPagination()
setPagination
public void setPagination(Pagination pagination)
getPredicate
public PredicateBase getPredicate()
- Specified by:
getPredicate
in interface IQuery
- See Also:
IQuery.getPredicate()
setPredicate
public void setPredicate(PredicateBase predicate)
- Specified by:
setPredicate
in interface IQuery
- See Also:
IQuery.setPredicate(PredicateBase)
getCollectionParams
public ICondition[] getCollectionParams()
- Returns the resource collection parameters used in conjunction with this query.
Not normally used by most callback implementations.
- Specified by:
getCollectionParams
in interface IQuery
setCollectionParams
public void setCollectionParams(ICondition[] collectionParams)
- Sets the resource collection parameters used in conjunction with this query
- Specified by:
setCollectionParams
in interface IQuery
getFrom
public IFrom getFrom()
- Specified by:
getFrom
in interface IQuery
- See Also:
IQuery.getFrom()
setFrom
public void setFrom(IFrom from)
- Specified by:
setFrom
in interface IQuery
- See Also:
IQuery.setFrom(com.ibm.websphere.query.base.IFrom)
buildPredicateString
public java.lang.String buildPredicateString(ISelectQueryCallback builder)
throws QueryException
- Builds a predicate string for the query by delegating the operation to the given query
builder callback.
- Throws:
QueryException
buildPredicateString
public void buildPredicateString(ISelectQueryCallback builder,
java.lang.StringBuffer sb)
throws QueryException
- Throws:
QueryException
isCacheable
public boolean isCacheable()
- Returns:
setCacheable
public void setCacheable(boolean b)
- Parameters:
b
-