org.datanucleus.store.mapped.expression
Class TableExprAsSubjoins

java.lang.Object
  extended by org.datanucleus.store.mapped.expression.LogicSetExpression
      extended by org.datanucleus.store.mapped.expression.TableExprAsSubjoins

public class TableExprAsSubjoins
extends LogicSetExpression

A SQL table expression that joins superclass tables by constructing a parenthesized set of subjoins. Used by Informix.

See Also:
QueryExpression

Field Summary
protected  java.util.ArrayList supertables
           
 
Fields inherited from class org.datanucleus.store.mapped.expression.LogicSetExpression
embeddedFieldMappings, LOCALISER, mainAlias, mainTable, qs, sqlText
 
Constructor Summary
TableExprAsSubjoins(QueryExpression qs, DatastoreContainerObject mainTable, DatastoreIdentifier mainRangeVar)
           
 
Method Summary
 java.lang.String referenceColumn(DatastoreField col)
          Return an identifier/reference to the datastore field/column.
 java.lang.String toString()
           
 
Methods inherited from class org.datanucleus.store.mapped.expression.LogicSetExpression
assertNotFrozen, equals, getAlias, getMainTable, hashCode, newFieldExpression
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

supertables

protected final java.util.ArrayList supertables
Constructor Detail

TableExprAsSubjoins

public TableExprAsSubjoins(QueryExpression qs,
                           DatastoreContainerObject mainTable,
                           DatastoreIdentifier mainRangeVar)
Parameters:
qs - the QueryExpression
mainTable - the main table in the query
mainRangeVar - The alias/identifier of the table in the query
Method Detail

referenceColumn

public java.lang.String referenceColumn(DatastoreField col)
Description copied from class: LogicSetExpression
Return an identifier/reference to the datastore field/column.

Specified by:
referenceColumn in class LogicSetExpression
Parameters:
col - the column to have a reference
Returns:
identifier or fully qualified identifier

toString

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


Copyright © 2010. All Rights Reserved.