Package ddf.catalog.transform
Interface QueryFilterTransformer
public interface QueryFilterTransformer
Transforms a
QueryRequest containing external attribute names & values into a normalized
taxonomy QueryRequest.
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontransform(QueryRequest queryRequest, Map<String, Serializable> properties) Transforms aQueryRequest.
-
Field Details
-
QUERY_FILTER_TRANSFORMER_TYPE_NAMES_FIELD
- See Also:
-
-
Method Details
-
transform
Transforms aQueryRequest.QueryRequestis used in order to allow the transformer to directly modify other properties (e.g. sourceId) based on criteria without requiring the endpoint to modify the request after conversion- Parameters:
queryRequest- - theQueryRequestto transformproperties- - a map of additional properties to be used by the transformer- Returns:
- the transformed
QueryRequest
-