Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa.jdbc » kernel » exps » [javadoc | source]
org.apache.openjpa.jdbc.kernel.exps
class: SubQ [javadoc | source]
java.lang.Object
   org.apache.openjpa.jdbc.kernel.exps.AbstractVal
      org.apache.openjpa.jdbc.kernel.exps.SubQ

All Implemented Interfaces:
    Subquery, Val

A subquery.
Fields inherited from org.apache.openjpa.jdbc.kernel.exps.AbstractVal:
TRUE,  FALSE
Constructor:
 public SubQ(ClassMapping candidate,
    boolean subs,
    String alias) 
    Constructor. Supply candidate, whether subclasses are included in the query, and the query alias.
Method from org.apache.openjpa.jdbc.kernel.exps.SubQ Summary:
acceptVisit,   appendIsEmpty,   appendIsNotEmpty,   appendSize,   appendTo,   calculateValue,   getCandidate,   getCandidateAlias,   getMetaData,   getType,   groupBy,   initialize,   length,   load,   orderBy,   select,   selectColumns,   setImplicitType,   setMetaData,   setQueryExpressions,   toDataStoreValue
Methods from org.apache.openjpa.jdbc.kernel.exps.AbstractVal:
acceptVisit,   appendIsEmpty,   appendIsNotEmpty,   appendIsNotNull,   appendIsNull,   appendSize,   isAggregate,   isVariable,   isXPath,   toDataStoreValue
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.jdbc.kernel.exps.SubQ Detail:
 public  void acceptVisit(ExpressionVisitor visitor) 
 public  void appendIsEmpty(Select sel,
    ExpContext ctx,
    ExpState state,
    SQLBuffer sql) 
 public  void appendIsNotEmpty(Select sel,
    ExpContext ctx,
    ExpState state,
    SQLBuffer sql) 
 public  void appendSize(Select sel,
    ExpContext ctx,
    ExpState state,
    SQLBuffer sql) 
 public  void appendTo(Select sel,
    ExpContext ctx,
    ExpState state,
    SQLBuffer sql,
    int index) 
 public  void calculateValue(Select sel,
    ExpContext ctx,
    ExpState state,
    Val other,
    ExpState otherState) 
 public ClassMapping getCandidate() 
    Return the subquery candidate type.
 public String getCandidateAlias() 
 public ClassMetaData getMetaData() 
 public Class getType() 
 public  void groupBy(Select sel,
    ExpContext ctx,
    ExpState state) 
 public ExpState initialize(Select sel,
    ExpContext ctx,
    int flags) 
 public int length(Select sel,
    ExpContext ctx,
    ExpState state) 
 public Object load(ExpContext ctx,
    ExpState state,
    Result res) throws SQLException 
 public  void orderBy(Select sel,
    ExpContext ctx,
    ExpState state,
    boolean asc) 
 public  void select(Select sel,
    ExpContext ctx,
    ExpState state,
    boolean pks) 
 public  void selectColumns(Select sel,
    ExpContext ctx,
    ExpState state,
    boolean pks) 
 public  void setImplicitType(Class type) 
 public  void setMetaData(ClassMetaData meta) 
 public  void setQueryExpressions(QueryExpressions query) 
 public Object toDataStoreValue(Select sel,
    ExpContext ctx,
    ExpState state,
    Object val)