Class PreFilterDimensionExtractor

Object
PreFilterDimensionExtractor

public final class PreFilterDimensionExtractor extends Object
Converts the pre-filter produced by the split phase into dimension filter objects.

It expects only predicates already recognized by DimensionFilterSplitter and maps them to time, elevation, or additional dimensions so they can later be resolved against NetCDF dimension indexes. Any residual predicate is kept in the post-filter and is not interpreted here.

This extractor is therefore the step that turns filter syntax into DimensionFilter instances suitable for efficient slice selection.

  • Constructor Details

    • PreFilterDimensionExtractor

      public PreFilterDimensionExtractor(DimensionBindingResolver bindings)
      Builds an extractor for the dimensions exposed by the provided variable.
  • Method Details

    • extract

      public SplitFilterResult extract(Filter preFilter, Filter postFilter)
      Extracts recognized dimension filters from the pre-filter and preserves the post-filter.