@Beta
public interface FilterExpressionArithmetic
Modifier and Type | Method and Description |
---|---|
static ValueDateTimeOffset.Expression |
add(ValueDateTimeOffset operand1,
ValueDuration operand2)
Addition expression for date time and duration.
|
static ValueDate.Expression |
add(ValueDate operand1,
ValueDuration operand2)
Addition expression for date and duration.
|
static ValueDuration.Expression |
add(ValueDuration operand1,
ValueDuration operand2)
Addition expression for duration and duration.
|
static ValueNumeric.Expression |
add(ValueNumeric operand1,
ValueNumeric operand2)
Addition expression for numbers.
|
static ValueNumeric.Expression |
ceiling(ValueNumeric operand)
Ceil expression for numbers.
|
static ValueDuration.Expression |
divide(ValueDuration operand1,
ValueNumeric operand2)
Division expression for duration.
|
static ValueNumeric.Expression |
divide(ValueNumeric operand1,
ValueNumeric operand2)
Division expression for floating point numbers.
|
static ValueNumeric.Expression |
divideEuclidean(ValueNumeric operand1,
ValueNumeric operand2)
Division expression for integer numbers.
|
static ValueNumeric.Expression |
floor(ValueNumeric operand)
Floor expression for numbers.
|
static ValueNumeric.Expression |
modulo(ValueNumeric operand1,
ValueNumeric operand2)
Modulo expression for numbers.
|
static ValueDuration.Expression |
multiply(ValueDuration operand1,
ValueNumeric operand2)
Multiplication expression for duration and number.
|
static ValueNumeric.Expression |
multiply(ValueNumeric operand1,
ValueNumeric operand2)
Multiplication expression for numbers.
|
static ValueDuration.Expression |
negate(ValueDuration operand)
Negation expression for duration.
|
static ValueNumeric.Expression |
negate(ValueNumeric operand)
Negation expression for numbers.
|
static ValueNumeric.Expression |
round(ValueNumeric operand)
Round expression for numbers.
|
static ValueDateTimeOffset.Expression |
subtract(ValueDateTimeOffset operand1,
ValueDuration operand2)
Subtraction expression for date time and duration.
|
static ValueDuration.Expression |
subtract(ValueDate operand1,
ValueDate operand2)
Subtraction expression for date and date.
|
static ValueDate.Expression |
subtract(ValueDate operand1,
ValueDuration operand2)
Subtraction expression for date and duration.
|
static ValueDuration.Expression |
subtract(ValueDuration operand1,
ValueDuration operand2)
Subtraction expression for duration and duration.
|
static ValueNumeric.Expression |
subtract(ValueNumeric operand1,
ValueNumeric operand2)
Subtraction expression for numbers.
|
@Nonnull static ValueNumeric.Expression add(@Nonnull ValueNumeric operand1, @Nonnull ValueNumeric operand2)
operand1
- The first, numeric operand.operand2
- The second, numeric operand.@Nonnull static ValueDateTimeOffset.Expression add(@Nonnull ValueDateTimeOffset operand1, @Nonnull ValueDuration operand2)
operand1
- The first, date-time-offset operand.operand2
- The second, duration operand.@Nonnull static ValueDuration.Expression add(@Nonnull ValueDuration operand1, @Nonnull ValueDuration operand2)
operand1
- The first, duration operand.operand2
- The second, duration operand.@Nonnull static ValueDate.Expression add(@Nonnull ValueDate operand1, @Nonnull ValueDuration operand2)
operand1
- The first, date operand.operand2
- The second, duration operand.@Nonnull static ValueNumeric.Expression subtract(@Nonnull ValueNumeric operand1, @Nonnull ValueNumeric operand2)
operand1
- The first, numeric operand.operand2
- The second, numeric operand.@Nonnull static ValueDateTimeOffset.Expression subtract(@Nonnull ValueDateTimeOffset operand1, @Nonnull ValueDuration operand2)
operand1
- The first, date-time-offset operand.operand2
- The second, duration operand.@Nonnull static ValueDuration.Expression subtract(@Nonnull ValueDuration operand1, @Nonnull ValueDuration operand2)
operand1
- The first, duration operand.operand2
- The second, duration operand.@Nonnull static ValueDate.Expression subtract(@Nonnull ValueDate operand1, @Nonnull ValueDuration operand2)
operand1
- The first, date operand.operand2
- The second, duration operand.@Nonnull static ValueDuration.Expression subtract(@Nonnull ValueDate operand1, @Nonnull ValueDate operand2)
operand1
- The first, date operand.operand2
- The second, date operand.@Nonnull static ValueNumeric.Expression negate(@Nonnull ValueNumeric operand)
operand
- The first, numeric operand.@Nonnull static ValueDuration.Expression negate(@Nonnull ValueDuration operand)
operand
- The first, duration operand.@Nonnull static ValueNumeric.Expression multiply(@Nonnull ValueNumeric operand1, @Nonnull ValueNumeric operand2)
operand1
- The first, numeric operand.operand2
- The second, numeric operand.@Nonnull static ValueDuration.Expression multiply(@Nonnull ValueDuration operand1, @Nonnull ValueNumeric operand2)
operand1
- The first, duration operand.operand2
- The second, numeric operand.@Nonnull static ValueNumeric.Expression divide(@Nonnull ValueNumeric operand1, @Nonnull ValueNumeric operand2)
operand1
- The first, numeric operand.operand2
- The second, numeric operand.@Nonnull static ValueNumeric.Expression divideEuclidean(@Nonnull ValueNumeric operand1, @Nonnull ValueNumeric operand2)
operand1
- The first, numeric operand.operand2
- The second, numeric operand.@Nonnull static ValueDuration.Expression divide(@Nonnull ValueDuration operand1, @Nonnull ValueNumeric operand2)
operand1
- The first, duration operand.operand2
- The second, numeric operand.@Nonnull static ValueNumeric.Expression modulo(@Nonnull ValueNumeric operand1, @Nonnull ValueNumeric operand2)
operand1
- The first, numeric operand.operand2
- The second, numeric operand.@Nonnull static ValueNumeric.Expression ceiling(@Nonnull ValueNumeric operand)
operand
- The numeric operand.@Nonnull static ValueNumeric.Expression floor(@Nonnull ValueNumeric operand)
operand
- The numeric operand.@Nonnull static ValueNumeric.Expression round(@Nonnull ValueNumeric operand)
operand
- The numeric operand.Copyright © 2021 SAP SE. All rights reserved.