title: Trying to Parse an OData $filter into its name-value pairs using Java
body: <p>I am building a service that will receive its "query parameters" using OData syntax:  instead of the more familiar </p>
  
  <p>?make=Honda&amp;model=Pilot&amp;trimline=LX</p>
  
  <p>The requirement is to accept a single OData filter "$filter" being passed.</p>
  
  <p>?$filter="'make' eq 'Honda' and 'model' eq 'Pilot' and 'trimline' eq 'LX'"</p>
  
  <p>There is no need for considerations of SQL query mapping, JDBC, conversion to JSON, etc.   This is literally trying to get only the set of name-value pairs from this syntax. I'm looking at Olingo libraries and seeing things like FilterExpression and UriParser but this seems to be overcomplicating this.  Am I missing something?</p>
  
  <p>The $filter String will only have the 'eq' operator for all cases.</p>
  
  <p>I'm assuming there is a simpler approach to doing this. I was hoping there was something in the Olingo libraries where I could get the $filter as described and end up with a HashMap perhaps.  </p>
  
  <p>Thanks</p>