0

My RESTful web service is passing my Producer some filter information in their request. For example their URL includes :- /ACCOUNT-LIST?$filter=Id eq '45012'

How do I process this in odata4j?

From the odata4j JavaDoc I can see that the filter is of type BoolCommonExpression, but can't see any documentation or examples on how I process this.

Also how do I process more than 1 filter option being passed?

Thanks

Sarah Rushworth
  • 813
  • 3
  • 9
  • 16

1 Answers1

0

BoolCommonExpression is the base type of an expression hierarchy (including compound expressions).

You can do instanceof checks or use .visit(ExpressionVisitor) to handle each expression type differently.

Hope that helps,
- john

John Spurlock
  • 1,723
  • 1
  • 13
  • 12