mondrian.olap
Interface FunCall

All Superinterfaces:
Exp
All Known Implementing Classes:
ResolvedFunCall, UnresolvedFunCall

public interface FunCall
extends Exp

A FunCall is a function applied to a list of operands.

The parser creates function calls as an unresolved function call. The validator converts it to a resolved function call, which has a function definition and extra type information.

Since:
Jan 6, 2006
Author:
jhyde
 

Method Summary
 Exp getArg(int index)
          Returns the indexth argument to this function call.
 int getArgCount()
          Returns the number of arguments to this function.
 Exp[] getArgs()
          Returns the arguments to this function.
 String getFunName()
          Returns the name of the function.
 Syntax getSyntax()
          Returns the syntax of the call.
 
Methods inherited from interface mondrian.olap.Exp
accept, accept, accept, clone, getCategory, getType, unparse
 

Method Detail

getArg

Exp getArg(int index)
Returns the indexth argument to this function call.

Parameters:
index - Ordinal of the argument
Returns:
indexth argument to this function call

getArgs

Exp[] getArgs()
Returns the arguments to this function.

Returns:
array of arguments

getArgCount

int getArgCount()
Returns the number of arguments to this function.

Returns:
number of arguments

getFunName

String getFunName()
Returns the name of the function.


getSyntax

Syntax getSyntax()
Returns the syntax of the call.


SourceForge.net_Logo