private String renderTupleExpr(TupleExpr theExpr) throws Exception {
  SerqlTupleExprRenderer aRenderer=new SerqlTupleExprRenderer();
  aRenderer.mProjection=new ArrayList<ProjectionElemList>(mProjection);
  aRenderer.mDistinct=mDistinct;
  aRenderer.mReduced=mReduced;
  aRenderer.mExtensions=new HashMap<String,ValueExpr>(mExtensions);
  aRenderer.mOrdering=new ArrayList<OrderElem>(mOrdering);
  aRenderer.mLimit=mLimit;
  aRenderer.mOffset=mOffset;
  return aRenderer.render(theExpr);
}

private String renderTupleExpr ( TupleExpr theExpr ) throws Exception { SerqlTupleExprRenderer aRenderer = new SerqlTupleExprRenderer ( ) ; aRenderer . mProjection = new ArrayList < ProjectionElemList > ( mProjection ) ; aRenderer . mDistinct = mDistinct ; aRenderer . mReduced = mReduced ; aRenderer . mExtensions = new HashMap < String , ValueExpr > ( mExtensions ) ; aRenderer . mOrdering = new ArrayList < OrderElem > ( mOrdering ) ; aRenderer . mLimit = mLimit ; aRenderer . mOffset = mOffset ; return aRenderer . render ( theExpr ) ; }
renders the tuple expression as a query string . it creates a new serqltupleexprrenderer rather than reusing this one .
