148149150151152153154155
return nv ; } public static void fmtSPARQL(IndentedWriter iOut, Expr expr, SerializationContext sCxt) { FmtExprSPARQL v = new FmtExprSPARQL(iOut, sCxt) ; v.format(expr) ; }
168169170171172173174175176177178179180181
// ExprLists public static void fmtSPARQL(IndentedWriter iOut, ExprList exprs, SerializationContext pmap) { FmtExprSPARQL fmt = new FmtExprSPARQL(iOut, pmap) ; String sep = "" ; for (Expr expr : exprs) { iOut.print(sep) ; sep = " , " ; fmt.format(expr) ; } }
138139140141142143144145146
@Override public void output(IndentedWriter out) { out.print(Plan.startMarker) ; out.print("SortCondition ") ; FmtExprSPARQL fmt = new FmtExprSPARQL(out, null) ; format(fmt, out) ; out.print(Plan.finishMarker) ; }
@Override public void output(IndentedWriter out, SerializationContext sCxt) { if ( sCxt == null ) sCxt = new SerializationContext() ; FmtExprSPARQL fmt = new FmtExprSPARQL(out, sCxt) ; format(fmt, out) ; }