Uses of Interface
mondrian.olap.type.Type
Package
Description
Provides compiled expressions.
Provides implementation classes for compiled expressions.
Defines a parse tree for MDX expressions.
Mondrian's core package, this defines connections and the catalog metamodel,
and allows you to execute queries.
Defines the set of MDX built-in functions.
Type system for MDX expessions.
Implements the data access layer for the olap package.
Contains the server-provider interfaces (SPIs) which user-defined
extensions to Mondrian should implement.
-
Uses of Type in mondrian.calc
Modifier and TypeMethodDescriptionCalc.getType()
Returns the type of this expression.DummyExp.getType()
Modifier and TypeMethodDescriptionExpCompiler.compileAs
(Exp exp, Type resultType, List<ResultStyle> preferredResultStyles) Compiles an expression to a given result type. -
Uses of Type in mondrian.calc.impl
Modifier and TypeMethodDescriptionAbstractExpCompiler.compileAs
(Exp exp, Type resultType, List<ResultStyle> preferredResultTypes) Compiles an expression to a given result type.DelegatingExpCompiler.compileAs
(Exp exp, Type resultType, List<ResultStyle> preferredResultTypes) static ConstantCalc
ConstantCalc.constantNull
(Type type) Creates an expression which evaluates to null. -
Uses of Type in mondrian.mdx
Modifier and TypeMethodDescriptionDimensionExpr.getType()
HierarchyExpr.getType()
LevelExpr.getType()
MemberExpr.getType()
NamedSetExpr.getType()
ParameterExpr.getType()
final Type
ResolvedFunCall.getType()
UnresolvedFunCall.getType()
ModifierConstructorDescriptionResolvedFunCall
(FunDef funDef, Exp[] args, Type returnType) Creates a function call. -
Uses of Type in mondrian.olap
Modifier and TypeMethodDescriptionExp.getType()
Returns the type of this expression.Id.getType()
Literal.getType()
NamedSet.getType()
Returns the type of this named set.Parameter.getType()
Returns the type of this Parameter.ParameterImpl.getType()
Query.ScopedNamedSet.getType()
SetBase.getType()
Modifier and TypeMethodDescriptionValidator.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
ModifierConstructorDescriptionParameterImpl
(String name, Exp defaultExp, String description, Type type) -
Uses of Type in mondrian.olap.fun
Modifier and TypeMethodDescriptionstatic Type
ParameterFunDef.getParameterType
(Exp[] args) Returns an approximate type for a parameter, based upon the 1'th argument.CrossJoinFunDef.getResultType
(Validator validator, Exp[] args) ExistingFunDef.getResultType
(Validator validator, Exp[] args) FunDefBase.getResultType
(Validator validator, Exp[] args) Returns the type of a call to this function with a given set of arguments.IifFunDef.getResultType
(Validator validator, Exp[] args) MemberLevelFunDef.getResultType
(Validator validator, Exp[] args) ParameterFunDef.getResultType
(Validator validator, Exp[] args) ParenthesesFunDef.getResultType
(Validator validator, Exp[] args) SetFunDef.getResultType
(Validator validator, Exp[] args) TupleFunDef.getResultType
(Validator validator, Exp[] args) -
Uses of Type in mondrian.olap.type
Modifier and TypeClassDescriptionclass
The type of a boolean expression.class
The type of an expression which represents a Cube or Virtual Cube.class
The type of an expression representing a date, time or timestamp.class
Subclass ofNumericType
which guarantees fixed number of decimal places.class
The type of an expression which represents a Dimension.class
The type of a empty expression.class
The type of an expression which represents a hierarchy.class
The type of an expression which represents a level.class
The type of an expression which represents a member.class
The type of a null expression.class
The type of a numeric expression.class
Base class for types which represent scalar values.class
Set type.class
The type of a string expression.class
The type of a symbolic expression.class
Tuple type.Modifier and TypeMethodDescriptionCubeType.computeCommonType
(Type type, int[] conversionCount) DimensionType.computeCommonType
(Type type, int[] conversionCount) HierarchyType.computeCommonType
(Type type, int[] conversionCount) LevelType.computeCommonType
(Type type, int[] conversionCount) MemberType.computeCommonType
(Type type, int[] conversionCount) ScalarType.computeCommonType
(Type type, int[] conversionCount) SetType.computeCommonType
(Type type, int[] conversionCount) TupleType.computeCommonType
(Type type, int[] conversionCount) Type.computeCommonType
(Type type, int[] conversionCount) Returns a Type which is more general than this and the given Type.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.SetType.getElementType()
Returns the type of the elements of this set.MemberType.getValueType()
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 TypeMethodDescriptionstatic 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.CubeType.computeCommonType
(Type type, int[] conversionCount) DimensionType.computeCommonType
(Type type, int[] conversionCount) HierarchyType.computeCommonType
(Type type, int[] conversionCount) LevelType.computeCommonType
(Type type, int[] conversionCount) MemberType.computeCommonType
(Type type, int[] conversionCount) ScalarType.computeCommonType
(Type type, int[] conversionCount) SetType.computeCommonType
(Type type, int[] conversionCount) TupleType.computeCommonType
(Type type, int[] conversionCount) Type.computeCommonType
(Type type, int[] conversionCount) Returns a Type which is more general than this and the given Type.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.static boolean
TypeUtil.couldBeMember
(Type type) static DimensionType
static HierarchyType
static LevelType
static MemberType
TypeUtil.getHierarchies
(Type type) Returns the hierarchies in a set, member, or tuple type.static boolean
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) -
Uses of Type in mondrian.rolap
-
Uses of Type in mondrian.spi
Modifier and TypeMethodDescriptionType[]
UserDefinedFunction.getParameterTypes()
Returns an array of the types of the parameters of this function.UserDefinedFunction.getReturnType
(Type[] parameterTypes) Returns the return-type of this function.UserDefinedFunction.Argument.getType()
Returns the type of the argument.Modifier and TypeMethodDescriptionUserDefinedFunction.getReturnType
(Type[] parameterTypes) Returns the return-type of this function. -
Uses of Type in mondrian.udf
Modifier and TypeMethodDescriptionType[]
CurrentDateMemberExactUdf.getParameterTypes()
Type[]
CurrentDateMemberUdf.getParameterTypes()
Type[]
CurrentDateStringUdf.getParameterTypes()
Type[]
InUdf.getParameterTypes()
Type[]
InverseNormalUdf.getParameterTypes()
Type[]
LastNonEmptyUdf.getParameterTypes()
Type[]
MatchesUdf.getParameterTypes()
Type[]
NullValueUdf.getParameterTypes()
Type[]
ValUdf.getParameterTypes()
CurrentDateMemberUdf.getReturnType
(Type[] parameterTypes) CurrentDateStringUdf.getReturnType
(Type[] parameterTypes) InUdf.getReturnType
(Type[] parameterTypes) InverseNormalUdf.getReturnType
(Type[] types) LastNonEmptyUdf.getReturnType
(Type[] parameterTypes) MatchesUdf.getReturnType
(Type[] parameterTypes) NullValueUdf.getReturnType
(Type[] parameterTypes) ValUdf.getReturnType
(Type[] parameterTypes) Modifier and TypeMethodDescriptionCurrentDateMemberUdf.getReturnType
(Type[] parameterTypes) CurrentDateStringUdf.getReturnType
(Type[] parameterTypes) InUdf.getReturnType
(Type[] parameterTypes) InverseNormalUdf.getReturnType
(Type[] types) LastNonEmptyUdf.getReturnType
(Type[] parameterTypes) MatchesUdf.getReturnType
(Type[] parameterTypes) NullValueUdf.getReturnType
(Type[] parameterTypes) ValUdf.getReturnType
(Type[] parameterTypes)