| Package | Description | 
|---|---|
| mondrian.calc | 
 Provides compiled expressions. 
 | 
| mondrian.calc.impl | 
 Provides implementation classes for compiled expressions. 
 | 
| mondrian.mdx | 
 Defines a parse tree for MDX expressions. 
 | 
| mondrian.olap | 
 Mondrian's core package, this defines connections and the catalog metamodel, 
and allows you to execute queries. 
 | 
| mondrian.olap.fun | 
 Defines the set of MDX built-in functions. 
 | 
| mondrian.olap.type | 
 Type system for MDX expessions. 
 | 
| mondrian.rolap | 
 Implements the data access layer for the olap package. 
 | 
| mondrian.spi | 
 Contains the server-provider interfaces (SPIs) which user-defined
extensions to Mondrian should implement. 
 | 
| mondrian.udf | 
| Modifier and Type | Method and Description | 
|---|---|
Type | 
DummyExp.getType()  | 
Type | 
Calc.getType()
Returns the type of this expression. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Calc | 
ExpCompiler.compileAs(Exp exp,
         Type resultType,
         List<ResultStyle> preferredResultStyles)
Compiles an expression to a given result type. 
 | 
| Constructor and Description | 
|---|
DummyExp(Type type)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Type | 
AbstractCalc.type  | 
| Modifier and Type | Method and Description | 
|---|---|
Type | 
AbstractCalc.getType()  | 
| Modifier and Type | Method and Description | 
|---|---|
Calc | 
DelegatingExpCompiler.compileAs(Exp exp,
         Type resultType,
         List<ResultStyle> preferredResultTypes)  | 
Calc | 
AbstractExpCompiler.compileAs(Exp exp,
         Type resultType,
         List<ResultStyle> preferredResultTypes)
Compiles an expression to a given result type. 
 | 
static ConstantCalc | 
ConstantCalc.constantNull(Type type)
Creates an expression which evaluates to null. 
 | 
| Constructor and Description | 
|---|
ConstantCalc(Type type,
            Object o)  | 
| Modifier and Type | Method and Description | 
|---|---|
Type | 
UnresolvedFunCall.getType()  | 
Type | 
DimensionExpr.getType()  | 
Type | 
ParameterExpr.getType()  | 
Type | 
MemberExpr.getType()  | 
Type | 
LevelExpr.getType()  | 
Type | 
NamedSetExpr.getType()  | 
Type | 
HierarchyExpr.getType()  | 
Type | 
ResolvedFunCall.getType()  | 
| Constructor and Description | 
|---|
ResolvedFunCall(FunDef funDef,
               Exp[] args,
               Type returnType)
Creates a function call. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Type | 
Query.ScopedNamedSet.getType()  | 
Type | 
Exp.getType()
Returns the type of this expression. 
 | 
Type | 
ParameterImpl.getType()  | 
Type | 
SetBase.getType()  | 
Type | 
Literal.getType()  | 
Type | 
Parameter.getType()
Returns the type of this Parameter. 
 | 
Type | 
NamedSet.getType()
Returns the type of this named set. 
 | 
Type | 
Id.getType()  | 
| Modifier and Type | Method and Description | 
|---|---|
Parameter | 
Validator.createOrLookupParam(boolean definition,
                   String name,
                   Type type,
                   Exp defaultExp,
                   String description)
Creates or retrieves the parameter corresponding to a "Parameter" or
 "ParamRef" function call. 
 | 
void | 
ParameterImpl.setType(Type type)  | 
| Constructor and Description | 
|---|
ParameterImpl(String name,
             Exp defaultExp,
             String description,
             Type type)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Type | 
ParameterFunDef.getParameterType(Exp[] args)
Returns an approximate type for a parameter, based upon the 1'th
 argument. 
 | 
Type | 
ParameterFunDef.getResultType(Validator validator,
             Exp[] args)  | 
Type | 
TupleFunDef.getResultType(Validator validator,
             Exp[] args)  | 
Type | 
CrossJoinFunDef.getResultType(Validator validator,
             Exp[] args)  | 
Type | 
ParenthesesFunDef.getResultType(Validator validator,
             Exp[] args)  | 
Type | 
FunDefBase.getResultType(Validator validator,
             Exp[] args)
Returns the type of a call to this function with a given set of
 arguments.
 The default implementation makes the coarse assumption that the return
 type is in some way related to the type of the first argument. 
 | 
Type | 
IifFunDef.getResultType(Validator validator,
             Exp[] args)  | 
Type | 
ExistingFunDef.getResultType(Validator validator,
             Exp[] args)  | 
Type | 
MemberLevelFunDef.getResultType(Validator validator,
             Exp[] args)  | 
Type | 
SetFunDef.getResultType(Validator validator,
             Exp[] args)  | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
CastFunDef.toBoolean(Object o,
         Type targetType)  | 
static int | 
CastFunDef.toInt(Object o,
     Type targetType)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BooleanType
The type of a boolean expression. 
 | 
class  | 
CubeType
The type of an expression which represents a Cube or Virtual Cube. 
 | 
class  | 
DateTimeType
The type of an expression representing a date, time or timestamp. 
 | 
class  | 
DecimalType
Subclass of  
NumericType which guarantees fixed number of decimal
 places. | 
class  | 
DimensionType
The type of an expression which represents a Dimension. 
 | 
class  | 
EmptyType
The type of a empty expression. 
 | 
class  | 
HierarchyType
The type of an expression which represents a hierarchy. 
 | 
class  | 
LevelType
The type of an expression which represents a level. 
 | 
class  | 
MemberType
The type of an expression which represents a member. 
 | 
