@Beta public class Expressions extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Expressions.FieldReference
OData filter expression operand for an entity field reference.
|
static interface |
Expressions.FilterExpression
Generic interface to describe an OData filter expression.
|
static interface |
Expressions.Operand
Generic OData filter expression operand.
|
static interface |
Expressions.OperandMultiple
OData filter collection expression operand.
|
static interface |
Expressions.OperandSingle
Singular OData filter expression operand.
|
static interface |
Expressions.ValueBoolean
OData filter expression operand of type Edm.Boolean
|
static interface |
Expressions.ValueCollection
OData filter expression for a generic collection.
|
static interface |
Expressions.ValueDate
OData filter expression operand of type Edm.Date
|
static interface |
Expressions.ValueDateTimeOffset
OData filter expression operand of type Edm.DateTimeOffset
|
static interface |
Expressions.ValueDuration
OData filter expression operand of type Edm.Duration
|
static interface |
Expressions.ValueEnum
OData filter expression operand of enumeration type
|
static interface |
Expressions.ValueGuid
OData filter expression operand of type Edm.Guid
|
static interface |
Expressions.ValueNumeric
OData filter expression operand of type Edm.Int32, ...
|
static interface |
Expressions.ValueString
OData filter expression operand of type Edm.String
|
static interface |
Expressions.ValueTimeOfDay
OData filter expression operand of type Edm.Time
|
Constructor and Description |
---|
Expressions() |
Modifier and Type | Method and Description |
---|---|
static <PrimitiveT> |
createOperand(PrimitiveT value)
Helper function to generate an OData filter expression operand for a primitive Java type.
|
@Nonnull public static <PrimitiveT> Expressions.OperandSingle createOperand(@Nonnull PrimitiveT value)
PrimitiveT
- Type of the Java literal.value
- Java literal.IllegalArgumentException
- When there is no mapping found for the provided Java literal.Copyright © 2020 SAP SE. All rights reserved.