Package mondrian.olap
Interface FunCall
-
- All Superinterfaces:
Exp
- All Known Implementing Classes:
ResolvedFunCall
,UnresolvedFunCall
public interface FunCall extends Exp
AFunCall
is 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 definition
and extra type information.- Since:
- Jan 6, 2006
- Author:
- jhyde
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Exp
getArg(int index)
Returns theindex
th 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.
-
-
-
Method Detail
-
getArg
Exp getArg(int index)
Returns theindex
th argument to this function call.- Parameters:
index
- Ordinal of the argument- Returns:
index
th 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.
-
-