Package org.apache.druid.server
Class QueryResourceQueryResultPusherFactory
java.lang.Object
org.apache.druid.server.QueryResourceQueryResultPusherFactory
Factory for creating instances of
QueryResourceQueryResultPusherFactory.QueryResourceQueryResultPusher.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHandles query results forQueryResource, pushing the results to the client. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
ConstructorsConstructorDescriptionQueryResourceQueryResultPusherFactory(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, ResponseContextConfig responseContextConfig, DruidNode selfNode) -
Method Summary
Modifier and TypeMethodDescriptionfactorize(QueryResource.QueryMetricCounter counter, javax.servlet.http.HttpServletRequest req, QueryLifecycle queryLifecycle, ResourceIOReaderWriterFactory.ResourceIOReaderWriter io) Creates a new instance ofQueryResourceQueryResultPusherFactory.QueryResourceQueryResultPusher.
-
Field Details
-
jsonMapper
protected final com.fasterxml.jackson.databind.ObjectMapper jsonMapper
-
-
Constructor Details
-
QueryResourceQueryResultPusherFactory
@Inject public QueryResourceQueryResultPusherFactory(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, ResponseContextConfig responseContextConfig, DruidNode selfNode)
-
-
Method Details
-
factorize
public QueryResourceQueryResultPusherFactory.QueryResourceQueryResultPusher factorize(QueryResource.QueryMetricCounter counter, javax.servlet.http.HttpServletRequest req, QueryLifecycle queryLifecycle, ResourceIOReaderWriterFactory.ResourceIOReaderWriter io) Creates a new instance ofQueryResourceQueryResultPusherFactory.QueryResourceQueryResultPusher.
-