| Package | Description |
|---|---|
| com.sap.cloud.sdk.odatav2.connectivity | |
| com.sap.cloud.sdk.odatav2.connectivity.filter |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ODataType<?>> |
ODataProperty.field(String name) |
| Modifier and Type | Method and Description |
|---|---|
static NumValue |
MathFunction.add(ODataProperty property,
ODataType operand)
Creates add function that adds a number to the property value
|
static NumValue |
MathFunction.ceiling(ODataProperty property)
Creates ceiling function that returns the ceiling value of the property
|
static StringValue |
StringFunction.concat(ODataProperty property,
String operand)
Creates concat filter function that concatenates a property of an entity with a string operand
|
static NumValue |
DateFunction.day(ODataProperty property)
Creates day filter function that returns the day from the property value
|
static NumValue |
MathFunction.div(ODataProperty property,
ODataType operand)
Creates division function that divides the property value by a number
|
static BoolValue |
StringFunction.endsWith(ODataProperty property,
String operand)
Creates endswith filter function that checks whether the property value ends
with a particular string
|
static NumValue |
MathFunction.floor(ODataProperty property)
Creates floor function that returns the floor value of the property
|
static NumValue |
DateFunction.hour(ODataProperty property)
Creates hour filter function that returns the hour from the property value
|
static NumValue |
StringFunction.indexOf(ODataProperty property,
String operand)
Creates indexof filter function that returns the position of a specified string within the property value
|
static BoolValue |
StringFunction.isSubstringOf(ODataProperty property,
String operand)
Creates issubstringof filter function that checks whether a specified string is present
in the property value of an entity
|
static NumValue |
StringFunction.length(ODataProperty property)
Creates length filter function that returns the number of characters in the property value
|
static NumValue |
DateFunction.minute(ODataProperty property)
Creates minute filter function that returns the minute from the property value
|
static NumValue |
MathFunction.mod(ODataProperty property,
ODataType operand)
Creates modulo function that calculates the remainder of a division of
the property value by a number
|
static NumValue |
DateFunction.month(ODataProperty property)
Creates month filter function that returns the month from the property value
|
static NumValue |
MathFunction.mul(ODataProperty property,
ODataType operand)
Creates multiplication function that multiplies a number with the property value
|
static StringValue |
StringFunction.replace(ODataProperty property,
String find,
String replace)
Creates replace filter function that replaces a string from the
property value of an entity
|
static NumValue |
MathFunction.round(ODataProperty property)
Creates round function that returns the rounded property value
|
static NumValue |
DateFunction.second(ODataProperty property)
Creates second filter function that returns the second from the property value
|
static BoolValue |
StringFunction.startsWith(ODataProperty property,
String operand)
Creates startswith filter function that checks whether the property value starts
with a particular string
|
static NumValue |
MathFunction.sub(ODataProperty property,
ODataType operand)
Creates subtraction function that subtracts a number from the property value
|
static StringValue |
StringFunction.substring(ODataProperty property,
int pos)
Creates substring filter function that extracts a string starting from
a defined position in the property of an entity
|
static StringValue |
StringFunction.substring(ODataProperty property,
int pos,
int length)
Creates substring filter function that extracts a string of a defined length from
the property of an entity, starting from a specified position
|
static StringValue |
StringFunction.toLower(ODataProperty property)
Creates tolower filter function that converts the property value of an entity to lower case
|
static StringValue |
StringFunction.toUpper(ODataProperty property)
Creates toupper filter function that capitalizes the property value of an entity
|
static StringValue |
StringFunction.trim(ODataProperty property)
Creates trim filter function that trims the whitespaces from the property value of an entity
|
static NumValue |
DateFunction.year(ODataProperty property)
Creates year filter function that returns the year from the property value
|
| Constructor and Description |
|---|
BoolValue(FilterFunctions.FUNCTIONS function,
ODataProperty property,
ODataType<String> operand)
Constructs BoolValue
|
NumValue(FilterFunctions.FUNCTIONS operator,
ODataProperty property,
ODataType<String> operand)
Constructs NumValue
|
StringValue(FilterFunctions.FUNCTIONS operator,
ODataProperty property,
Integer pos,
Integer length)
Constructs StringValue
|
StringValue(FilterFunctions.FUNCTIONS operator,
ODataProperty property,
ODataType operand)
Constructs StringValue
|
StringValue(FilterFunctions.FUNCTIONS operator,
ODataProperty property,
String find,
String replace)
Constructs StringValue
|
Copyright © 2020 SAP. All Rights Reserved.