Interface PushdownPredicateManager

All Superinterfaces:
PushdownFilterMatcher
All Known Implementing Classes:
DataIndexPushdownManager, RegionedColumnSourceManager, UnionSourceManager

public interface PushdownPredicateManager extends PushdownFilterMatcher
  • Method Details

    • getSharedPPM

      static PushdownPredicateManager getSharedPPM(Collection<ColumnSource<?>> columnSources)
      Return the shared pushdown predicate manager for the given column sources, if one exists. Otherwise, return null.
      Parameters:
      columnSources - The column sources to check.
      Returns:
      The shared pushdown predicate manager, or null if none exists.
    • computeRenameMap

      @NotNull static @NotNull Map<String,String> computeRenameMap(List<ColumnSource<?>> columnSources, List<String> filterColumns, IdentityHashMap<ColumnSource<?>,String> columnSourceToName)
      Generate a map of the column names as represented in the filter to the column names as represented in an underlying table.
      Parameters:
      columnSources - the column sources used by the filter
      filterColumns - the names used by the filter (parallel with columnSources)
      columnSourceToName - an IdentityHashMap from the column sources we manage to their names (as the sources know them)
      Returns:
      a map of filter column names to table column names, for those columns which renames are necessary