Uses of Interface
mondrian.olap.type.Type
Packages that use 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
Methods in mondrian.calc that return TypeModifier and TypeMethodDescriptionCalc.getType()
Returns the type of this expression.DummyExp.getType()
Methods in mondrian.calc with parameters of type TypeModifier and TypeMethodDescriptionExpCompiler.compileAs
(Exp exp, Type resultType, List<ResultStyle> preferredResultStyles) Compiles an expression to a given result type.Constructors in mondrian.calc with parameters of type Type -
Uses of Type in mondrian.calc.impl
Fields in mondrian.calc.impl declared as TypeMethods in mondrian.calc.impl that return TypeMethods in mondrian.calc.impl with parameters of type TypeModifier 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.Constructors in mondrian.calc.impl with parameters of type Type -
Uses of Type in mondrian.mdx
Methods in mondrian.mdx that return TypeModifier and TypeMethodDescriptionDimensionExpr.getType()
HierarchyExpr.getType()
LevelExpr.getType()
MemberExpr.getType()
NamedSetExpr.getType()
ParameterExpr.getType()
final Type
ResolvedFunCall.getType()
UnresolvedFunCall.getType()
Constructors in mondrian.mdx with parameters of type TypeModifierConstructorDescriptionResolvedFunCall
(FunDef funDef, Exp[] args, Type returnType) Creates a function call. -
Uses of Type in mondrian.olap
Methods in mondrian.olap that return TypeModifier 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()
Methods in mondrian.olap with parameters of type TypeModifier 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
Constructors in mondrian.olap with parameters of type TypeModifierConstructorDescriptionParameterImpl
(String name, Exp defaultExp, String description, Type type) -
Uses of Type in mondrian.olap.fun
Methods in mondrian.olap.fun that return TypeModifier 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) Methods in mondrian.olap.fun with parameters of type Type -
Uses of Type in mondrian.olap.type
Classes in mondrian.olap.type that implement TypeModifier 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.Fields in mondrian.olap.type declared as TypeMethods in mondrian.olap.type that return TypeModifier 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.Methods in mondrian.olap.type with parameters of type TypeModifier 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) Constructors in mondrian.olap.type with parameters of type Type -
Uses of Type in mondrian.rolap
Methods in mondrian.rolap that return Type -
Uses of Type in mondrian.spi
Methods in mondrian.spi that return TypeModifier 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.Methods in mondrian.spi with parameters of type TypeModifier and TypeMethodDescriptionUserDefinedFunction.getReturnType
(Type[] parameterTypes) Returns the return-type of this function. -
Uses of Type in mondrian.udf
Methods in mondrian.udf that return TypeModifier 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) Methods in mondrian.udf with parameters of type TypeModifier 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)