mondrian.rolap
Class RolapNativeSql.NumberSqlCompiler

java.lang.Object
  extended by mondrian.rolap.RolapNativeSql.NumberSqlCompiler
All Implemented Interfaces:
RolapNativeSql.SqlCompiler
Enclosing class:
RolapNativeSql

 class RolapNativeSql.NumberSqlCompiler
extends Object
implements RolapNativeSql.SqlCompiler

Compiles a numeric literal to SQL.

Since:
Nov 23, 2005
Author:
av
 

Constructor Summary
RolapNativeSql.NumberSqlCompiler()
           
 
Method Summary
 String compile(Exp exp)
          Returns SQL.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RolapNativeSql.NumberSqlCompiler

RolapNativeSql.NumberSqlCompiler()
Method Detail

compile

public String compile(Exp exp)
Description copied from interface: RolapNativeSql.SqlCompiler
Returns SQL. If exp can not be compiled into SQL, returns null.

Specified by:
compile in interface RolapNativeSql.SqlCompiler
Parameters:
exp - Expression
Returns:
SQL, or null if cannot be converted into SQL

toString

public String toString()
Overrides:
toString in class Object

SourceForge.net_Logo