com.snowplowanalytics.snowplow.enrich.common.enrichments.registry
Amount of user agents already parsed that stay in cache for faster parsing.
Gets the list of files the enrichment requires cached locally.
Gets the list of files the enrichment requires cached locally. The default implementation returns an empty list; if an enrichment requires files, it must override this method.
A list of pairs, where the first entry in the pair indicates the (remote) location of the source file and the second indicates the local path where the enrichment expects to find the file.
Gets the result of YAUAA user agent analysis as self-describing JSON, for a specific event.
Gets the result of YAUAA user agent analysis as self-describing JSON, for a specific event. Any non-fatal error will return failure.
User agent of the event.
Attributes retrieved thanks to the user agent (if any), as self-describing JSON.
Gets the map of attributes retrieved by YAUAA from the user agent.
Gets the map of attributes retrieved by YAUAA from the user agent.
Map with all the fields extracted by YAUAA by parsing the user agent. If the input is null or empty, a map with just the DeviceClass set to UNKNOWN is returned.
Class for YAUAA enrichment, which tries to parse and analyze the user agent string and extract as many relevant attributes as possible, like for example the device class.
Amount of user agents already parsed that stay in cache for faster parsing.