MCPcopy Index your code
hub / github.com/uber/aresdb / NewHLLQueryResponseWriter

Function NewHLLQueryResponseWriter

api/query_handler.go:374–380  ·  view source on GitHub ↗

NewHLLQueryResponseWriter creates a new HLLQueryResponseWriter.

()

Source from the content-addressed store, hash-verified

372
373// NewHLLQueryResponseWriter creates a new HLLQueryResponseWriter.
374func NewHLLQueryResponseWriter() QueryResponseWriter {
375 w := HLLQueryResponseWriter{
376 response: queryCom.NewHLLQueryResults(),
377 statusCode: http.StatusOK,
378 }
379 return &w
380}
381
382// ReportError writes the error of the query to the response.
383func (w *HLLQueryResponseWriter) ReportError(queryIndex int, table string, err error, statusCode int) {

Callers 2

getReponseWriterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected