N - the type of the field valuepublic interface NumericFieldInfo<N extends java.lang.Number> extends BaseFieldInfo<N>
It contains default methods for common checks, which are calls to methods on NumericCondition.
allMatch, allMatch, allMatch, anyMatch, anyMatch, anyMatch, eq, eq, eq, hasTag, isNotNull, isNull, map, mapToInt, mapToString, mapUsing, noneMatch, noneMatch, noneMatch, notEq, notEq, notEq, position, tagsgetMetadata, iddefault StepCondition lesserThan(N value)
value - the right side valueNumericCondition.lesserThan(Number)default StepCondition lesserThan(NumericFieldInfo<N> value)
value - the right side valueNumericCondition.lesserThan(NumericFieldInfo)default StepCondition lesserOrEquals(N value)
value - the right side valueNumericCondition.lesserOrEquals(Number)default StepCondition lesserOrEquals(NumericFieldInfo<N> value)
value - the right side valueNumericCondition.lesserOrEquals(NumericFieldInfo)default StepCondition greaterThan(N value)
value - the right side valueNumericCondition.greaterThan(Number)default StepCondition greaterThan(NumericFieldInfo<N> value)
value - the right side valueNumericCondition.greaterThan(NumericFieldInfo)default StepCondition greaterOrEquals(N value)
value - the right side valueNumericCondition.greaterOrEquals(Number)default StepCondition greaterOrEquals(NumericFieldInfo<N> value)
value - the right side valueNumericCondition.greaterOrEquals(NumericFieldInfo)default StepCondition between(N minIncluded, N maxExcluded)
minIncluded - the min value includedmaxExcluded - the max value excludedNumericCondition.between(Number, Number)default StepCondition between(NumericFieldInfo<N> minIncluded, NumericFieldInfo<N> maxExcluded)
minIncluded - the min value includedmaxExcluded - the max value excludedNumericCondition.between(NumericFieldInfo, NumericFieldInfo)default NumericFunction<N> times(int multiplier)
multiplier - the multiplierNumericFunction.times(int)default NumericFunction<N> plus(NumericFieldInfo<N> field)
field - another field to sumNumericFunction.plus(NumericFieldInfo)default NumericFunction<N> when(StepCondition condition)
condition - the condition to evaluateNumericFunction.when(StepCondition)NumericFunction<N> getNumericFunction()
default NumericFunction<N> getDefaultFunction()
DslFieldgetDefaultFunction in interface DslField<N extends java.lang.Number>