Package mondrian.rolap
Class RolapNativeSql.FunCallSqlCompiler
- java.lang.Object
-
- mondrian.rolap.RolapNativeSql.FunCallSqlCompilerBase
-
- mondrian.rolap.RolapNativeSql.FunCallSqlCompiler
-
- All Implemented Interfaces:
RolapNativeSql.SqlCompiler
- Direct Known Subclasses:
RolapNativeSql.ParenthesisSqlCompiler
,RolapNativeSql.UnaryOpSqlCompiler
- Enclosing class:
- RolapNativeSql
class RolapNativeSql.FunCallSqlCompiler extends RolapNativeSql.FunCallSqlCompilerBase
Compiles a funcall, e.g. foo(a, b, c).
-
-
Field Summary
Fields Modifier and Type Field Description (package private) RolapNativeSql.SqlCompiler
compiler
(package private) String
sql
-
Fields inherited from class mondrian.rolap.RolapNativeSql.FunCallSqlCompilerBase
argCount, category, mdx
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FunCallSqlCompiler(int category, String mdx, String sql, int argCount, RolapNativeSql.SqlCompiler argumentCompiler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
compile(Exp exp)
Returns SQL.String
toString()
-
Methods inherited from class mondrian.rolap.RolapNativeSql.FunCallSqlCompilerBase
compileArgs, match
-
-
-
-
Field Detail
-
compiler
RolapNativeSql.SqlCompiler compiler
-
sql
String sql
-
-
Constructor Detail
-
FunCallSqlCompiler
protected FunCallSqlCompiler(int category, String mdx, String sql, int argCount, RolapNativeSql.SqlCompiler argumentCompiler)
-
-
Method Detail
-
compile
public String compile(Exp exp)
Description copied from interface:RolapNativeSql.SqlCompiler
Returns SQL. Ifexp
can not be compiled into SQL, returns null.- Parameters:
exp
- Expression- Returns:
- SQL, or null if cannot be converted into SQL
-
-