mondrian.rolap.sql
Class SqlQuery.CodeSet

java.lang.Object
  extended by mondrian.rolap.sql.SqlQuery.CodeSet
Enclosing class:
SqlQuery

public static class SqlQuery.CodeSet
extends Object

Collection of alternative code for alternative dialects.

 

Constructor Summary
SqlQuery.CodeSet()
           
 
Method Summary
 String chooseQuery(SqlQuery.Dialect dialect)
          Chooses the code variant which best matches the given Dialect.
 String put(String dialect, String code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlQuery.CodeSet

public SqlQuery.CodeSet()
Method Detail

put

public String put(String dialect,
                  String code)

chooseQuery

public String chooseQuery(SqlQuery.Dialect dialect)
Chooses the code variant which best matches the given Dialect.


SourceForge.net_Logo