MCPcopy Create free account
hub / github.com/uber/aresdb / getReponseWriter

Function getReponseWriter

api/query_handler.go:294–299  ·  view source on GitHub ↗
(returnHLL bool, nQueries int)

Source from the content-addressed store, hash-verified

292}
293
294func getReponseWriter(returnHLL bool, nQueries int) QueryResponseWriter {
295 if returnHLL {
296 return NewHLLQueryResponseWriter()
297 }
298 return NewJSONQueryResponseWriter(nQueries)
299}
300
301// QueryResponseWriter defines the interface to write query result and error to final response.
302type QueryResponseWriter interface {

Callers 1

handleAQLInternalMethod · 0.85

Calls 2

Tested by

no test coverage detected