Hi Ponraj,
You cannot define this in .xsodata file. However, after you expose the OData service, you can consume it using the parameter $filter
Apple: preferences.xsodata/preferences?$filter=ITEM_TYPE eq 'apple'
Orange: preferences.xsodata/preferences?$filter=ITEM_TYPE eq 'orange'
Best regards,
Wenjun