Package mondrian.olap.fun
Class VisualTotalsFunDef
- java.lang.Object
- 
- org.eigenbase.xom.XMLUtil
- 
- org.eigenbase.xom.XOMUtil
- 
- mondrian.olap.Util
- 
- mondrian.olap.fun.FunUtil
- 
- mondrian.olap.fun.FunDefBase
- 
- mondrian.olap.fun.VisualTotalsFunDef
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- FunDef
 
 public class VisualTotalsFunDef extends FunDefBase Definition of theVisualTotalsMDX function.- Since:
- Jan 16, 2006
- Author:
- jhyde
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classVisualTotalsFunDef.VisualTotalMemberCalculated member forVisualTotalsfunction.- 
Nested classes/interfaces inherited from class mondrian.olap.fun.FunUtilFunUtil.DescendingValueComparator
 - 
Nested classes/interfaces inherited from class mondrian.olap.UtilUtil.AbstractFlatList<T>, Util.ByteMatcher, Util.ErrorCellValue, Util.Flat2List<T>, Util.Flat3List<T>, Util.Functor1<RT,PT>, Util.GcIterator<T>, Util.MemoryInfo, Util.PropertyList, Util.SqlNullSafeComparator
 
- 
 - 
Field Summary- 
Fields inherited from class mondrian.olap.fun.FunDefBaseflags, parameterCategories, returnCategory
 - 
Fields inherited from class mondrian.olap.fun.FunUtilBooleanNull, DoubleEmpty, DoubleNull, IntegerNull, NullMember
 - 
Fields inherited from class mondrian.olap.UtilDEBUG, EmptyValue, IBM_JVM, JdbcVersion, JVM_INSTANCE_UUID, nl, nullValue, Retrowoven
 
- 
 - 
Constructor SummaryConstructors Constructor Description VisualTotalsFunDef(FunDef dummyFunDef)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CalccompileCall(ResolvedFunCall call, ExpCompiler compiler)Converts a call to this function into executable objects.protected ExpvalidateArg(Validator validator, Exp[] args, int i, int category)Validates an argument to a call to this function.- 
Methods inherited from class mondrian.olap.fun.FunDefBasecreateCall, getDescription, getName, getParameterCategories, getResultType, getReturnCategory, getSignature, getSyntax, unparse
 - 
Methods inherited from class mondrian.olap.fun.FunUtilavg, box, box, checkIterListResultStyles, checkListResultStyles, compareHierarchically, compareSiblingMembers, compareValues, compareValues, count, decodeCategory, decodeParameterCategories, decodeReturnCategory, decodeSyntacticType, getDimensionDefaultHierarchy, getNonEmptyMemberChildren, getNonEmptyMemberChildrenWithDetails, isAncestorOf, makeNullTuple, max, min, newEvalException, newEvalException, newEvalException, quartile, resolveFunArgs, sum, sumDouble, sumDouble, tupleContainsNullMember, tupleContainsNullMember, worthCaching
 - 
Methods inherited from class mondrian.olap.UtiladdAppender, addDatabaseTime, addLevelCalculatedMembers, append, appendArrays, areOccurencesEqual, assertPostcondition, assertPostcondition, assertPrecondition, assertPrecondition, assertTrue, assertTrue, badValue, binarySearch, bitSetBetween, camelToUpper, canCast, cancelStatement, caseSensitiveCompareName, cast, cast, castToIterable, checkCJResultLimit, close, commaList, compare, compareIntegers, compareKey, compareName, compileScript, convert, convert, convertOlap4jConnectStringToNativeMondrian, convertStackToString, copyOf, copyOf, copyOf, copyOf, copyOf, createExpr, createRandom, createRootRole, createSimpleValidator, createUdf, dbTimeMillis, deprecated, deprecated, digestMd5, digestSha256, equal, equalName, equals, equals, explain, falseFunctor, filter, flatList, flatList, flatListCopy, generateUuidString, genericArray, getAnnotation, getClosestResource, getDimensionCube, getErrorMessage, getErrorMessage, getExecutorService, getFirstDescendantOnLevel, getMatchingCause, getMemberOrdinalInParent, getMemoryInfo, getScheduledExecutorService, hash, hash, hashArray, identityFunctor, implode, intersect, isBlank, isEmpty, isNull, isSorted, isValidProperty, last, lookup, lookup, lookup, lookup, lookup, lookupCompound, lookupCompound, lookupHierarchyLevel, lookupHierarchyRootMember, lookupHierarchyRootMember, lookupProperty, makeAppender, makeBigDecimalFromDouble, makeFqName, makeFqName, makeFqName, matches, matches, mdxEncodeString, needToImplement, newElementNotFoundException, newError, newError, newIdentityHashSet, newIdentityHashSetFake, newInternal, newInternal, newTimer, nonDbTimeMillis, normalizeName, only, parseCommaList, parseConnectString, parseIdentifier, parseInterval, parseLocale, printMemory, printMemory, quoteForMdx, quoteForMdx, quoteJavaString, quoteMdxIdentifier, quoteMdxIdentifier, quoteMdxIdentifier, quoteMdxIdentifier, quotePattern, readFully, readFully, readURL, readURL, readURL, readVirtualFile, readVirtualFileAsString, removeAppender, replace, replace, replaceProperties, safeGet, setLevel, singleQuoteString, singleQuoteString, sort, sort, threadLocalRemove, toMap, toNullValuesMap, toOlap4j, toOlap4j, toOlap4j, toURL, trueFunctor, unexpected, uniquify, unparse, unparse, wildcardToRegexp
 - 
Methods inherited from class org.eigenbase.xom.XOMUtiladdChild, addChild, addChildren, addElement, concatenate, createDefaultParser, discard, discard, discard, discard, discard, discard, discard, discard, discard, getFirstInstance, wrapperToXml
 
- 
 
- 
- 
- 
Constructor Detail- 
VisualTotalsFunDefpublic VisualTotalsFunDef(FunDef dummyFunDef) 
 
- 
 - 
Method Detail- 
validateArgprotected Exp validateArg(Validator validator, Exp[] args, int i, int category) Description copied from class:FunDefBaseValidates an argument to a call to this function.The default implementation of this method adds an implicit conversion to the correct type. Derived classes may override. - Overrides:
- validateArgin class- FunDefBase
- Parameters:
- validator- Validator
- args- Arguments to this function
- i- Ordinal of argument
- category- Expected- categoryof argument
- Returns:
- Validated argument
 
 - 
compileCallpublic Calc compileCall(ResolvedFunCall call, ExpCompiler compiler) Description copied from interface:FunDefConverts a call to this function into executable objects.The result must implement the appropriate interface for the result type. For example, a function which returns an integer must return an object which implements IntegerCalc.- Specified by:
- compileCallin interface- FunDef
- Overrides:
- compileCallin class- FunDefBase
 
 
- 
 
-