Package io.deephaven.api.updateby.spec
Interface UpdateBySpec
- All Known Implementing Classes:
CumMinMaxSpec
,CumProdSpec
,CumSumSpec
,DeltaSpec
,EmaSpec
,EmMinMaxSpec
,EmsSpec
,EmStdSpec
,FillBySpec
,RollingAvgSpec
,RollingCountSpec
,RollingFormulaSpec
,RollingGroupSpec
,RollingMinMaxSpec
,RollingOpSpec
,RollingProductSpec
,RollingStdSpec
,RollingSumSpec
,RollingWAvgSpec
,UpdateBySpecBase
public interface UpdateBySpec
A Specification for an updateBy operation. Implementations of this are essentially tagging classes for the underlying
visitor classes to walk to produce a final operation.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
applicableTo
(Class<?> inputType) Determine if this spec can be applied to the specified typeBuild aColumnUpdateOperation
for this UpdateBySpec.Build aColumnUpdateOperation
clause for this UpdateBySpec.Build aColumnUpdateOperation
for this UpdateBySpec.Build aColumnUpdateOperation
clause for this UpdateBySpec.clause
(Collection<? extends Pair> pairs) Build aColumnUpdateOperation
clause for this UpdateBySpec.<T> T
walk
(UpdateBySpec.Visitor<T> visitor)
-
Method Details
-
applicableTo
Determine if this spec can be applied to the specified type- Parameters:
inputType
- the specified input type- Returns:
- true if this spec can be applied to the specified input type
-
clause
Build aColumnUpdateOperation
for this UpdateBySpec.- Parameters:
pair
- The input/output column name pair- Returns:
- The clause
-
clause
Build aColumnUpdateOperation
for this UpdateBySpec.- Parameters:
pair
- The input/output column name pair- Returns:
- The clause
-
clause
Build aColumnUpdateOperation
clause for this UpdateBySpec.- Parameters:
pairs
- The input/output column name pairs- Returns:
- The aggregation
-
clause
Build aColumnUpdateOperation
clause for this UpdateBySpec.- Parameters:
pairs
- The input/output column name pairs- Returns:
- The aggregation
-
clause
Build aColumnUpdateOperation
clause for this UpdateBySpec.- Parameters:
pairs
- The input/output column name pairs- Returns:
- The aggregation
-
walk
-