@Override public String toString(final int indent) { final StringBuilder sb = new StringBuilder(); sb.append("\n"); sb.append(indent(indent)); sb.append("FILTER( ").append(getValueExpressionNode().toString(indent+1)).append(" )"); // if (getQueryHints() != null) { // sb.append("\n"); // sb.append(indent(indent)); // sb.append(Annotations.QUERY_HINTS); // sb.append("="); // sb.append(getQueryHints().toString()); // } return sb.toString(); }
@Override public String toString(final int indent) { final StringBuilder sb = new StringBuilder(); sb.append("\n"); sb.append(indent(indent)); sb.append("FILTER( ").append(getValueExpressionNode().toString(indent+1)).append(" )"); // if (getQueryHints() != null) { // sb.append("\n"); // sb.append(indent(indent)); // sb.append(Annotations.QUERY_HINTS); // sb.append("="); // sb.append(getQueryHints().toString()); // } return sb.toString(); }
/** * Provides a pretty print representation with recursive descent. */ @Override public String toString(int i) { final StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); final Integer bopId = (Integer) getProperty(Annotations.BOP_ID); if (bopId != null) { sb.append("[" + bopId + "]"); } sb.append("("); int nwritten = 0; final Iterator<BOp> itr = argIterator(); while(itr.hasNext()) { final BOp t = itr.next(); if (nwritten > 0) sb.append(','); if (t == null) { sb.append("<null>"); } else { sb.append(((IValueExpressionNode)t).toString(i+1)); } nwritten++; } sb.append(")"); annotationsToString(sb, i); return sb.toString(); }
/** * Provides a pretty print representation with recursive descent. */ @Override public String toString(int i) { final StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); final Integer bopId = (Integer) getProperty(Annotations.BOP_ID); if (bopId != null) { sb.append("[" + bopId + "]"); } sb.append("("); int nwritten = 0; final Iterator<BOp> itr = argIterator(); while(itr.hasNext()) { final BOp t = itr.next(); if (nwritten > 0) sb.append(','); if (t == null) { sb.append("<null>"); } else { sb.append(((IValueExpressionNode)t).toString(i+1)); } nwritten++; } sb.append(")"); annotationsToString(sb, i); return sb.toString(); }