Class SelectAndViewAnalyzer.AnalyzerContext

java.lang.Object
io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.AnalyzerContext
Enclosing class:
SelectAndViewAnalyzer

public static final class SelectAndViewAnalyzer.AnalyzerContext extends Object
  • Method Details

    • getPublishedColumnSources

      public Map<String,ColumnSource<?>> getPublishedColumnSources()
      Returns:
      the column sources that are published through the child table
    • createAnalyzer

      public SelectAndViewAnalyzer createAnalyzer()
      Returns:
      the final analyzer
    • getProcessedColumns

      public List<SelectColumn> 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

      public Map<String,String[]> 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 table
      resultSoFar - the intermediate result
      updateFlavor - the update flavor
      Returns:
      the final result