Interface FormulaColumn
- All Superinterfaces:
Selectable
,SelectColumn
- All Known Implementing Classes:
AbstractFormulaColumn
,DhFormulaColumn
,FormulaColumnPython
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.select.SelectColumn
SelectColumn.ExpressionAdapter
-
Field Summary
Fields inherited from interface io.deephaven.engine.table.impl.select.SelectColumn
ZERO_LENGTH_SELECT_COLUMN_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormulaColumn
createFormulaColumn
(String columnName, String formulaString) static FormulaColumn
createFormulaColumn
(String columnName, String formulaString, FormulaParserConfiguration parser) Returns a Pair object consisting of formula string and shift to column MatchPairs.default boolean
Returns true if the formula expression of the column has Array Access that conforms to "i +/- <constant>" or "ii +/- <constant>".default boolean
Methods inherited from interface io.deephaven.engine.table.impl.select.SelectColumn
copy, expression, getColumnArrays, getColumns, getDataView, getLazyView, getMatchPair, getName, getReturnedComponentType, getReturnedType, initDef, initDef, initInputs, isRetain, isStateless, newColumn, newDestInstance, newFlatDestInstance, validateSafeForRefresh
-
Method Details
-
createFormulaColumn
static FormulaColumn createFormulaColumn(String columnName, String formulaString, FormulaParserConfiguration parser) -
createFormulaColumn
-
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
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.
-