|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All nesting fields (group by) are projected. As an example, it is NOT possible to do select a from r group by a, b. This operation must be decomposed into select a, b from r group by a, b followed by select a from result.
Method Summary | |
NestedField |
getNestedField()
Gives the new NestedField |
PropagatedField[] |
getNestingFields()
Gives the the fields which will be used to define groups. |
NestedField |
replaceNestedField(java.lang.String name,
Field[] anc)
Creates and adds a NestedField to the TupleStructure of the QueryNode. |
Methods inherited from interface org.objectweb.medor.query.api.QueryNode |
addCalculatedField, addPropagatedField, getChildren, getOptimizationMetaData, getTupleLoader, getType, removeField, replace, setTupleLoader, updateCalculatedField, updatePropagatedField |
Methods inherited from interface org.objectweb.medor.query.api.FilteredQueryTree |
getQueryFilter, setQueryFilter |
Methods inherited from interface org.objectweb.medor.query.api.QueryTree |
getDistinct, getName, getOrderBy, getTupleStructure, setDistinct, setOrderBy |
Method Detail |
public NestedField replaceNestedField(java.lang.String name, Field[] anc) throws MedorException
name
- is the name of the Field to be added.anc
- are the grouped Fields for the NestedField to be created.
MedorException
- when a Field with the same name already exists.public PropagatedField[] getNestingFields()
public NestedField getNestedField()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |