Package org.apache.druid.query.context
Class DefaultResponseContext
- java.lang.Object
-
- org.apache.druid.query.context.ResponseContext
-
- org.apache.druid.query.context.DefaultResponseContext
-
public class DefaultResponseContext extends ResponseContext
The implementation ofResponseContextwith a HashMap as a delegate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.druid.query.context.ResponseContext
ResponseContext.AbstractKey, ResponseContext.BooleanKey, ResponseContext.CounterKey, ResponseContext.Key, ResponseContext.Keys, ResponseContext.LongKey, ResponseContext.SerializationResult, ResponseContext.StringKey
-
-
Constructor Summary
Constructors Constructor Description DefaultResponseContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultResponseContextcreateEmpty()protected Map<ResponseContext.Key,Object>getDelegate()-
Methods inherited from class org.apache.druid.query.context.ResponseContext
add, addCpuNanos, addMissingSegments, addRemainingResponse, addRowScanCount, deserialize, get, getCpuNanos, getEntityTag, getMissingSegments, getRemainingResponses, getRowScanCount, getTimeoutTime, getTotalBytes, getUncoveredIntervals, initialize, initializeMissingSegments, initializeRemainingResponses, initializeRowScanCount, merge, put, putEntityTag, putQueryFailDeadlineMs, putTimeoutTime, putUncoveredIntervals, remove, serializeWith, toMap
-
-
-
-
Method Detail
-
createEmpty
public static DefaultResponseContext createEmpty()
-
getDelegate
protected Map<ResponseContext.Key,Object> getDelegate()
- Specified by:
getDelegatein classResponseContext
-
-