Class DefaultProcessingContext.AbstractBuilder<K extends QueryKey<T>, T extends TemporalPointType & QueryablePointType<T>, B extends DefaultProcessingContext.AbstractBuilder<K,T,B>>

java.lang.Object
com.inductiveautomation.historian.gateway.api.query.processor.DefaultProcessingContext.AbstractBuilder<K,T,B>
Type Parameters:
K - the query key type
T - the point type of the keys
B - the concrete builder type
Direct Known Subclasses:
DefaultProcessingContext.Builder
Enclosing class:
DefaultProcessingContext<K extends QueryKey<T>, T extends TemporalPointType & QueryablePointType<T>>

protected abstract static class DefaultProcessingContext.AbstractBuilder<K extends QueryKey<T>, T extends TemporalPointType & QueryablePointType<T>, B extends DefaultProcessingContext.AbstractBuilder<K,T,B>> extends Object
Base builder that accumulates property values per query key.
  • Field Details

  • Constructor Details

    • AbstractBuilder

      protected AbstractBuilder()
  • Method Details

    • self

      protected abstract B self()
      Returns this builder as its concrete type, for chaining.
    • addPropertyValue

      public <V> B addPropertyValue(K queryKey, Property<V> property, V value)
      Sets a property value for a query key, replacing any existing value.
      Type Parameters:
      V - the property value type
      Parameters:
      queryKey - the query key
      property - the property
      value - the value
      Returns:
      this builder
      Throws:
      NullPointerException - if any argument is null