net.sf.saffron.rex
Class RexList
java.lang.Object
|
+--net.sf.saffron.rex.RexNode
|
+--net.sf.saffron.rex.RexList
- public class RexList
- extends RexNode
List of row-expression nodes
- Since:
- Nov 23, 2003
- Version:
- $Id: $
- Author:
- jhyde
Constructor Summary |
RexList()
Creates an empty RexList . |
RexList(Collection collection)
Creates a RexList containing the nodes in
list . |
RexList(RexNode[] nodes)
Creates a RexList with a collection of elements. |
list
private final ArrayList list
RexList
public RexList()
- Creates an empty
RexList
.
RexList
public RexList(Collection collection)
- Creates a
RexList
containing the nodes in
list
. The list is copied, but the nodes in it are not.
RexList
public RexList(RexNode[] nodes)
- Creates a
RexList
with a collection of elements.
getType
public SaffronType getType()
- Specified by:
getType
in class RexNode
getList
public List getList()
add
public void add(RexNode node)
clone
public Object clone()
- Specified by:
clone
in class RexNode
get
public RexNode get(int n)
size
public int size()