org.hibernate.hql.ast.tree
Class CollectionFunction

java.lang.Object
  extended byantlr.BaseAST
      extended byantlr.CommonAST
          extended byorg.hibernate.hql.ast.tree.Node
              extended byorg.hibernate.hql.ast.tree.SqlNode
                  extended byorg.hibernate.hql.ast.tree.HqlSqlWalkerNode
                      extended byorg.hibernate.hql.ast.tree.AbstractSelectExpression
                          extended byorg.hibernate.hql.ast.tree.MethodNode
                              extended byorg.hibernate.hql.ast.tree.CollectionFunction
All Implemented Interfaces:
antlr.collections.AST, DisplayableNode, InitializeableNode, SelectExpression, Serializable

public class CollectionFunction
extends MethodNode
implements DisplayableNode

Represents 'elements()' or 'indices()'.

Author:
josh Dec 6, 2004 8:36:42 AM
See Also:
Serialized Form

Field Summary
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
CollectionFunction()
           
 
Method Summary
protected  void prepareSelectColumns(String[] selectColumns)
           
 void resolve(boolean inSelect)
           
 
Methods inherited from class org.hibernate.hql.ast.tree.MethodNode
getDisplayText, getFromElement, getSQLFunction, initializeMethodNode, isCollectionPropertyMethod, isScalar, resolveCollectionProperty, setScalarColumnText
 
Methods inherited from class org.hibernate.hql.ast.tree.AbstractSelectExpression
getAlias, isConstructor, isReturnableEntity, setAlias
 
Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode
getAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initialize
 
Methods inherited from class org.hibernate.hql.ast.tree.SqlNode
getDataType, getOriginalText, setDataType, setText
 
Methods inherited from class org.hibernate.hql.ast.tree.Node
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize
 
Methods inherited from class antlr.CommonAST
getText, getType, initialize, setType
 
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.hibernate.hql.ast.util.DisplayableNode
getDisplayText
 
Methods inherited from interface org.hibernate.hql.ast.tree.SelectExpression
getAlias, getDataType, isConstructor, isReturnableEntity, setAlias, setText
 

Constructor Detail

CollectionFunction

public CollectionFunction()
Method Detail

resolve

public void resolve(boolean inSelect)
             throws antlr.SemanticException
Overrides:
resolve in class MethodNode
Throws:
antlr.SemanticException

prepareSelectColumns

protected void prepareSelectColumns(String[] selectColumns)
Overrides:
prepareSelectColumns in class MethodNode