com.simba.dsi.ext.aetree
Class AEQueryOperation

java.lang.Object
  extended by com.simba.dsi.CppClassWrapper
      extended by com.simba.dsi.ext.aetree.AENode
          extended by com.simba.dsi.ext.aetree.AEQueryOperation
Direct Known Subclasses:
AERelationalExpr

public abstract class AEQueryOperation
extends AENode

This abstract base class represents the top-most "query operations" such as SORT, LIMIT (in the future) or any other relational operations such as PROJECT.

An AEQueryOperation can operate on any other AEQueryOperation nodes. For example, a SORT can operates on LIMIT, PROJECT, etc. A LIMIT can also operate on SORT, or PROJECT. Although it is perfectly "legal" to have a SORT operation on another SORT, it is very undesirable if not meaningless.


Constructor Summary
AEQueryOperation(long objRef, AENodeType nodeType)
          Constructor.
 
Method Summary
 IColumn getColumn(int colNumber)
          Retrieves the given column.
 int getColumnCount()
          Returns the number of columns that this relational expression has.
 
Methods inherited from class com.simba.dsi.ext.aetree.AENode
getChild, getChildCount, getNodeType
 
Methods inherited from class com.simba.dsi.CppClassWrapper
getObjRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AEQueryOperation

public AEQueryOperation(long objRef,
                        AENodeType nodeType)
Constructor.

Parameters:
objRef - The corresponding C++ object reference.
nodeType - The node type.
Method Detail

getColumn

public IColumn getColumn(int colNumber)
Retrieves the given column.

Parameters:
colNumber - The column number.
Returns:
The given column.

getColumnCount

public int getColumnCount()
Returns the number of columns that this relational expression has.

Returns:
number of columns that this query operation has.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.