Uses of Interface
mondrian.olap.type.Type
-
Packages that use Type 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 -
-
Uses of Type in mondrian.calc
Methods in mondrian.calc that return Type Modifier and Type Method Description Type
Calc. getType()
Returns the type of this expression.Type
DummyExp. getType()
Methods in mondrian.calc with parameters of type Type Modifier and Type Method Description Calc
ExpCompiler. 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 Constructor Description DummyExp(Type type)
-
Uses of Type in mondrian.calc.impl
Fields in mondrian.calc.impl declared as Type Modifier and Type Field Description protected Type
AbstractCalc. type
Methods in mondrian.calc.impl that return Type Modifier and Type Method Description Type
AbstractCalc. getType()
Methods in mondrian.calc.impl with parameters of type Type Modifier and Type Method 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.Constructors in mondrian.calc.impl with parameters of type Type Constructor Description ConstantCalc(Type type, Object o)
-
Uses of Type in mondrian.mdx
Methods in mondrian.mdx that return Type Modifier and Type Method Description Type
DimensionExpr. getType()
Type
HierarchyExpr. getType()
Type
LevelExpr. getType()
Type
MemberExpr. getType()
Type
NamedSetExpr. getType()
Type
ParameterExpr. getType()
Type
ResolvedFunCall. getType()
Type
UnresolvedFunCall. getType()
Constructors in mondrian.mdx with parameters of type Type Constructor Description ResolvedFunCall(FunDef funDef, Exp[] args, Type returnType)
Creates a function call. -
Uses of Type in mondrian.olap
Methods in mondrian.olap that return Type Modifier and Type Method Description Type
Exp. getType()
Returns the type of this expression.Type
Id. getType()
Type
Literal. getType()
Type
NamedSet. getType()
Returns the type of this named set.Type
Parameter. getType()
Returns the type of this Parameter.Type
ParameterImpl. getType()
Type
Query.ScopedNamedSet. getType()
Type
SetBase. getType()
Methods in mondrian.olap with parameters of type Type Modifier and Type Method 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)
Constructors in mondrian.olap with parameters of type Type Constructor Description ParameterImpl(String name, Exp defaultExp, String description, Type type)
-
Uses of Type in mondrian.olap.fun
Methods in mondrian.olap.fun that return Type Modifier and Type Method Description static Type
ParameterFunDef. getParameterType(Exp[] args)
Returns an approximate type for a parameter, based upon the 1'th argument.Type
CrossJoinFunDef. getResultType(Validator validator, Exp[] args)
Type
ExistingFunDef. 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.Type
IifFunDef. getResultType(Validator validator, Exp[] args)
Type
MemberLevelFunDef. getResultType(Validator validator, Exp[] args)
Type
ParameterFunDef. getResultType(Validator validator, Exp[] args)
Type
ParenthesesFunDef. getResultType(Validator validator, Exp[] args)
Type
SetFunDef. getResultType(Validator validator, Exp[] args)
Type
TupleFunDef. getResultType(Validator validator, Exp[] args)
Methods in mondrian.olap.fun with parameters of type Type Modifier and Type Method Description static boolean
CastFunDef. toBoolean(Object o, Type targetType)
static int
CastFunDef. toInt(Object o, Type targetType)
-
Uses of Type in mondrian.olap.type
Classes in mondrian.olap.type that implement Type Modifier and Type Class 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 ofNumericType
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.Fields in mondrian.olap.type declared as Type Modifier and Type Field Description Type[]
TupleType. elementTypes
Methods in mondrian.olap.type that return Type Modifier and Type Method Description Type
CubeType. computeCommonType(Type type, int[] conversionCount)
Type
DimensionType. computeCommonType(Type type, int[] conversionCount)
Type
HierarchyType. computeCommonType(Type type, int[] conversionCount)
Type
LevelType. computeCommonType(Type type, int[] conversionCount)
Type
MemberType. computeCommonType(Type type, int[] conversionCount)
Type
ScalarType. computeCommonType(Type type, int[] conversionCount)
Type
SetType. computeCommonType(Type type, int[] conversionCount)
Type
TupleType. 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.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
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.Methods in mondrian.olap.type with parameters of type Type Modifier and Type Method 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.Type
CubeType. computeCommonType(Type type, int[] conversionCount)
Type
DimensionType. computeCommonType(Type type, int[] conversionCount)
Type
HierarchyType. computeCommonType(Type type, int[] conversionCount)
Type
LevelType. computeCommonType(Type type, int[] conversionCount)
Type
MemberType. computeCommonType(Type type, int[] conversionCount)
Type
ScalarType. computeCommonType(Type type, int[] conversionCount)
Type
SetType. computeCommonType(Type type, int[] conversionCount)
Type
TupleType. 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.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
DimensionType. forType(Type type)
static HierarchyType
HierarchyType. forType(Type type)
static LevelType
LevelType. forType(Type type)
static MemberType
MemberType. 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)
Constructors in mondrian.olap.type with parameters of type Type Constructor 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. -
Uses of Type in mondrian.rolap
Methods in mondrian.rolap that return Type Modifier and Type Method Description Type
RolapSchemaParameter. getType()
-
Uses of Type in mondrian.spi
Methods in mondrian.spi that return Type Modifier and Type Method 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.Methods in mondrian.spi with parameters of type Type Modifier and Type Method Description Type
UserDefinedFunction. getReturnType(Type[] parameterTypes)
Returns the return-type of this function. -
Uses of Type in mondrian.udf
Methods in mondrian.udf that return Type Modifier and Type Method Description Type[]
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()
Type
CurrentDateMemberUdf. getReturnType(Type[] parameterTypes)
Type
CurrentDateStringUdf. getReturnType(Type[] parameterTypes)
Type
InUdf. getReturnType(Type[] parameterTypes)
Type
InverseNormalUdf. getReturnType(Type[] types)
Type
LastNonEmptyUdf. getReturnType(Type[] parameterTypes)
Type
MatchesUdf. getReturnType(Type[] parameterTypes)
Type
NullValueUdf. getReturnType(Type[] parameterTypes)
Type
ValUdf. getReturnType(Type[] parameterTypes)
Methods in mondrian.udf with parameters of type Type Modifier and Type Method Description Type
CurrentDateMemberUdf. getReturnType(Type[] parameterTypes)
Type
CurrentDateStringUdf. getReturnType(Type[] parameterTypes)
Type
InUdf. getReturnType(Type[] parameterTypes)
Type
InverseNormalUdf. getReturnType(Type[] types)
Type
LastNonEmptyUdf. getReturnType(Type[] parameterTypes)
Type
MatchesUdf. getReturnType(Type[] parameterTypes)
Type
NullValueUdf. getReturnType(Type[] parameterTypes)
Type
ValUdf. getReturnType(Type[] parameterTypes)
-