Package io.deephaven.engine.table.impl
Interface PushdownPredicateManager
- All Superinterfaces:
PushdownFilterMatcher
- All Known Implementing Classes:
DataIndexPushdownManager,RegionedColumnSourceManager,UnionSourceManager
-
Method Summary
Static MethodsModifier and TypeMethodDescriptioncomputeRenameMap(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.static PushdownPredicateManagergetSharedPPM(Collection<ColumnSource<?>> columnSources) Return the shared pushdown predicate manager for the given column sources, if one exists.Methods inherited from interface io.deephaven.engine.table.impl.PushdownFilterMatcher
estimatePushdownFilterCost, makePushdownFilterContext, pushdownFilter
-
Method Details
-
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 filterfilterColumns- 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