|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.medor.lib.BasicTupleStructure | +--org.objectweb.medor.query.lib.BasicQueryTree | +--org.objectweb.medor.query.lib.BasicQueryNode | +--org.objectweb.medor.query.lib.Project
Field Summary |
Fields inherited from class org.objectweb.medor.query.lib.BasicQueryNode |
children, filter, indexes, tupleLoader |
Fields inherited from class org.objectweb.medor.query.lib.BasicQueryTree |
debug, distinct, log, name, orderfields |
Fields inherited from class org.objectweb.medor.lib.BasicTupleStructure |
fields, name2field |
Constructor Summary | |
Project(java.lang.String[] fieldNames,
QueryTree child,
java.lang.String nodeName,
OptimizationMetaData optimizationMD)
Constructs a Project node from an array of fieldNames to be projected from a given (child) QueryTree. |
|
Project(java.lang.String nodeName,
OptimizationMetaData optimizationMD)
Basic constructor. |
Method Summary | |
short |
getType()
It retrieves the operation type of the current QueryNode. |
void |
setQueryFilter(Expression e)
The setQueryFilter method will be overwritten for implementations which do not support the operation. |
Methods inherited from class org.objectweb.medor.query.lib.BasicQueryNode |
addCalculatedField, addChild, addField, addPropagatedField, clone, getChildren, getDistinct, getFieldName, getName, getOptimizationMetaData, getQueryFilter, getTupleLoader, getTupleStructure, removeField, replace, setDistinct, setTupleLoader, updateCalculatedField, updateChildren, updatePropagatedField |
Methods inherited from class org.objectweb.medor.query.lib.BasicQueryTree |
getOrderBy, setOrderBy |
Methods inherited from class org.objectweb.medor.lib.BasicTupleStructure |
contains, contains, getField, getField, getFieldRank, getFields, getSize |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.medor.query.api.QueryTree |
getOrderBy, setOrderBy |
Constructor Detail |
public Project(java.lang.String nodeName, OptimizationMetaData optimizationMD) throws MedorException
public Project(java.lang.String[] fieldNames, QueryTree child, java.lang.String nodeName, OptimizationMetaData optimizationMD) throws MedorException
fieldNames
- is the array of field names for which the Field is to
be projected.child
- is the child QueryTree on which the projection operates.Method Detail |
public short getType()
QueryNode
getType
in interface QueryNode
getType
in class BasicQueryNode
public void setQueryFilter(Expression e)
BasicQueryNode
setQueryFilter
in interface FilteredQueryTree
setQueryFilter
in class BasicQueryNode
e
- is the Expression representing the query filter of the current
QueryNode.Expression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |