|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
CalculatedField |
addCalculatedField(java.lang.String name,
PType type,
Expression exp)
Creates and adds a CalculatedField to the TupleStructure of the QueryNode. |
PropagatedField |
addPropagatedField(java.lang.String name,
PType type,
QueryTreeField[] anc)
Creates and adds a PropagatedField to the TupleStructure of the QueryNode. |
QueryTree[] |
getChildren()
It retreives the array of the QueryTree used by this QueryNode. |
TupleLoader |
getTupleLoader()
Returns the TupleLoader currently associated with this QueryNode. |
short |
getType()
It retrieves the operation type of the current QueryNode. |
boolean |
isOuter(QueryTree child)
Indicates whether a row of nulls should be inserted for the given child if the filter condition fails for all rows in that child. |
QueryTreeField |
removeField(java.lang.String name)
Removes a Field. |
QueryTreeField |
replace(QueryTreeField old,
QueryTreeField neo)
|
void |
setOuter(QueryTree child,
boolean outer)
|
void |
setTupleLoader(TupleLoader loader)
Associates a TupleLoader with this QueryNode. |
void |
updateCalculatedField(java.lang.String name,
Expression e)
|
void |
updatePropagatedField(java.lang.String name,
QueryTreeField[] previous)
|
| 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 |
| Methods inherited from interface org.objectweb.medor.query.api.AnnotationsHolder |
getAnnotations |
| Method Detail |
public PropagatedField addPropagatedField(java.lang.String name,
PType type,
QueryTreeField[] anc)
throws MedorException
name - is the name of the Field to be added. If null, the name is
computed from the origin Fields (parameter anc).type - is the PType of the Field to be added. If null, the type is
computed from the origin Fields (parameter anc).anc - are the origin Fields for the PropagatedField to be created.
MedorException - when a Field with the same name already exists.
public CalculatedField addCalculatedField(java.lang.String name,
PType type,
Expression exp)
throws MedorException
name - is the name of the Field to be added.type - is the PType of the Field to be added.exp - is the Expression for calculating the new Field.
MedorException - when a Field with the same name already exists.
public QueryTreeField removeField(java.lang.String name)
throws MedorException
name - is the name of the Field to be removed.
MedorException - when no Field with such name exist.public QueryTree[] getChildren()
public boolean isOuter(QueryTree child)
public void setOuter(QueryTree child,
boolean outer)
public short getType()
public TupleLoader getTupleLoader()
public void setTupleLoader(TupleLoader loader)
public void updatePropagatedField(java.lang.String name,
QueryTreeField[] previous)
throws MedorException
MedorException
public void updateCalculatedField(java.lang.String name,
Expression e)
throws MedorException
MedorException
public QueryTreeField replace(QueryTreeField old,
QueryTreeField neo)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||