Package org.apache.druid.server
Class QueryResponse<T>
- java.lang.Object
-
- org.apache.druid.server.QueryResponse<T>
-
public class QueryResponse<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryResponse(org.apache.druid.java.util.common.guava.Sequence<T> results, org.apache.druid.query.context.ResponseContext responseContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.druid.query.context.ResponseContextgetResponseContext()org.apache.druid.java.util.common.guava.Sequence<T>getResults()static <T> QueryResponse<T>withEmptyContext(org.apache.druid.java.util.common.guava.Sequence<T> results)
-
-
-
Constructor Detail
-
QueryResponse
public QueryResponse(org.apache.druid.java.util.common.guava.Sequence<T> results, org.apache.druid.query.context.ResponseContext responseContext)
-
-
Method Detail
-
withEmptyContext
public static <T> QueryResponse<T> withEmptyContext(org.apache.druid.java.util.common.guava.Sequence<T> results)
-
getResults
public org.apache.druid.java.util.common.guava.Sequence<T> getResults()
-
getResponseContext
public org.apache.druid.query.context.ResponseContext getResponseContext()
-
-