|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.store.expression.LogicSetExpression
Represents a Set. A collection of objects. For in-depth details read about the mathematical "set" theory. Pragmatically, it represents a SQL table expression as might be listed in the FROM clause of a SELECT statement. A table expression is a fragment of a larger containing QueryStatement.
A table expression has a base "main" table. If that table serves as backing for a Java class, and that class has persistence-capable superclasses, then the table expression may include joins to superclass tables, or may cause such joins to occur in its surrounding QueryStatement.
QueryExpression
Field Summary | |
protected java.util.Map |
embeddedFieldMappings
Collection of field expressions already created for this table expression. |
protected static Localiser |
LOCALISER
Localiser for messages |
protected DatastoreIdentifier |
mainRangeVar
|
protected DatastoreContainerObject |
mainTable
|
protected QueryExpression |
qs
|
protected java.lang.String |
sqlText
The SQL text. |
protected StoreManager |
storeMgr
|
Constructor Summary | |
protected |
LogicSetExpression(QueryExpression qs,
DatastoreContainerObject mainTable,
DatastoreIdentifier mainRangeVar)
Constructor. |
Method Summary | |
protected void |
assertNotFrozen()
|
boolean |
equals(java.lang.Object obj)
|
DatastoreObject |
getMainTable()
Accessor for the main table for this expression. |
DatastoreIdentifier |
getRangeVariable()
Accessor for the range variable for this table expression. |
int |
hashCode()
|
ScalarExpression |
newFieldExpression(java.lang.String fieldName)
Accessor for a field expression on this table |
abstract java.lang.String |
referenceColumn(DatastoreField col)
Return an identifier/reference to the datastore field/column. |
abstract java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final Localiser LOCALISER
protected final QueryExpression qs
protected final DatastoreContainerObject mainTable
protected final DatastoreIdentifier mainRangeVar
protected final StoreManager storeMgr
protected java.lang.String sqlText
protected java.util.Map embeddedFieldMappings
Constructor Detail |
protected LogicSetExpression(QueryExpression qs, DatastoreContainerObject mainTable, DatastoreIdentifier mainRangeVar)
qs
- Query ExpressionmainTable
- The main table for this querymainRangeVar
- Table range variableMethod Detail |
protected void assertNotFrozen()
public final DatastoreObject getMainTable()
public final DatastoreIdentifier getRangeVariable()
public ScalarExpression newFieldExpression(java.lang.String fieldName)
fieldName
- Name of the field
public abstract java.lang.String referenceColumn(DatastoreField col)
col
- the column to have a reference
public abstract java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |