Class AbstractFormulaColumn

java.lang.Object
io.deephaven.engine.table.impl.select.AbstractFormulaColumn
All Implemented Interfaces:
ConcurrencyControl<Selectable>, Selectable, FormulaColumn, SelectColumn
Direct Known Subclasses:
DhFormulaColumn, FormulaColumnPython

public abstract class AbstractFormulaColumn extends Object implements FormulaColumn
A SelectColumn that implements a formula computed from the existing columns in the table and a query scope.
  • Field Details

    • ALLOW_UNSAFE_REFRESHING_FORMULAS

      public static final boolean ALLOW_UNSAFE_REFRESHING_FORMULAS
    • formulaString

      protected String formulaString
    • originalFormulaString

      protected final String originalFormulaString
    • usedColumns

      protected List<String> usedColumns
    • columnName

      @NotNull protected final @NotNull String columnName
    • formulaFactoryFuture

      protected Future<FormulaFactory> formulaFactoryFuture
    • params

      protected QueryScopeParam<?>[] params
    • columnSources

      protected Map<String,? extends ColumnSource<?>> columnSources
    • columnDefinitions

      protected Map<String,ColumnDefinition<?>> columnDefinitions
    • returnedType

      protected Class<?> returnedType
    • COLUMN_SUFFIX

      public static final String COLUMN_SUFFIX
      See Also:
    • usedColumnArrays

      protected List<String> usedColumnArrays
    • usesI

      protected boolean usesI
    • usesII

      protected boolean usesII
    • usesK

      protected boolean usesK
  • Constructor Details

    • AbstractFormulaColumn

      protected AbstractFormulaColumn(String columnName, String formulaString)
      Create a formula column for the given formula string.

      The internal formula object is generated on-demand by calling out to the Java compiler.

      Parameters:
      columnName - the result column name
      formulaString - the formula string to be parsed by the QueryLanguageParser
  • Method Details