Class CumMinMaxSpec
java.lang.Object
com.illumon.iris.db.v2.updateby.spec.CumMinMaxSpec
- All Implemented Interfaces:
UpdateBySpec
public class CumMinMaxSpec extends Object implements UpdateBySpec
A
UpdateBySpec
for performing a Cumulative Min/Max of the specified columns.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.updateby.spec.UpdateBySpec
UpdateBySpec.Visitor
-
Constructor Summary
Constructors Constructor Description CumMinMaxSpec(boolean isMax)
-
Method Summary
Modifier and Type Method Description boolean
applicableTo(Class<?> inputType)
Determine if this spec can be applied to the specified typeString
describe()
Get a description of the operation requested.boolean
isMax()
static CumMinMaxSpec
of(boolean isMax)
<V extends UpdateBySpec.Visitor>
Vwalk(V v)
-
Constructor Details
-
CumMinMaxSpec
public CumMinMaxSpec(boolean isMax)
-
-
Method Details
-
of
-
isMax
public boolean isMax() -
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
-