| Package | Description |
|---|---|
| org.apache.druid.query.context |
| Modifier and Type | Class and Description |
|---|---|
static class |
ResponseContext.AbstractKey
Abstract key class which provides most functionality except the
type-specific merge logic.
|
static class |
ResponseContext.BooleanKey
Boolean valued attribute with the semantics that once the flag is
set true, it stays true.
|
static class |
ResponseContext.CounterKey
Long valued attribute that holds the accumulation of values assigned.
|
static class |
ResponseContext.LongKey
Long valued attribute that holds the latest value assigned.
|
static class |
ResponseContext.StringKey
String valued attribute that holds the latest value assigned.
|
| Modifier and Type | Field and Description |
|---|---|
static ResponseContext.Key |
ResponseContext.Keys.CPU_CONSUMED_NANOS
The total CPU time for threads related to Sequence processing of the query.
|
static ResponseContext.Key |
ResponseContext.Keys.ETAG
Entity tag.
|
static ResponseContext.Key |
ResponseContext.Keys.MISSING_SEGMENTS
Lists missing segments.
|
static ResponseContext.Key |
ResponseContext.Keys.NUM_SCANNED_ROWS
The number of rows scanned by
ScanQueryEngine. |
static ResponseContext.Key |
ResponseContext.Keys.QUERY_FAIL_DEADLINE_MILLIS
Query fail time (current time + timeout).
|
static ResponseContext.Key |
ResponseContext.Keys.QUERY_TOTAL_BYTES_GATHERED
Query total bytes gathered.
|
static ResponseContext.Key |
ResponseContext.Keys.REMAINING_RESPONSES_FROM_QUERY_SERVERS
Map of most relevant query ID to remaining number of responses from query nodes.
|
static ResponseContext.Key |
ResponseContext.Keys.TIMEOUT_AT
This variable indicates when a running query should be expired,
and is effective only when 'timeout' of queryContext has a positive value.
|
static ResponseContext.Key |
ResponseContext.Keys.TRUNCATED
Indicates if a
ResponseContext was truncated during serialization. |
static ResponseContext.Key |
ResponseContext.Keys.UNCOVERED_INTERVALS
Lists intervals for which NO segment is present.
|
static ResponseContext.Key |
ResponseContext.Keys.UNCOVERED_INTERVALS_OVERFLOWED
Indicates if the number of uncovered intervals exceeded the limit (true/false).
|
| Modifier and Type | Method and Description |
|---|---|
ResponseContext.Key |
ResponseContext.Keys.find(String name)
Returns a registered key associated with the given name, or
null if the key is not registered. |
ResponseContext.Key |
ResponseContext.Keys.keyOf(String name)
Returns a registered key associated with the name .
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<ResponseContext.Key,Object> |
DefaultResponseContext.getDelegate() |
protected abstract Map<ResponseContext.Key,Object> |
ResponseContext.getDelegate() |
protected Map<ResponseContext.Key,Object> |
ConcurrentResponseContext.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
Object |
ResponseContext.add(ResponseContext.Key key,
Object value)
Adds (merges) a new value associated with a key to an old value.
|
Object |
ResponseContext.get(ResponseContext.Key key) |
Object |
ResponseContext.put(ResponseContext.Key key,
Object value)
Associates the specified object with the specified extension key.
|
void |
ResponseContext.Keys.registerKey(ResponseContext.Key key)
Primary way of registering context keys.
|
void |
ResponseContext.Keys.registerKeys(ResponseContext.Key[] keys)
Register a group of keys.
|
Object |
ResponseContext.remove(ResponseContext.Key key) |
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.