The Component SDK includes a script to generate the Eclipse project for the QueryFunction class.
To generate the Eclipse project for a new QueryFunction class:
For both QueryFilter and QueryConfig classes, the skeleton implementation:
applyToDiscoveryServiceQuery and toString are required methods that you must implement.
beforeQueryStateAdd is an optional method to verify the query state before the function is added. This method is used to prevent invalid query states such as duplicate refinements.