Class DeltaSpec
java.lang.Object
com.illumon.iris.db.v2.updateby.spec.DeltaSpec
- All Implemented Interfaces:
UpdateBySpec
A
UpdateBySpec
for performing deltas (col[i] - col[i-1]) across the specified columns. Result columns maintain
the same type as the original, with the exception of timestamps which represent the difference in nanoseconds.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.updateby.spec.UpdateBySpec
UpdateBySpec.Visitor
-
Method Summary
Modifier and TypeMethodDescriptionboolean
applicableTo
(Class<?> inputType) Determine if this spec can be applied to the specified typedescribe()
Get a description of the operation requested.static DeltaSpec
of
(DeltaControl control) <V extends UpdateBySpec.Visitor>
Vwalk
(V v)
-
Method Details
-
of
-
getControl
-
describe
Description copied from interface:UpdateBySpec
Get a description of the operation requested.- Specified by:
describe
in interfaceUpdateBySpec
- Returns:
- a description of the operation
-
applicableTo
Description copied from interface:UpdateBySpec
Determine if this spec can be applied to the specified type- Specified by:
applicableTo
in interfaceUpdateBySpec
- Returns:
- true if this spec can be applied to the specified input type
-
walk
- Specified by:
walk
in interfaceUpdateBySpec
-