MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / formatSuggestV1

Method formatSuggestV1

src/tsd/HttpJsonSerializer.java:548–551  ·  view source on GitHub ↗

Formats a suggestion response @param suggestions List of suggestions for the given type @return A JSON formatted byte array @throws JSONException if serialization failed

(final List<String> suggestions)

Source from the content-addressed store, hash-verified

546 * @throws JSONException if serialization failed
547 */
548 @Override
549 public ChannelBuffer formatSuggestV1(final List<String> suggestions) {
550 return this.serializeJSON(suggestions);
551 }
552
553 /**
554 * Format the serializer status map

Callers 3

formatSuggestV1Method · 0.95
formatSuggestV1JSONPMethod · 0.95
formatSuggestV1NullMethod · 0.95

Calls 1

serializeJSONMethod · 0.95

Tested by 3

formatSuggestV1Method · 0.76
formatSuggestV1JSONPMethod · 0.76
formatSuggestV1NullMethod · 0.76