Package mondrian.rolap
Class RolapNativeSql.IsEmptySqlCompiler
- java.lang.Object
-
- mondrian.rolap.RolapNativeSql.FunCallSqlCompilerBase
-
- mondrian.rolap.RolapNativeSql.IsEmptySqlCompiler
-
- All Implemented Interfaces:
RolapNativeSql.SqlCompiler
- Enclosing class:
- RolapNativeSql
class RolapNativeSql.IsEmptySqlCompiler extends RolapNativeSql.FunCallSqlCompilerBase
Compiles anIsEmpty(measure)
expression into SQLmeasure is null
.
-
-
Field Summary
-
Fields inherited from class mondrian.rolap.RolapNativeSql.FunCallSqlCompilerBase
argCount, category, mdx
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IsEmptySqlCompiler(int category, String mdx, 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
-
-
-
-
Constructor Detail
-
IsEmptySqlCompiler
protected IsEmptySqlCompiler(int category, String mdx, 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
-
-