Package | Description |
---|---|
mondrian.olap |
Mondrian's core package, this defines connections and the catalog metamodel,
and allows you to execute queries.
|
mondrian.rolap |
Implements the data access layer for the olap package.
|
mondrian.rolap.agg |
Manages a cache of aggregates containing cell values.
|
mondrian.rolap.aggmatcher |
Defines a 'matcher' which scans the schema to find candidate aggregate tables.
|
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. |
Modifier and Type | Method and Description |
---|---|
SqlStatement.Type |
Property.Datatype.getInternalType() |
Modifier and Type | Method and Description |
---|---|
SqlStatement.Type |
RolapLevel.getInternalType() |
SqlStatement.Type |
RolapStar.Column.getInternalType() |
static SqlStatement.Type |
SqlStatement.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlStatement.Type[] |
SqlStatement.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<SqlStatement.Type> |
SqlStatement.guessTypes() |
Modifier and Type | Method and Description |
---|---|
static SqlStatement |
RolapUtil.executeQuery(DataSource dataSource,
String sql,
List<SqlStatement.Type> types,
int maxRowCount,
int firstRowOrdinal,
Locus locus,
int resultSetType,
int resultSetConcurrency,
Util.Functor1<Void,Statement> callback)
Executes a query.
|
Constructor and Description |
---|
SqlStatement(DataSource dataSource,
String sql,
List<SqlStatement.Type> types,
int maxRows,
int firstRowOrdinal,
Locus locus,
int resultSetType,
int resultSetConcurrency,
Util.Functor1<Void,Statement> callback)
Creates a SqlStatement.
|
Modifier and Type | Method and Description |
---|---|
SqlStatement.Type |
SegmentDataset.getType()
Returns the SQL type of the data contained in this dataset.
|
Modifier and Type | Method and Description |
---|---|
static Pair<String,List<SqlStatement.Type>> |
AggregationManager.generateSql(mondrian.rolap.agg.GroupingSetsList groupingSetsList,
List<StarPredicate> compoundPredicateList)
Generates the query to retrieve the cells for a list of segments.
|
Pair<String,List<SqlStatement.Type>> |
AbstractQuerySpec.generateSqlQuery() |
Pair<String,List<SqlStatement.Type>> |
QuerySpec.generateSqlQuery() |
List<SqlStatement.Type> |
SegmentLoader.RowList.getTypes() |
Modifier and Type | Method and Description |
---|---|
SqlStatement.Type |
AggStar.Table.Column.getInternalType() |
SqlStatement.Type |
AggStar.Table.Level.getInternalType() |
Modifier and Type | Method and Description |
---|---|
Pair<String,List<SqlStatement.Type>> |
SqlQuery.toSqlAndTypes() |
Modifier and Type | Method and Description |
---|---|
String |
SqlQuery.addSelect(String expression,
SqlStatement.Type type)
Adds an expression to the select clause, automatically creating a
column alias.
|
String |
SqlQuery.addSelect(String expression,
SqlStatement.Type type,
String alias)
Adds an expression to the select clause, with a specified type and
column alias.
|
String |
SqlQuery.addSelectGroupBy(String expression,
SqlStatement.Type type)
Adds an expression to the SELECT and GROUP BY clauses.
|
Modifier and Type | Method and Description |
---|---|
SqlStatement.Type |
Dialect.getType(ResultSetMetaData metadata,
int columnIndex)
Chooses the most appropriate type for accessing the values of a
column in a result set for a dialect.
|
Modifier and Type | Method and Description |
---|---|
SqlStatement.Type |
JdbcDialectImpl.getType(ResultSetMetaData metaData,
int columnIndex) |
SqlStatement.Type |
PdiDataServiceDialect.getType(ResultSetMetaData metaData,
int columnIndex) |
SqlStatement.Type |
PostgreSqlDialect.getType(ResultSetMetaData metaData,
int columnIndex) |
SqlStatement.Type |
NetezzaDialect.getType(ResultSetMetaData metaData,
int columnIndex) |
SqlStatement.Type |
MonetDbDialect.getType(ResultSetMetaData metaData,
int columnIndex) |
SqlStatement.Type |
OracleDialect.getType(ResultSetMetaData metaData,
int columnIndex)
Chooses the most appropriate type for accessing the values of a
column in a result set.
|
SqlStatement.Type |
VerticaDialect.getType(ResultSetMetaData metaData,
int columnIndex) |
Copyright © 2019 Hitachi Vantara. All rights reserved.