Hello Sergey,

the ODATA 4.0 Filter parser  is combined with the URI parser in order to parse 
the URI  as a whole.

The filter expression tree itself is more or less the same as in ODATA 2.0 an 
can be accessed through an
UriInfo object. 

The API for the URI parser is in package
"org.apache.olingo.odata4.producer.api.uri"
whereas the filter part is in
"org.apache.olingo.odata4.producer.api.uri.queryoption.expression"

Kind regards,
Sven
-----Original Message-----
From: Bolz, Michael 
Sent: Mittwoch, 12. Februar 2014 06:12
To: [email protected]; Kobler-Morris, Sven
Subject: Re: How to use Olingo Parser directly

* PGP Signature not checked

Hi Sergey,

The $filter mechanism in Odata 4 should work like in Odata 2.
At least the basic filter expressions (logic and arithmetic like Œeq¹,
Œadd¹, Š).
I think the functions have changed a little bit with naming and syntax.

But I guess your question points more to the implementation in Olingo
library for Odata 4.
I think here we can give Sven a better answer.
@Sven: Can you give an answer here?

Kind regards,
Michael




On 11/02/14 17:31, "Sergey Beryozkin" <[email protected]> wrote:

>Hi
>
>Can we expect the filter visitor mechanism working in the future Olingo
>releases, example, the ones supporting OData 4 ? I reckon the $filter
>mechanism is supported in the backward-compatible manner, but would like
>to check as we've gone ahead with doing some work in CXF
>
>Thanks, Sergey
>>>

* Signature checking is off by policy

Reply via email to