/** * Returns the string representation of this search query spec. * <p> * <b>The string is NOT the JSON representation used for Druid query.</b> The format of the string is * "FragmentSearchQuerySpec{type=XXX, case_sensitive=YYY, values=ZZZ}", where XXX is given by {@link #getType()}, * YYY by {@link #isCaseSensitive()}, and ZZZ by {@link #getValues()}. Note that each value is * separated by a comma followed by a single space. Values are not quoted. * * @return the string representation of this search query spec */ @Override public String toString() { return String.format( "FragmentSearchQuerySpec{type=%s, case_sensitive=%s, values=%s}", getType(), isCaseSensitive(), getValues() ); } }