Package | Description |
---|---|
org.apache.druid.query.context |
Modifier and Type | Class and Description |
---|---|
static class |
ResponseContext.Key
Keys associated with objects in the context.
|
Modifier and Type | Method and Description |
---|---|
static ResponseContext.BaseKey |
ResponseContext.Key.keyOf(String name)
Returns a registered key associated with the name .
|
Modifier and Type | Method and Description |
---|---|
static Collection<ResponseContext.BaseKey> |
ResponseContext.Key.getAllRegisteredKeys()
Returns all keys registered via
ResponseContext.Key.registerKey(org.apache.druid.query.context.ResponseContext.BaseKey) . |
protected Map<ResponseContext.BaseKey,Object> |
DefaultResponseContext.getDelegate() |
protected abstract Map<ResponseContext.BaseKey,Object> |
ResponseContext.getDelegate() |
protected Map<ResponseContext.BaseKey,Object> |
ConcurrentResponseContext.getDelegate() |
Modifier and Type | Method and Description |
---|---|
Object |
ResponseContext.add(ResponseContext.BaseKey key,
Object value)
Adds (merges) a new value associated with a key to an old value.
|
Object |
ResponseContext.get(ResponseContext.BaseKey key) |
Object |
ResponseContext.put(ResponseContext.BaseKey key,
Object value)
Associates the specified object with the specified key.
|
static void |
ResponseContext.Key.registerKey(ResponseContext.BaseKey key)
Primary way of registering context keys.
|
Object |
ResponseContext.remove(ResponseContext.BaseKey key) |
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.