Package mondrian.rolap
Class RolapNativeSql.FunCallSqlCompilerBase
- java.lang.Object
-
- mondrian.rolap.RolapNativeSql.FunCallSqlCompilerBase
-
- All Implemented Interfaces:
RolapNativeSql.SqlCompiler
- Direct Known Subclasses:
RolapNativeSql.FunCallSqlCompiler
,RolapNativeSql.IifSqlCompiler
,RolapNativeSql.InfixOpSqlCompiler
,RolapNativeSql.IsEmptySqlCompiler
,RolapNativeSql.MatchingSqlCompiler
- Enclosing class:
- RolapNativeSql
abstract class RolapNativeSql.FunCallSqlCompilerBase extends Object implements RolapNativeSql.SqlCompiler
Contains utility methods to compile FunCall expressions into SQL.
-
-
Constructor Summary
Constructors Constructor Description FunCallSqlCompilerBase(int category, String mdx, int argCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]
compileArgs(Exp exp, RolapNativeSql.SqlCompiler compiler)
compiles the arguments of a FunCallprotected boolean
match(Exp exp)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface mondrian.rolap.RolapNativeSql.SqlCompiler
compile
-
-
-
-
Field Detail
-
category
int category
-
mdx
String mdx
-
argCount
int argCount
-
-
Constructor Detail
-
FunCallSqlCompilerBase
FunCallSqlCompilerBase(int category, String mdx, int argCount)
-
-
Method Detail
-
match
protected boolean match(Exp exp)
- Returns:
- true if exp is a matching FunCall
-
compileArgs
protected String[] compileArgs(Exp exp, RolapNativeSql.SqlCompiler compiler)
compiles the arguments of a FunCall- Returns:
- array of expressions or null if either exp does not match or any argument could not be compiled.
-
-