[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mondrian
Subject:    Re: [Mondrian] mdxquery stop
From:       Luc Boudreau <lucboudreau () gmail ! com>
Date:       2013-02-01 15:33:57
Message-ID: CAKTEAx8=M1iKwWEx0X2oSwwMXWGPuKpf=CaS+hC2czB3Q-sQ-Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


You do the same as with a SQL statement object. Just call cancel().

ref:
http://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html?is-external=true#cancel%28%29

Luc

On Fri, Feb 1, 2013 at 3:41 AM, Meral Ozkaya <meral.ozkaya@gmail.com> wrote:

> Hello,
>
> I want to stop mondrian.getResult() statement. Because complicated
> mdxquery can take much time and i do not want to wait for result. Do you
> have any idea?
>
> --
> Meral Özkaya
> _______________________________________________
> Mondrian mailing list
> Mondrian@pentaho.org
> http://lists.pentaho.org/mailman/listinfo/mondrian
>
>

[Attachment #5 (text/html)]

You do the same as with a SQL statement object. Just call cancel().<br><br>ref: <a \
href="http://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html?is-external=tru \
e#cancel%28%29">http://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html?is-external=true#cancel%28%29</a><br>


<br>Luc<br><br><div class="gmail_quote">On Fri, Feb 1, 2013 at 3:41 AM, Meral Ozkaya \
<span dir="ltr">&lt;<a href="mailto:meral.ozkaya@gmail.com" \
target="_blank">meral.ozkaya@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">

Hello,<br><br>I want to stop mondrian.getResult() statement. Because complicated \
mdxquery can take much time and i do not want to wait for result. Do you have any \
idea?<span class="HOEnZb"><font color="#888888"><br clear="all">

<br>-- <br>Meral Özkaya
</font></span><br>_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" \
target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br> \
<br></blockquote></div><br>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic