Package com.exedio.cope
Interface NumberFunction<E extends Number>
-
- All Superinterfaces:
Function<E>
,Selectable<E>
,Serializable
- All Known Implementing Classes:
BindNumberFunction
,DayPartView
,DivideView
,DoubleField
,IntegerField
,LengthView
,LongField
,MinusView
,MultiplyLiteralView
,MultiplyView
,NumberField
,NumberView
,PlusLiteralView
,PlusView
,Random
public interface NumberFunction<E extends Number> extends Function<E>
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default AsStringView
asString()
default AverageAggregate
average()
default BindNumberFunction<E>
bind(Join join)
default DivideView<E>
divide(NumberFunction<E> other)
You may want to useDivideView.divide(Function, Function)
instead, if you do not haveNumberFunction
s available.default MinusView<E>
minus(NumberFunction<E> other)
You may want to useMinusView.minus(Function, Function)
instead, if you do not haveNumberFunction
s available.default MultiplyView<E>
multiply(NumberFunction<E> other)
You may want to useMultiplyView.multiply(Function, Function)
instead, if you do not haveNumberFunction
s available.default MultiplyLiteralView<E>
multiply(E value)
You may want to useMultiplyLiteralView.multiply(Function, Number)
instead, if you do not haveNumberFunction
s available.default PlusView<E>
plus(NumberFunction<E> other)
You may want to usePlusView.plus(Function, Function)
instead, if you do not haveNumberFunction
s available.default PlusLiteralView<E>
plus(E value)
You may want to usePlusLiteralView.plus(Function, Number)
instead, if you do not haveNumberFunction
s available.default SumAggregate<E>
sum()
default PlusView<E>
sum(NumberFunction<E> other)
Deprecated.renamed toplus(NumberFunction)
.-
Methods inherited from interface com.exedio.cope.Function
any, between, equal, equal, equal, get, get, greater, greater, greaterOrEqual, greaterOrEqual, in, in, isNotNull, isNull, less, less, lessOrEqual, lessOrEqual, max, min, notEqual, notEqual
-
Methods inherited from interface com.exedio.cope.Selectable
append, appendSelect, check, getType, getValueClass, getValueType, toString
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
bind
default BindNumberFunction<E> bind(Join join)
-
asString
default AsStringView asString()
-
plus
default PlusLiteralView<E> plus(E value)
You may want to usePlusLiteralView.plus(Function, Number)
instead, if you do not haveNumberFunction
s available.
-
multiply
default MultiplyLiteralView<E> multiply(E value)
You may want to useMultiplyLiteralView.multiply(Function, Number)
instead, if you do not haveNumberFunction
s available.
-
plus
default PlusView<E> plus(NumberFunction<E> other)
You may want to usePlusView.plus(Function, Function)
instead, if you do not haveNumberFunction
s available.
-
minus
default MinusView<E> minus(NumberFunction<E> other)
You may want to useMinusView.minus(Function, Function)
instead, if you do not haveNumberFunction
s available.
-
multiply
default MultiplyView<E> multiply(NumberFunction<E> other)
You may want to useMultiplyView.multiply(Function, Function)
instead, if you do not haveNumberFunction
s available.
-
divide
default DivideView<E> divide(NumberFunction<E> other)
You may want to useDivideView.divide(Function, Function)
instead, if you do not haveNumberFunction
s available.
-
sum
default SumAggregate<E> sum()
-
average
default AverageAggregate average()
-
sum
@Deprecated default PlusView<E> sum(NumberFunction<E> other)
Deprecated.renamed toplus(NumberFunction)
.
-
-