com.triactive.jdo.store.sql.expr
Class TableExprAsSubquery

java.lang.Object
  extended bycom.triactive.jdo.store.sql.expr.TableExpression
      extended bycom.triactive.jdo.store.sql.expr.TableExprAsSubquery

public class TableExprAsSubquery
extends TableExpression

A SQL table expression that joins superclass tables by constructing a parenthesized sub-SELECT statement.

Author:
Mike Martin
See Also:
QueryStatement

Field Summary
protected  java.util.ArrayList columns
           
protected  boolean multipleTablesReferenced
           
 
Fields inherited from class com.triactive.jdo.store.sql.expr.TableExpression
mainRangeVar, mainTable, outerJoinedOn, qs, sqlText
 
Constructor Summary
TableExprAsSubquery(QueryStatement qs, Table mainTable, CorrelationName mainRangeVar)
           
 
Method Summary
 CorrelationName referenceColumn(Column col)
           
 java.lang.String toString()
           
 
Methods inherited from class com.triactive.jdo.store.sql.expr.TableExpression
assertNotFrozen, getColumn, getColumns, getQueryStatement, isOuterJoined, mainRangeVariable, mainTable, outerJoinedOn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

columns

protected final java.util.ArrayList columns

multipleTablesReferenced

protected boolean multipleTablesReferenced
Constructor Detail

TableExprAsSubquery

public TableExprAsSubquery(QueryStatement qs,
                           Table mainTable,
                           CorrelationName mainRangeVar)
Method Detail

referenceColumn

public CorrelationName referenceColumn(Column col)

toString

public java.lang.String toString()
Specified by:
toString in class TableExpression


Copyright © 2001-2007 The TJDO Project All Rights Reserved.