OLAP Server User Guide
MDX Documentation
Java Functions (icCube MDX extension)

A set of Java functions available in MDX

Parameters

Name Type Cardinality Default value

Return

value

Description


A list of Java functions are directly available from MDX.


  • PatternMatches(string regexp,string s), equivalent to s.matches(regexp)
  • Contains(string s1,string s2), equivalent to s1.contains(s2)
  • IsNan(double v), equivalent to Double.isNan(v)
  • IsInfinity(double v), equivalent to Double.isInfinity(v)
  • StringToDate(String date, String pattern), equivalent to DateTimeFormat.forPattern(pattern).parseDateTime(date).toLocalDateTime(), link
  • DateTime(int year, month [, day, hours, minutes, seconds]), return a LocalDateTime using the specified parameters


Examples

Special Examples (errors, null, ...)

XMLA Properties

Find here the value of the XMLA properties when not specified otherwise.

icCube OLAP version: 3.0.3 03-Mar-2013 14:06:07 GMT