Here is the superclass of all providers:
A Provider transforms (i.e normalizes) a input value
Provider Protocol:
A concrete Provider is required to have these functions:
process():
Takes input values and returns a list of output values or None on failure.A concrete Provider may have these functions:
reverse():
The method that is able to do the transformation. It takes a list of output values and returns a list of input values, or None on failure.
Create a new Provider with the following attributes:
Parameters: | compress – Deduplicate data? |
---|