| Package | Description | 
|---|---|
| mondrian.rolap | 
 Implements the data access layer for the olap package. 
 | 
| mondrian.rolap.sql | 
 Database-independent library for generating SQL. 
 | 
| mondrian.spi | 
 Contains the server-provider interfaces (SPIs) which user-defined
extensions to Mondrian should implement. 
 | 
| mondrian.spi.impl | 
 Provides implementations of SPIs defined in the  
mondrian.spi package. | 
| mondrian.util | 
 Mondrian utilities. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Dialect | 
SqlStatement.createDialect()
For tests 
 | 
Dialect | 
RolapSchema.getDialect()
Returns this schema's SQL dialect. 
 | 
Dialect | 
RolapEvaluator.getDialect()  | 
protected Dialect | 
SqlStatement.getDialect(RolapSchema schema)
Retrieves dialect from schema or attempts to create it
 in case it is null 
 | 
Dialect | 
RolapStar.getSqlQueryDialect()
Returns this RolapStar's SQL dialect. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static MondrianDef.Relation | 
RolapUtil.convertInlineTableToRelation(MondrianDef.InlineTable inlineTable,
                            Dialect dialect)  | 
int | 
RolapStatisticsCache.getColumnCardinality2(DataSource dataSource,
                     Dialect dialect,
                     String catalog,
                     String schema,
                     String table,
                     String column)  | 
String | 
RolapStar.Column.getDatatypeString(Dialect dialect)
Returns a string representation of the datatype of this column, in
 the dialect specified. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Dialect | 
SqlQuery.getDialect()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
SqlQuery.CodeSet.chooseQuery(Dialect dialect)
Chooses the code variant which best matches the given Dialect. 
 | 
| Constructor and Description | 
|---|
SqlQuery(Dialect dialect)
Creates a SqlQuery using a given dialect and inheriting the formatting
 preferences from  
MondrianProperties.GenerateFormattedSql
 property. | 
SqlQuery(Dialect dialect,
        boolean formatted)
Base constructor used by all other constructors to create an empty
 instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Dialect | 
DialectFactory.createDialect(DataSource dataSource,
             Connection connection)
Creates a Dialect. 
 | 
static Dialect | 
DialectManager.createDialect(DataSource dataSource,
             Connection connection)
Creates a Dialect from a JDBC connection. 
 | 
static Dialect | 
DialectManager.createDialect(DataSource dataSource,
             Connection connection,
             String dialectClassName)
Creates a Dialect from a JDBC connection, optionally specifying
 the name of the dialect class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
StatisticsProvider.getColumnCardinality(Dialect dialect,
                    DataSource dataSource,
                    String catalog,
                    String schema,
                    String table,
                    String column,
                    Execution execution)
Returns an estimate of the number of rows in a table. 
 | 
long | 
StatisticsProvider.getQueryCardinality(Dialect dialect,
                   DataSource dataSource,
                   String sql,
                   Execution execution)
Returns an estimate of the number of rows returned by a query. 
 | 
long | 
StatisticsProvider.getTableCardinality(Dialect dialect,
                   DataSource dataSource,
                   String catalog,
                   String schema,
                   String table,
                   Execution execution)
Returns an estimate of the number of rows in a table. 
 | 
abstract void | 
Dialect.Datatype.quoteValue(StringBuilder buf,
          Dialect dialect,
          String value)
Appends to a buffer a value of this type, in the appropriate format
 for this dialect. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
DialectManager.register(Class<? extends Dialect> dialectClass)
Registers a Dialect class. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AccessDialect
Implementation of  
Dialect for the Microsoft Access
 database (also called the JET Engine). | 
class  | 
Db2Dialect
Implementation of  
Dialect for the IBM DB2 database. | 
class  | 
Db2OldAs400Dialect
Implementation of  
Dialect for old versions of the IBM
 DB2/AS400 database. | 
class  | 
DerbyDialect
Implementation of  
Dialect for the Apache Derby database. | 
class  | 
FirebirdDialect
Implementation of  
Dialect for the Firebird database. | 
class  | 
GreenplumDialect
Implementation of  
Dialect for the GreenplumSQL database. | 
class  | 
HiveDialect
Implementation of  
Dialect for the Hive database. | 
class  | 
HsqldbDialect
Implementation of  
Dialect for the Hsqldb database. | 
class  | 
ImpalaDialect
Dialect for Cloudera's Impala DB. 
 | 
