Package com.illumon.iris.db.v2.select
Class DhFormulaColumn
java.lang.Object
com.illumon.iris.db.v2.select.AbstractFormulaColumn
com.illumon.iris.db.v2.select.DhFormulaColumn
- All Implemented Interfaces:
FormulaColumn,SelectColumn
-
Field Summary
FieldsFields inherited from class com.illumon.iris.db.v2.select.AbstractFormulaColumn
COLUMN_SUFFIX, columnName, columnSources, formulaString, params, returnedType, usedColumnArrays, usedColumns, userParams, usesI, usesII, usesKFields inherited from interface com.illumon.iris.db.v2.select.SelectColumn
ZERO_LENGTH_SELECT_COLUMN_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionbooleanShould we ignore modified column sets, and always re-evaluate this column (if appropriate)?Create a copy of this SelectColumn that always re-evaluates (if appropriate).copy()Create a copy of this SelectColumn.protected FormulaFactorystatic ClassgetDbArrayType(Class declaredType) protected FormulaKernelFactoryReturns a Pair object consisting of formula string and shift to column MatchPairs.protected FormulaSourceDescriptorbooleanreturns true if the column only has single constant value for all rows.Initialize any internal column definitions from the provided initial.Methods inherited from class com.illumon.iris.db.v2.select.AbstractFormulaColumn
applyUsedVariables, disallowRefresh, getColumnArrays, getColumns, getDataView, getLazyView, getMatchPair, getName, getReturnedType, initInputs, initInputs, isRetain, makeAppropriateDbArrayWrapper, newDestInstance, toString, updateDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.select.FormulaColumn
hasConstantArrayAccessMethods inherited from interface com.illumon.iris.db.v2.select.SelectColumn
getConstantValueView
-
Field Details
-
useKernelFormulasProperty
public static boolean useKernelFormulasProperty
-
-
Method Details
-
getDbArrayType
-
initDef
public List<String> initDef(Map<String, com.illumon.dataobjects.ColumnDefinition> columnDefinitionMap) Description copied from interface:SelectColumnInitialize any internal column definitions from the provided initial.- Parameters:
columnDefinitionMap- the starting set of column definitions- Returns:
- a list of columns on which the result of this is dependent
-
getSourceDescriptor
- Specified by:
getSourceDescriptorin classAbstractFormulaColumn
-
getFormulaKernelFactory
- Specified by:
getFormulaKernelFactoryin classAbstractFormulaColumn
-
copy
Description copied from interface:SelectColumnCreate a copy of this SelectColumn.- Returns:
- an independent copy of this SelectColumn.
-
alwaysEvaluateCopy
Description copied from interface:SelectColumnCreate a copy of this SelectColumn that always re-evaluates (if appropriate). -
alwaysEvaluate
public boolean alwaysEvaluate()Description copied from interface:SelectColumnShould we ignore modified column sets, and always re-evaluate this column (if appropriate)? -
hasConstantValue
public boolean hasConstantValue()Description copied from interface:FormulaColumnreturns true if the column only has single constant value for all rows.- Returns:
- true if column rows only have single constant value
-
getFormulaShiftColPair
Description copied from interface:FormulaColumnReturns 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.
-
createFormulaFactory
- Overrides:
createFormulaFactoryin classAbstractFormulaColumn
-