| Package | Description |
|---|---|
| com.sap.cloud.sdk.odatav2.connectivity | |
| com.sap.cloud.sdk.odatav2.connectivity.filter |
| Modifier and Type | Class and Description |
|---|---|
class |
ODataProperty<T extends ODataType<?>> |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ODataType<?>> |
ODataProperty.field(String name) |
| Modifier and Type | Method and Description |
|---|---|
static ODataType<Boolean> |
ODataType.of(boolean value) |
static ODataType<Date> |
ODataType.of(Date value) |
static ODataType<org.joda.time.DateTime> |
ODataType.of(org.joda.time.DateTime value) |
static ODataType<Double> |
ODataType.of(Double value) |
static ODataType<Float> |
ODataType.of(Float value) |
static ODataType<Integer> |
ODataType.of(Integer value) |
static ODataType<org.joda.time.LocalDate> |
ODataType.of(org.joda.time.LocalDate value) |
static ODataType<org.joda.time.LocalDateTime> |
ODataType.of(org.joda.time.LocalDateTime value) |
static ODataType<Long> |
ODataType.of(Long value) |
static ODataType<String> |
ODataType.of(String value) |
static <T> ODataType<T> |
ODataType.of(T value) |
| Constructor and Description |
|---|
FilterExpression(String field,
String operator,
ODataType right)
Creates a simple filter expression of the form field operator operand
|
FilterExpression(String field,
String operator,
ODataType right,
boolean isLeftFilterFunction)
Creates a simple filter expression of the form field operator operand
|
| 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 String |
FilterHelperUtil.buildBinaryFunc(String operator,
String property,
ODataType operand) |
static String |
FilterHelperUtil.buildSubstringOfFunc(String operator,
ODataType value,
String property) |
static String |
FilterHelperUtil.buildTernaryFunc(String operator,
String property,
ODataType pos,
ODataType len) |
static String |
FilterHelperUtil.buildTernaryFunc(String operator,
String property,
ODataType pos,
ODataType len) |
static NumValue |
MathFunction.div(ODataProperty property,
ODataType operand)
Creates division function that divides the property value by a number
|
FilterExpression |
NumValue.eq(ODataType right)
Creates filter expression using its NumValue as string, eq as operator and odatatype value as operand
|
FilterExpression |
LogicalOperators.eq(ODataType right) |
FilterExpression |
StringValue.eq(ODataType right)
Creates filter expression using its StringValue as string, eq as operator and odatatype value as operand
|
FilterExpression |
NumValue.ge(ODataType right)
Creates filter expression using its NumValue as string, ge as operator and odatatype value as operand
|
FilterExpression |
LogicalOperators.ge(ODataType right) |
FilterExpression |
StringValue.ge(ODataType right)
Creates filter expression using its StringValue as string, ge as operator and odatatype value as operand
|
FilterExpression |
NumValue.gt(ODataType right)
Creates filter expression using its NumValue as string, gt as operator and odatatype value as operand
|
FilterExpression |
LogicalOperators.gt(ODataType right) |
FilterExpression |
StringValue.gt(ODataType right)
Creates filter expression using its StringValue as string, gt as operator and odatatype value as operand
|
FilterExpression |
NumValue.le(ODataType right)
Creates filter expression using its NumValue as string, le as operator and odatatype value as operand
|
FilterExpression |
LogicalOperators.le(ODataType right) |
FilterExpression |
StringValue.le(ODataType right)
Creates filter expression using its StringValue as string, le as operator and odatatype value as operand
|
FilterExpression |
NumValue.lt(ODataType right)
Creates filter expression using its NumValue as string, lt as operator and odatatype value as operand
|
FilterExpression |
LogicalOperators.lt(ODataType right) |
FilterExpression |
StringValue.lt(ODataType right)
Creates filter expression using its StringValue as string, lt as operator and odatatype value as operand
|
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 |
MathFunction.mul(ODataProperty property,
ODataType operand)
Creates multiplication function that multiplies a number with the property value
|
FilterExpression |
NumValue.ne(ODataType right)
Creates filter expression using its NumValue as string, ne as operator and odatatype value as operand
|
FilterExpression |
LogicalOperators.ne(ODataType right) |
FilterExpression |
StringValue.ne(ODataType right)
Creates filter expression using its StringValue as string, ne as operator and odatatype value as operand
|
static String |
FilterHelperUtil.odataTypeToString(ODataType operand) |
static NumValue |
MathFunction.sub(ODataProperty property,
ODataType operand)
Creates subtraction function that subtracts a number 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,
ODataType operand)
Constructs StringValue
|
StringValue(FilterFunctions.FUNCTIONS operator,
StringValue property,
ODataType operand)
Constructs StringValue
|
Copyright © 2020 SAP. All Rights Reserved.