Interface ProcessingContext<K extends QueryKey<T>,T extends TemporalPointType & QueryablePointType<T>>

Type Parameters:
K - The type of query key, which extends QueryKey.
T - The type of temporal point type, which extends both TemporalPointType and QueryablePointType.
All Known Implementing Classes:
DefaultProcessingContext

public interface ProcessingContext<K extends QueryKey<T>,T extends TemporalPointType & QueryablePointType<T>>
Represents the base context for initializing point processing.

This interface provides a mechanism to retrieve properties associated with specific query keys during the initialization of point processing. It is parameterized by the type of query key and the type of temporal point being processed.

  • Method Summary

    Modifier and Type
    Method
    Description
    <V> Optional<V>
    getContextValue(K queryKey, Property<V> property)
    Retrieves a property value associated with a specific query key.
  • Method Details

    • getContextValue

      <V> Optional<V> getContextValue(K queryKey, Property<V> property)
      Retrieves a property value associated with a specific query key.

      This method allows querying for a property value based on the provided query key and property key.

      Type Parameters:
      V - The type of the property value.
      Parameters:
      queryKey - The query key to retrieve the property for.
      property - The property key to identify the desired value.
      Returns:
      An Optional containing the property value if it exists, or an empty Optional if not.