Class FormulaColumnPython
java.lang.Object
io.deephaven.engine.table.impl.select.AbstractFormulaColumn
io.deephaven.engine.table.impl.select.python.FormulaColumnPython
- All Implemented Interfaces:
Selectable
,FormulaKernelFactory
,FormulaColumn
,SelectColumn
A formula column for python native code.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.select.SelectColumn
SelectColumn.ExpressionAdapter
-
Field Summary
Fields inherited from class io.deephaven.engine.table.impl.select.AbstractFormulaColumn
ALLOW_UNSAFE_REFRESHING_FORMULAS, COLUMN_SUFFIX, columnDefinitions, columnName, columnSources, formulaFactoryFuture, formulaString, originalFormulaString, params, returnedType, usedColumnArrays, usedColumns, usesI, usesII, usesK
Fields inherited from interface io.deephaven.engine.table.impl.select.SelectColumn
ZERO_LENGTH_SELECT_COLUMN_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionfinal SelectColumn
copy()
Create a copy of this SelectColumn.static FormulaColumnPython
create
(String columnName, DeephavenCompatibleFunction dcf) final FormulaKernel
createInstance
(Vector<?>[] arrays, QueryScopeParam<?>[] params) protected final FormulaSourceDescriptor
initDef
(@NotNull Map<String, ColumnDefinition<?>> columnDefinitionMap) Initialize any internal column definitions from the provided initial.boolean
Returns true if this column is stateless (i.e.Methods inherited from class io.deephaven.engine.table.impl.select.AbstractFormulaColumn
applyUsedVariables, createKernelFormulaFactory, getColumnArrays, getColumns, getDataView, getLazyView, getMatchPair, getName, getReturnedComponentType, getReturnedType, hasVirtualRowVariables, initInputs, isRetain, newDestInstance, newFlatDestInstance, onCopy, toString, validateColumnDefinition, validateSafeForRefresh
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.engine.table.impl.select.FormulaColumn
getFormulaShiftColPair, hasConstantArrayAccess, hasConstantValue
Methods inherited from interface io.deephaven.engine.table.impl.select.SelectColumn
expression, initDef, newColumn, recomputeOnModifiedRow, withRecomputeOnModifiedRow
-
Method Details
-
create
-
initDef
public final List<String> initDef(@NotNull @NotNull Map<String, ColumnDefinition<?>> columnDefinitionMap) Description copied from interface:SelectColumn
Initialize any internal column definitions from the provided initial. Any formulae will be compiled immediately using theQueryCompiler
in the currentExecutionContext
.- Specified by:
initDef
in interfaceSelectColumn
- Parameters:
columnDefinitionMap
- the starting set of column definitions; valid for this call only- Returns:
- a list of columns on which the result of this is dependent
-
isStateless
public boolean isStateless()Description copied from interface:SelectColumn
Returns true if this column is stateless (i.e. one row does not depend on the order of evaluation for another row).- Specified by:
isStateless
in interfaceSelectColumn
-
getSourceDescriptor
- Specified by:
getSourceDescriptor
in classAbstractFormulaColumn
-
copy
Description copied from interface:SelectColumn
Create a copy of this SelectColumn.- Specified by:
copy
in interfaceSelectColumn
- Returns:
- an independent copy of this SelectColumn.
-
createInstance
- Specified by:
createInstance
in interfaceFormulaKernelFactory
-