Class ResponseContext.CounterKey

java.lang.Object
org.apache.druid.query.context.ResponseContext.AbstractKey
org.apache.druid.query.context.ResponseContext.CounterKey
All Implemented Interfaces:
ResponseContext.Key
Enclosing class:
ResponseContext

public static class ResponseContext.CounterKey extends ResponseContext.AbstractKey
Long valued attribute that holds the accumulation of values assigned.
  • Method Details

    • mergeValues

      public Object mergeValues(Object oldValue, Object newValue)
      Description copied from interface: ResponseContext.Key
      Merges two values of type T.

      This method may modify "oldValue" but must not modify "newValue".