use of com.questdb.net.http.ChunkedResponse in project questdb by bluestreak01.
the class QueryHandler method handle.
@Override
public void handle(IOContext context) throws IOException {
QueryHandlerContext ctx = localContext.get(context);
if (ctx == null) {
localContext.set(context, ctx = new QueryHandlerContext(context.getFd(), context.getServerConfiguration().getDbCyclesBeforeCancel()));
}
ChunkedResponse r = context.chunkedResponse();
if (ctx.parseUrl(r, context.request)) {
ctx.compileQuery(r, factory, cacheMisses, cacheHits);
resume(context);
}
}
Aggregations