legacy/src/main/java/thredds/catalog/query/Selector.java
public void appendQuery( StringBuffer sbuff, ArrayList values) {
    if (template != null)
      appendQueryFromTemplate( sbuff, values);
    else
      appendQueryFromParamValue( sbuff, values);
  }
public void appendQuery( StringBuffer sbuff, ArrayList values) {
    if (template != null)
      appendQueryFromTemplate( sbuff, values);
    else
      appendQueryFromParamValue( sbuff, values);
  }
Create the selector result string, and append.
@param sbuff append here
@param values list of selected values, each value is a pair (String, Object), where the
String is name of the value, and the Object is the value itself. We use the toString()
method on the object to get its String representation.