[Mondrian] UDFs that return Sets

Fábio Rocha fabiofrp at yahoo.com
Wed Feb 27 14:28:24 EST 2008


Thanks for the response Julian, worked like a charm. :)

Fabio

----- Original Message ----
From: Julian Hyde <jhyde at pentaho.org>
To: Mondrian developer mailing list <mondrian at pentaho.org>
Sent: Wednesday, February 27, 2008 3:17:51 PM
Subject: RE: [Mondrian] UDFs that return Sets

 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.
 
Julian


      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,

Fabio


    Looking for last minute shopping deals? Find 
  them fast with Yahoo! Search.

-----Inline Attachment Follows-----

_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org
http://lists.pentaho.org/mailman/listinfo/mondrian






      Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.






      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20080227/208e500d/attachment.html 


More information about the Mondrian mailing list