class  | 
InfobrightDialect
Implementation of  
Dialect for the Infobright database. | 
class  | 
InformixDialect
Implementation of  
Dialect for the Informix database. | 
class  | 
IngresDialect
Implementation of  
Dialect for the Ingres database. | 
class  | 
InterbaseDialect
Implementation of  
Dialect for the Interbase database. | 
class  | 
JdbcDialectImpl
Implementation of  
Dialect based on a JDBC connection and metadata. | 
class  | 
LucidDbDialect
Implementation of  
Dialect for the LucidDB database. | 
class  | 
MariaDBDialect  | 
class  | 
MicrosoftSqlServerDialect
Implementation of  
Dialect for the Microsoft SQL Server
 database. | 
class  | 
MonetDbDialect
Implementation of  
Dialect for the MonetDB database. | 
class  | 
MySqlDialect
Implementation of  
Dialect for the MySQL database. | 
class  | 
NeoviewDialect
Implementation of  
Dialect for the Neoview database. | 
class  | 
NetezzaDialect
Implementation of  
Dialect for the Netezza database. | 
class  | 
NuoDbDialect
Implementation of  
Dialect for the NuoDB database. | 
class  | 
OracleDialect
Implementation of  
Dialect for the Oracle database. | 
class  | 
PostgreSqlDialect
Implementation of  
Dialect for the PostgreSQL database. | 
class  | 
RedshiftDialect
User: cboyden
 Date: 2/8/13 
 | 
class  | 
SqlStreamDialect
Implementation of  
Dialect for the SQLstream streaming
 SQL system. | 
class  | 
SybaseDialect
Implementation of  
Dialect for the Sybase database. | 
class  | 
TeradataDialect
Implementation of  
Dialect for the Teradata database. | 
class  | 
VectorwiseDialect
Implementation of  
Dialect for the Vertica database. | 
class  | 
VerticaDialect
Implementation of  
Dialect for the Vertica database. | 
| Modifier and Type | Method and Description | 
|---|---|
Dialect | 
JdbcDialectFactory.createDialect(DataSource dataSource,
             Connection connection)  | 
static Dialect | 
JdbcDialectFactory.createDialectHelper(DialectFactory factory,
                   DataSource dataSource)
Creates a temporary connection and calls
  
DialectFactory.createDialect(javax.sql.DataSource, java.sql.Connection). | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
SqlStatisticsProvider.getColumnCardinality(Dialect dialect,
                    DataSource dataSource,
                    String catalog,
                    String schema,
                    String table,
                    String column,
                    Execution execution)  | 
long | 
JdbcStatisticsProvider.getColumnCardinality(Dialect dialect,
                    DataSource dataSource,
                    String catalog,
                    String schema,
                    String table,
                    String column,
                    Execution execution)  | 
long | 
SqlStatisticsProvider.getQueryCardinality(Dialect dialect,
                   DataSource dataSource,
                   String sql,
                   Execution execution)  | 
long | 
JdbcStatisticsProvider.getQueryCardinality(Dialect dialect,
                   DataSource dataSource,
                   String sql,
                   Execution execution)  | 
long | 
SqlStatisticsProvider.getTableCardinality(Dialect dialect,
                   DataSource dataSource,
                   String catalog,
                   String schema,
                   String table,
                   Execution execution)  | 
long | 
JdbcStatisticsProvider.getTableCardinality(Dialect dialect,
                   DataSource dataSource,
                   String catalog,
                   String schema,
                   String table,
                   Execution execution)  | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
Bug.avoidMemoryOverflow(Dialect dialect)
Returns whether to avoid a test because the memory monitor may cause it
 to fail. 
 | 
static boolean | 
Bug.avoidSlowTestOnLucidDB(Dialect dialect)
Returns true if we are running against
  
Dialect.DatabaseProduct.LUCIDDB and we wish to
 avoid slow tests. | 
Copyright © 2017 Hitachi Vantara. All rights reserved.