| 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 | AbstractExpCompiler. compileAs(Exp exp,
         Type resultType,
         List<ResultStyle> preferredResultTypes)Compiles an expression to a given result type. | 
| Calc | DelegatingExpCompiler. compileAs(Exp exp,
         Type resultType,
         List<ResultStyle> preferredResultTypes) | 
| 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 | LevelExpr. getType() | 
| Type | ParameterExpr. getType() | 
| Type | DimensionExpr. getType() | 
| Type | MemberExpr. getType() | 
| Type | NamedSetExpr. getType() | 
| Type | UnresolvedFunCall. getType() | 
| Type | ResolvedFunCall. getType() | 
| Type | HierarchyExpr. getType() | 
| Constructor and Description | 
|---|
| ResolvedFunCall(FunDef funDef,
               Exp[] args,
               Type returnType)Creates a function call. | 
| Modifier and Type | Method and Description | 
|---|---|
| Type | Id. getType() | 
| Type | Literal. getType() | 
| Type | Exp. getType()Returns the type of this expression. | 
| Type | SetBase. getType() | 
| Type | Query.ScopedNamedSet. getType() | 
| Type | Parameter. getType()Returns the type of this Parameter. | 
| Type | NamedSet. getType()Returns the type of this named set. | 
| Type | ParameterImpl. 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 | MemberLevelFunDef. getResultType(Validator validator,
             Exp[] args) | 
| Type | ExistingFunDef. getResultType(Validator validator,
             Exp[] args) | 
| Type | IifFunDef. 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 | SetFunDef. getResultType(Validator validator,
             Exp[] args) | 
| Type | ParameterFunDef. getResultType(Validator validator,
             Exp[] args) | 
| Type | TupleFunDef. getResultType(Validator validator,
             Exp[] args) | 
| Type | ParenthesesFunDef. getResultType(Validator validator,
             Exp[] args) | 
| Type | CrossJoinFunDef. 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  | BooleanTypeThe type of a boolean expression. | 
| class  | CubeTypeThe type of an expression which represents a Cube or Virtual Cube. | 
| class  | DateTimeTypeThe type of an expression representing a date, time or timestamp. | 
| class  | DecimalTypeSubclass of  NumericTypewhich guarantees fixed number of decimal
 places. | 
| class  | DimensionTypeThe type of an expression which represents a Dimension. | 
| class  | EmptyTypeThe type of a empty expression. | 
| class  | HierarchyTypeThe type of an expression which represents a hierarchy. | 
| class  | LevelTypeThe type of an expression which represents a level. | 
| class  | MemberTypeThe type of an expression which represents a member. | 
| class  | NullTypeThe type of a null expression. | 
| class  | NumericTypeThe type of a numeric expression. | 
| class  | ScalarTypeBase class for types which represent scalar values. | 
| class  | SetTypeSet type. | 
| class  | StringTypeThe type of a string expression. | 
| class  | SymbolTypeThe type of a symbolic expression. | 
| class  | TupleTypeTuple 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 | LevelType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | DimensionType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | Type. computeCommonType(Type type,
                 int[] conversionCount)Returns a Type which is more general than this and the given Type. | 
| Type | ScalarType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | CubeType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | TupleType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | SetType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | MemberType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | HierarchyType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | SetType. getElementType()Returns the type of the elements of this set. | 
| Type | TupleType. getValueType() | 
| Type | MemberType. 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 | LevelType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | DimensionType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | Type. computeCommonType(Type type,
                 int[] conversionCount)Returns a Type which is more general than this and the given Type. | 
| Type | ScalarType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | CubeType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | TupleType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | SetType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | MemberType. computeCommonType(Type type,
                 int[] conversionCount) | 
| Type | HierarchyType. computeCommonType(Type type,
                 int[] conversionCount) | 
| static boolean | TypeUtil. couldBeMember(Type type) | 
| static LevelType | LevelType. forType(Type type) | 
| static DimensionType | DimensionType. forType(Type type) | 
| static MemberType | MemberType. forType(Type type) | 
| static HierarchyType | HierarchyType. 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[] | MatchesUdf. getParameterTypes() | 
| Type[] | InUdf. getParameterTypes() | 
| Type[] | ValUdf. getParameterTypes() | 
| Type[] | LastNonEmptyUdf. getParameterTypes() | 
| Type[] | CurrentDateMemberUdf. getParameterTypes() | 
| Type[] | InverseNormalUdf. getParameterTypes() | 
| Type[] | CurrentDateStringUdf. getParameterTypes() | 
| Type[] | NullValueUdf. getParameterTypes() | 
| Type[] | CurrentDateMemberExactUdf. getParameterTypes() | 
| Type | MatchesUdf. getReturnType(Type[] parameterTypes) | 
| Type | InUdf. getReturnType(Type[] parameterTypes) | 
| Type | ValUdf. getReturnType(Type[] parameterTypes) | 
| Type | LastNonEmptyUdf. getReturnType(Type[] parameterTypes) | 
| Type | CurrentDateMemberUdf. getReturnType(Type[] parameterTypes) | 
| Type | InverseNormalUdf. getReturnType(Type[] types) | 
| Type | CurrentDateStringUdf. getReturnType(Type[] parameterTypes) | 
| Type | NullValueUdf. getReturnType(Type[] parameterTypes) | 
| Modifier and Type | Method and Description | 
|---|---|
| Type | MatchesUdf. getReturnType(Type[] parameterTypes) | 
| Type | InUdf. getReturnType(Type[] parameterTypes) | 
| Type | ValUdf. getReturnType(Type[] parameterTypes) | 
| Type | LastNonEmptyUdf. getReturnType(Type[] parameterTypes) | 
| Type | CurrentDateMemberUdf. getReturnType(Type[] parameterTypes) | 
| Type | InverseNormalUdf. getReturnType(Type[] types) | 
| Type | CurrentDateStringUdf. getReturnType(Type[] parameterTypes) | 
| Type | NullValueUdf. getReturnType(Type[] parameterTypes) | 
Copyright © 2021 Hitachi Vantara. All rights reserved.