atg.repository.rql
Class RqlExpression

java.lang.Object
  extended by atg.repository.rql.RqlExpression
All Implemented Interfaces:
java.io.Serializable

public abstract class RqlExpression
extends java.lang.Object
implements java.io.Serializable

This is the base class for RQL expressions - expressions that are part of a query but cannot themselves be a query (because they do not necessarily evaluate to a boolean value).

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
RqlExpression()
          Constructor
 
Method Summary
abstract  QueryExpression createQueryExpression(QueryBuilder pBuilder, RepositoryView pView, java.lang.Object[] pParams)
          This uses the specified query builder to construct the query expression corresponding to this instance.
 QueryExpression createQueryExpression(QueryBuilder pBuilder, RepositoryView pView, java.lang.Object[] pParams, boolean pCacheable)
          This uses the specified query builder to construct the query expression corresponding to this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

RqlExpression

public RqlExpression()
Constructor

Method Detail

createQueryExpression

public abstract QueryExpression createQueryExpression(QueryBuilder pBuilder,
                                                      RepositoryView pView,
                                                      java.lang.Object[] pParams)
                                               throws RepositoryException
This uses the specified query builder to construct the query expression corresponding to this instance. The parameters are substituted into the values of any ParameterExpressions.

Throws:
RepositoryException

createQueryExpression

public QueryExpression createQueryExpression(QueryBuilder pBuilder,
                                             RepositoryView pView,
                                             java.lang.Object[] pParams,
                                             boolean pCacheable)
                                      throws RepositoryException
This uses the specified query builder to construct the query expression corresponding to this instance. The parameters are substituted into the values of any ParameterExpressions. The boolean pCacheable is used to indicate that this parameter can or cannot perform certain optimizations

Throws:
RepositoryException