Interface FormulaColumn

All Superinterfaces:
Selectable, SelectColumn
All Known Implementing Classes:
AbstractFormulaColumn, DhFormulaColumn, FormulaColumnPython

public interface FormulaColumn extends SelectColumn
  • Method Details

    • createFormulaColumn

      static FormulaColumn createFormulaColumn(String columnName, String formulaString, FormulaParserConfiguration parser)
    • createFormulaColumn

      static FormulaColumn createFormulaColumn(String columnName, String formulaString)
    • hasConstantValue

      default boolean hasConstantValue()
      Returns:
      true if all rows have a single constant value
    • hasConstantArrayAccess

      default boolean hasConstantArrayAccess()
      Returns true if the formula expression of the column has Array Access that conforms to "i +/- <constant>" or "ii +/- <constant>".
      Returns:
      true or false
    • getFormulaShiftColPair

      default Pair<String,Map<Long,List<MatchPair>>> getFormulaShiftColPair()
      Returns a Pair object consisting of formula string and shift to column MatchPairs. If the column formula or expression has Array Access that conforms to "i +/- <constant>" or "ii +/- <constant>". If there is a parsing error for the expression null is returned.
      Returns:
      Pair of final formula string and shift to column MatchPairs.