use of mondrian.mdx.QueryPrintWriter in project mondrian by pentaho.
the class Util method unparse.
/**
* Converts an query to a string.
*/
public static String unparse(Query query) {
StringWriter sw = new StringWriter();
PrintWriter pw = new QueryPrintWriter(sw);
query.unparse(pw);
return sw.toString();
}
Aggregations