@Override public String toString() {
    String result = "QueryRequest{";
    result += ("endTs=" + endTs + ", ");
    result += ("lookback=" + lookback + ", ");
    if (serviceName != null) result += ("serviceName=" + serviceName + ", ");
    if (remoteServiceName != null) result += ("remoteServiceName=" + remoteServiceName + ", ");
    if (spanName != null) result += ("spanName=" + spanName + ", ");
    if (!annotationQuery.isEmpty()) result += ("annotationQuery=" + annotationQuery + ", ");
    if (minDuration != null) result += ("minDuration=" + minDuration + ", ");
    if (maxDuration != null) result += ("maxDuration=" + maxDuration + ", ");
    return result + "limit=" + limit + "}";
  }
Tests the supplied trace against the current request.

<p>This is used when the backend cannot fully refine a trace query.
zipkin/src/main/java/zipkin2/storage/QueryRequest.java