Class SelectAndViewAnalyzer.AnalyzerContext
java.lang.Object
io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.AnalyzerContext
- Enclosing class:
- SelectAndViewAnalyzer
-
Method Summary
Modifier and TypeMethodDescriptionapplyShiftsAndRemainingColumns
(@NotNull QueryTable parentTable, @NotNull QueryTable resultSoFar, SelectAndViewAnalyzer.UpdateFlavor updateFlavor) Shift columns introduce intermediary table operations.Our job here is to calculate the effects: a map from incoming column to a list of columns that it effects.Map<String,
ColumnSource<?>> boolean
-
Method Details
-
getPublishedColumnSources
- Returns:
- the column sources that are published through the child table
-
createAnalyzer
- Returns:
- the final analyzer
-
getProcessedColumns
- Returns:
- which select columns were included in the result (not including the shift, or post-shift, columns)
-
isFlatResult
public boolean isFlatResult()- Returns:
- whether the result should be flat
-
calcEffects
Our job here is to calculate the effects: a map from incoming column to a list of columns that it effects. We do this in two stages. In the first stage we create a map from column to (set of dependent columns). In the second stage we reverse that map.- Returns:
- the effects map
-
applyShiftsAndRemainingColumns
public QueryTable applyShiftsAndRemainingColumns(@NotNull @NotNull QueryTable parentTable, @NotNull @NotNull QueryTable resultSoFar, SelectAndViewAnalyzer.UpdateFlavor updateFlavor) Shift columns introduce intermediary table operations. This method applies remaining work to the result built so far.- Parameters:
parentTable
- the source tableresultSoFar
- the intermediate resultupdateFlavor
- the update flavor- Returns:
- the final result
-