Codota Logo
Result.close
Code IndexAdd Codota to your IDE (free)

How to use
close
method
in
mondrian.olap.Result

Best Java code snippets using mondrian.olap.Result.close (Showing top 4 results out of 315)

  • Common ways to obtain Result
private void myMethod () {
Result r =
  • Codota IconConnection connection;Query query;connection.execute(query)
  • Smart code suggestions by Codota
}
origin: pentaho/pentaho-kettle

public void close() {
 if ( result != null ) {
  try {
   result.close();
  } catch ( Exception ignored ) {
origin: pentaho/mondrian

  public void close() {
    underlying.close();
  }
}
origin: pentaho/mondrian

public void close() {
  if (closed) {
    return;
  }
  this.closed = true;
  final ProfileHandler profileHandler =
    olap4jStatement.getProfileHandler();
  if (profileHandler != null) {
    final StringWriter stringWriter = new StringWriter();
    final PrintWriter printWriter = new PrintWriter(stringWriter);
    olap4jStatement.getQuery().explain(printWriter);
    printWriter.close();
    profileHandler.explain(stringWriter.toString(), getQueryTiming());
  }
  if (this.result != null) {
    this.result.close();
  }
  olap4jStatement.onResultSetClose(this);
}
origin: jasperreports/jasperreports

public void close()
{
  if (result != null)
  {
    result.close();
    result = null;
  }
}
mondrian.olapResultclose

Popular methods of Result

  • getAxes
  • getCell
  • getQuery
  • print
  • getSlicerAxis
    Returns the slicer axis.

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
  • getContentResolver (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now