org.objectweb.medor.query.lib
Class Unnest
- Cloneable, Cloneable, FilteredQueryTree, QueryNode, QueryTree, TupleStructure, UnnestQueryNode
MEDOR: Middleware Enabling Distributed Object Requests
Copyright (C) 2001-2004 France Telecom R&D
Contact: alexandre.lefebvre@rd.francetelecom.com
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Initial developers: M. Alia, S. Chassande-Barrioz, A. Lefebvre
addCalculatedField , addChild , addField , addPropagatedField , clone , getChildren , getFieldName , getQueryFilter , getTupleLoader , getType , isOuter , removeField , replace , setOuter , setQueryFilter , setTupleLoader , updateCalculatedField , updateChildren , updatePropagatedField |
unnestedField
protected NestedField unnestedField
It lists the fields which have been grouped.
clone
public Object clone(Object clone,
Map obj2clone)
throws CloneNotSupportedException
- clone in interface BasicQueryNode
setQueryFilter
public void setQueryFilter(Expression e)
Sets the filter associated to the FilteredQueryTree. This filter is
represented by an Expression.
For a QueryNode:
This method also updates the list of QueryTree children of the current
QueryNode according to the FieldOperands present in the Expression.
Usage constraint: if the QueryNode already has an associated
Expression, and if this Expression has been modified, the user is
requested to call the setQueryFilter method after the modification.
For a RbdQueryLeaf:
It sets the filter associated to the RbdQueryLeaf. This filter is
represented by an Expression. Unlike the filter of a QueryNode, is
applies to its own Fields, instead of the Fields of its children.
- setQueryFilter in interface FilteredQueryTree
- setQueryFilter in interface BasicQueryNode
e
- is the Expression representing the query filter of the current
QueryNode.
Expression