<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Pranav,<br><br>The type you site is actually the JVM internal type string for an ARRAY of Member. The open square bracket gives the hint. You shouldn't need to look at that sort of thing, but just for information, the internal representation of boolean is Z, of int is I, long J, float F, double D etc ... an object type is L<name of class or interface>; and an array of some type is the square bracket followed by the internal type string.<br><br>Now, the point is that you need to know the types of parameters you are really going to get in your UDF. You shouldn't need to guess this sort of thing.<br><br>Can you also post your original MDX? There is probably an optimization that is
possible.<br><br>Michael<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Message d'origine ----<br>De : "Pranav.Matekar@zycus.com" <Pranav.Matekar@zycus.com><br>À : Mondrian developer mailing list <mondrian@pentaho.org><br>Envoyé le : Dimanche, 4 Mars 2007, 12h30mn 02s<br>Objet : RE: [Mondrian] Mondrian performance<br><br>
<br><font face="sans-serif" size="2">hi </font><font color="#000080" face="Verdana" size="2">Julian</font><font face="sans-serif" size="2">,</font>
<br>
<br><font face="sans-serif" size="2">thanks Julian.</font>
<br>
<br><font face="sans-serif" size="2">it's true that such query is very bad.</font>
<br><font face="sans-serif" size="2">i think userdefined function will help
me, </font>
<br><font face="sans-serif" size="2">so that i am trying some specific types
of queries via using userdefined functions</font>
<br>
<br><font face="sans-serif" size="2">currently i am facing one small problem,
in writing userdefined functions.</font>
<br><font face="sans-serif" size="2">i am getting one object of </font>
<br>
<br><font color="#004041" face="Courier New" size="2"><b><i>[Lmondrian.olap.Member;</i></b></font>
<br>
<br><font face="sans-serif" size="2">this class</font>
<br>
<br><font face="sans-serif" size="2">there is interface of type mondrian.olap.member</font>
<br>
<br><font face="sans-serif" size="2">i tried to cast it with this interface.
</font>
<br><font face="sans-serif" size="2">but it's giving class cast exception.</font>
<br>
<br><font face="sans-serif" size="2">can u give me some information about
such types of object?</font>
<br>
<br><font face="sans-serif" size="2">thank you.</font>
<br>
<br><font face="sans-serif" size="2"><br>
Pranav</font><div>_______________________________________________<br>Mondrian mailing list<br>Mondrian@pentaho.org<br><a target="_blank" href="http://lists.pentaho.org/mailman/listinfo/mondrian">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br></div></div><br></div></div><br>
                <hr size="1">
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.</body></html>