Package mondrian.olap
Interface FunCall
-
- All Superinterfaces:
Exp
- All Known Implementing Classes:
ResolvedFunCall,UnresolvedFunCall
public interface FunCall extends Exp
AFunCallis a function applied to a list of operands.The parser creates function calls as an
unresolved function call. The validator converts it to aresolved function call, which has afunction definitionand extra type information.- Since:
- Jan 6, 2006
- Author:
- jhyde
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpgetArg(int index)Returns theindexth argument to this function call.intgetArgCount()Returns the number of arguments to this function.Exp[]getArgs()Returns the arguments to this function.StringgetFunName()Returns the name of the function.SyntaxgetSyntax()Returns the syntax of the call.
-
-
-
Method Detail
-
getArg
Exp getArg(int index)
Returns theindexth 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.
-
-