[Mondrian] UDFs that return Sets

Julian Hyde jhyde at pentaho.org
Wed Feb 27 09:17:51 EST 2008

You need to return a list of Member objects. If the UDF is to return tuples,
return a list of arrays of Members instead.
You could probably also return an Iterable<Member> (or Iterable<Member[]>
for tuples).
I don't have an example, but it should work.


From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On
Behalf Of Fábio Rocha
Sent: Wednesday, February 27, 2008 5:46 AM
To: Mondrian developer mailing list
Subject: [Mondrian] UDFs that return Sets

Hello everyone, 

does anyone have an example on UDF returning sets? the set type is mapped to
List in java, right?

Thanks in advance,



Looking for last minute shopping deals? Find
ategory.php?category=shopping> them fast with Yahoo! Search.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20080227/7ed520b6/attachment.html 

More information about the Mondrian mailing list