class  | 
NullType
The type of a null expression. 
 | 
class  | 
NumericType
The type of a numeric expression. 
 | 
class  | 
ScalarType
Base class for types which represent scalar values. 
 | 
class  | 
SetType
Set type. 
 | 
class  | 
StringType
The type of a string expression. 
 | 
class  | 
SymbolType
The type of a symbolic expression. 
 | 
class  | 
TupleType
Tuple type. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
Type[] | 
TupleType.elementTypes  | 
| Modifier and Type | Method and Description | 
|---|---|
static Type | 
TypeUtil.computeCommonType(boolean allowConversions,
                 Type... types)
Returns a type sufficiently broad to hold any value of several types,
 but as narrow as possible. 
 | 
Type | 
Type.computeCommonType(Type type,
                 int[] conversionCount)
Returns a Type which is more general than this and the given Type. 
 | 
Type | 
MemberType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
TupleType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
ScalarType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
SetType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
HierarchyType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
DimensionType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
LevelType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
CubeType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
SetType.getElementType()
Returns the type of the elements of this set. 
 | 
Type | 
MemberType.getValueType()  | 
Type | 
TupleType.getValueType()  | 
static Type | 
TypeUtil.stripSetType(Type type)
Given a set type, returns the element type. 
 | 
static Type | 
TypeUtil.toMemberOrTupleType(Type type)
Converts a type to a member or tuple type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
TypeUtil.canConvert(int ordinal,
          Type fromType,
          int to,
          List<Resolver.Conversion> conversions)
Returns whether we can convert an argument of a given category to a
 given parameter category. 
 | 
static boolean | 
TypeUtil.canEvaluate(Type type)
Returns whether a value of a given type can be evaluated to a scalar
 value. 
 | 
static Type | 
TypeUtil.computeCommonType(boolean allowConversions,
                 Type... types)
Returns a type sufficiently broad to hold any value of several types,
 but as narrow as possible. 
 | 
Type | 
Type.computeCommonType(Type type,
                 int[] conversionCount)
Returns a Type which is more general than this and the given Type. 
 | 
Type | 
MemberType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
TupleType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
ScalarType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
SetType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
HierarchyType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
DimensionType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
LevelType.computeCommonType(Type type,
                 int[] conversionCount)  | 
Type | 
CubeType.computeCommonType(Type type,
                 int[] conversionCount)  | 
static boolean | 
TypeUtil.couldBeMember(Type type)  | 
static MemberType | 
MemberType.forType(Type type)  | 
static HierarchyType | 
HierarchyType.forType(Type type)  | 
static DimensionType | 
DimensionType.forType(Type type)  | 
static LevelType | 
LevelType.forType(Type type)  | 
static List<Hierarchy> | 
TypeUtil.getHierarchies(Type type)
Returns the hierarchies in a set, member, or tuple type. 
 | 
static boolean | 
TypeUtil.isSet(Type type)
Returns whether a type is a set type. 
 | 
static boolean | 
TypeUtil.isUnionCompatible(Type type1,
                 Type type2)
Returns whether this type is union-compatible with another. 
 | 
static Type | 
TypeUtil.stripSetType(Type type)
Given a set type, returns the element type. 
 | 
static Type | 
TypeUtil.toMemberOrTupleType(Type type)
Converts a type to a member or tuple type. 
 | 
static MemberType | 
TypeUtil.toMemberType(Type type)
Converts a type to a member type. 
 | 
static int | 
TypeUtil.typeToCategory(Type type)
 | 
| Constructor and Description | 
|---|
SetType(Type elementType)
Creates a type representing a set of elements of a given type. 
 | 
TupleType(Type[] elementTypes)
Creates a type representing a tuple whose fields are the given types. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Type | 
RolapSchemaParameter.getType()  | 
| Modifier and Type | Method and Description | 
|---|---|
Type[] | 
UserDefinedFunction.getParameterTypes()
Returns an array of the types of the parameters of this function. 
 | 
Type | 
UserDefinedFunction.getReturnType(Type[] parameterTypes)
Returns the return-type of this function. 
 | 
Type | 
UserDefinedFunction.Argument.getType()
Returns the type of the argument. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Type | 
UserDefinedFunction.getReturnType(Type[] parameterTypes)
Returns the return-type of this function. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Type[] | 
NullValueUdf.getParameterTypes()  | 
Type[] | 
ValUdf.getParameterTypes()  | 
Type[] | 
MatchesUdf.getParameterTypes()  | 
Type[] | 
LastNonEmptyUdf.getParameterTypes()  | 
Type[] | 
CurrentDateStringUdf.getParameterTypes()  | 
Type[] | 
InUdf.getParameterTypes()  | 
Type[] | 
InverseNormalUdf.getParameterTypes()  | 
Type[] | 
CurrentDateMemberExactUdf.getParameterTypes()  | 
Type[] | 
CurrentDateMemberUdf.getParameterTypes()  | 
Type | 
NullValueUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
ValUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
MatchesUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
LastNonEmptyUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
CurrentDateStringUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
InUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
InverseNormalUdf.getReturnType(Type[] types)  | 
Type | 
CurrentDateMemberUdf.getReturnType(Type[] parameterTypes)  | 
| Modifier and Type | Method and Description | 
|---|---|
Type | 
NullValueUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
ValUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
MatchesUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
LastNonEmptyUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
CurrentDateStringUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
InUdf.getReturnType(Type[] parameterTypes)  | 
Type | 
InverseNormalUdf.getReturnType(Type[] types)  | 
Type | 
CurrentDateMemberUdf.getReturnType(Type[] parameterTypes)  | 
Copyright © 2017 Hitachi Vantara. All rights reserved.