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 type of query key.T
- The type of temporal point type.B
- The type of the builder subclass.
- 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
Abstract builder for creating
ProcessingContext
instances.
This class provides a base implementation for building processing contexts, allowing properties to be added for specific query keys.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
properties
-
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
self
Returns the current builder instance.This method is used to enable method chaining in subclasses.
- Returns:
- The current builder instance.
-
addPropertyValue
Sets a property value for a specific query key.Adds or updates a property value in the builder's properties map.
- Type Parameters:
V
- The type of the property value.- Parameters:
queryKey
- The query key to set the property for.property
- The property key.value
- The property value.- Returns:
- This builder for chaining.
- Throws:
NullPointerException
- if any of the parameters are null.
-