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 TypeCalc. getType()Returns the type of this expression.TypeDummyExp. getType()Methods in mondrian.calc with parameters of type Type Modifier and Type Method Description CalcExpCompiler. 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 TypeAbstractCalc. typeMethods in mondrian.calc.impl that return Type Modifier and Type Method Description TypeAbstractCalc. getType()Methods in mondrian.calc.impl with parameters of type Type Modifier and Type Method Description CalcAbstractExpCompiler. compileAs(Exp exp, Type resultType, List<ResultStyle> preferredResultTypes)Compiles an expression to a given result type.CalcDelegatingExpCompiler. compileAs(Exp exp, Type resultType, List<ResultStyle> preferredResultTypes)static ConstantCalcConstantCalc. 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 TypeDimensionExpr. getType()TypeHierarchyExpr. getType()TypeLevelExpr. getType()TypeMemberExpr. getType()TypeNamedSetExpr. getType()TypeParameterExpr. getType()TypeResolvedFunCall. getType()TypeUnresolvedFunCall. 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 TypeExp. getType()Returns the type of this expression.TypeId. getType()TypeLiteral. getType()TypeNamedSet. getType()Returns the type of this named set.TypeParameter. getType()Returns the type of this Parameter.TypeParameterImpl. getType()TypeQuery.ScopedNamedSet. getType()TypeSetBase. getType()Methods in mondrian.olap with parameters of type Type Modifier and Type Method Description ParameterValidator. createOrLookupParam(boolean definition, String name, Type type, Exp defaultExp, String description)Creates or retrieves the parameter corresponding to a "Parameter" or "ParamRef" function call.voidParameterImpl. 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 TypeParameterFunDef. getParameterType(Exp[] args)Returns an approximate type for a parameter, based upon the 1'th argument.TypeCrossJoinFunDef. getResultType(Validator validator, Exp[] args)TypeExistingFunDef. getResultType(Validator validator, Exp[] args)TypeFunDefBase. getResultType(Validator validator, Exp[] args)Returns the type of a call to this function with a given set of arguments.TypeIifFunDef. getResultType(Validator validator, Exp[] args)TypeMemberLevelFunDef. getResultType(Validator validator, Exp[] args)TypeParameterFunDef. getResultType(Validator validator, Exp[] args)TypeParenthesesFunDef. getResultType(Validator validator, Exp[] args)TypeSetFunDef. getResultType(Validator validator, Exp[] args)TypeTupleFunDef. getResultType(Validator validator, Exp[] args)Methods in mondrian.olap.fun with parameters of type Type Modifier and Type Method Description static booleanCastFunDef. toBoolean(Object o, Type targetType)static intCastFunDef. 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 classBooleanTypeThe type of a boolean expression.classCubeTypeThe type of an expression which represents a Cube or Virtual Cube.classDateTimeTypeThe type of an expression representing a date, time or timestamp.classDecimalTypeSubclass ofNumericTypewhich guarantees fixed number of decimal places.classDimensionTypeThe type of an expression which represents a Dimension.classEmptyTypeThe type of a empty expression.classHierarchyTypeThe type of an expression which represents a hierarchy.classLevelTypeThe type of an expression which represents a level.classMemberTypeThe type of an expression which represents a member.classNullTypeThe type of a null expression.classNumericTypeThe type of a numeric expression.classScalarTypeBase class for types which represent scalar values.classSetTypeSet type.classStringTypeThe type of a string expression.classSymbolTypeThe type of a symbolic expression.classTupleTypeTuple type.Fields in mondrian.olap.type declared as Type Modifier and Type Field Description Type[]TupleType. elementTypesMethods in mondrian.olap.type that return Type Modifier and Type Method Description TypeCubeType. computeCommonType(Type type, int[] conversionCount)TypeDimensionType. computeCommonType(Type type, int[] conversionCount)TypeHierarchyType. computeCommonType(Type type, int[] conversionCount)TypeLevelType. computeCommonType(Type type, int[] conversionCount)TypeMemberType. computeCommonType(Type type, int[] conversionCount)TypeScalarType. computeCommonType(Type type, int[] conversionCount)TypeSetType. computeCommonType(Type type, int[] conversionCount)TypeTupleType. computeCommonType(Type type, int[] conversionCount)TypeType. computeCommonType(Type type, int[] conversionCount)Returns a Type which is more general than this and the given Type.static TypeTypeUtil. computeCommonType(boolean allowConversions, Type... types)Returns a type sufficiently broad to hold any value of several types, but as narrow as possible.TypeSetType. getElementType()Returns the type of the elements of this set.TypeMemberType. getValueType()TypeTupleType. getValueType()static TypeTypeUtil. stripSetType(Type type)Given a set type, returns the element type.static TypeTypeUtil. 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 booleanTypeUtil. 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 booleanTypeUtil. canEvaluate(Type type)Returns whether a value of a given type can be evaluated to a scalar value.TypeCubeType. computeCommonType(Type type, int[] conversionCount)TypeDimensionType. computeCommonType(Type type, int[] conversionCount)TypeHierarchyType. computeCommonType(Type type, int[] conversionCount)TypeLevelType. computeCommonType(Type type, int[] conversionCount)TypeMemberType. computeCommonType(Type type, int[] conversionCount)TypeScalarType. computeCommonType(Type type, int[] conversionCount)TypeSetType. computeCommonType(Type type, int[] conversionCount)TypeTupleType. computeCommonType(Type type, int[] conversionCount)TypeType. computeCommonType(Type type, int[] conversionCount)Returns a Type which is more general than this and the given Type.static TypeTypeUtil. computeCommonType(boolean allowConversions, Type... types)Returns a type sufficiently broad to hold any value of several types, but as narrow as possible.static booleanTypeUtil. couldBeMember(Type type)static DimensionTypeDimensionType. forType(Type type)static HierarchyTypeHierarchyType. forType(Type type)static LevelTypeLevelType. forType(Type type)static MemberTypeMemberType. forType(Type type)static List<Hierarchy>TypeUtil. getHierarchies(Type type)Returns the hierarchies in a set, member, or tuple type.static booleanTypeUtil. isSet(Type type)Returns whether a type is a set type.static booleanTypeUtil. isUnionCompatible(Type type1, Type type2)Returns whether this type is union-compatible with another.static TypeTypeUtil. stripSetType(Type type)Given a set type, returns the element type.static TypeTypeUtil. toMemberOrTupleType(Type type)Converts a type to a member or tuple type.static MemberTypeTypeUtil. toMemberType(Type type)Converts a type to a member type.static intTypeUtil. 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 TypeRolapSchemaParameter. 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.TypeUserDefinedFunction. getReturnType(Type[] parameterTypes)Returns the return-type of this function.TypeUserDefinedFunction.Argument. getType()Returns the type of the argument.Methods in mondrian.spi with parameters of type Type Modifier and Type Method Description TypeUserDefinedFunction. 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()TypeCurrentDateMemberUdf. getReturnType(Type[] parameterTypes)TypeCurrentDateStringUdf. getReturnType(Type[] parameterTypes)TypeInUdf. getReturnType(Type[] parameterTypes)TypeInverseNormalUdf. getReturnType(Type[] types)TypeLastNonEmptyUdf. getReturnType(Type[] parameterTypes)TypeMatchesUdf. getReturnType(Type[] parameterTypes)TypeNullValueUdf. getReturnType(Type[] parameterTypes)TypeValUdf. getReturnType(Type[] parameterTypes)Methods in mondrian.udf with parameters of type Type Modifier and Type Method Description TypeCurrentDateMemberUdf. getReturnType(Type[] parameterTypes)TypeCurrentDateStringUdf. getReturnType(Type[] parameterTypes)TypeInUdf. getReturnType(Type[] parameterTypes)TypeInverseNormalUdf. getReturnType(Type[] types)TypeLastNonEmptyUdf. getReturnType(Type[] parameterTypes)TypeMatchesUdf. getReturnType(Type[] parameterTypes)TypeNullValueUdf. getReturnType(Type[] parameterTypes)TypeValUdf. getReturnType(Type[] parameterTypes)
-