Detailed Description
Hash specific configuration structure.
This extends the fiftyoneDegreesConfigDeviceDetection structure by adding collection configurations and options for the allowable drift and difference.
Collaboration diagram for fiftyoneDegreesConfigHash:
Data Fields | |
| fiftyoneDegreesConfigDeviceDetection | b |
| Base configuration. | |
| fiftyoneDegreesCollectionConfig | strings |
| Strings collection config. | |
| fiftyoneDegreesCollectionConfig | components |
| Components collection config. | |
| fiftyoneDegreesCollectionConfig | maps |
| Maps collection config. | |
| fiftyoneDegreesCollectionConfig | properties |
| Properties collection config. | |
| fiftyoneDegreesCollectionConfig | values |
| Values collection config. | |
| fiftyoneDegreesCollectionConfig | profiles |
| Profiles collection config. | |
| fiftyoneDegreesCollectionConfig | rootNodes |
| Root nodes collection config. | |
| fiftyoneDegreesCollectionConfig | nodes |
| Nodes collection config. | |
| fiftyoneDegreesCollectionConfig | profileOffsets |
| Profile offsets collection config. | |
| int32_t | difference |
| The maximum difference to allow when matching hashes. | |
| int32_t | drift |
| The maximum drift to allow when matching hashes. | |
| bool | usePerformanceGraph |
| True if the performance optimized graph should be used for processing. | |
| bool | usePredictiveGraph |
| True if the predictive optimized graph should be used for processing. | |
| bool | traceRoute |
| True if the route through each graph should be traced during processing. | |
| bool | loadRequiredPropertiesOnly |
| When true, and the required properties are some but not all of the properties in the data file, only the data they read is loaded into memory. | |
Field Documentation
◆ difference
| int32_t fiftyoneDegreesConfigHash::difference |
The maximum difference to allow when matching hashes.
If the difference is exceeded, the result is considered invalid and values will not be returned. By default this is 0.
◆ drift
| int32_t fiftyoneDegreesConfigHash::drift |
The maximum drift to allow when matching hashes.
If the drift is exceeded, the result is considered invalid and values will not be returned. By default this is 0.
◆ loadRequiredPropertiesOnly
| bool fiftyoneDegreesConfigHash::loadRequiredPropertiesOnly |
When true, and the required properties are some but not all of the properties in the data file, only the data they read is loaded into memory.
That is the values of the required properties and the strings those values use, in whole records, with the rest of the values and strings read from the file when needed with no cache. Other collections, including the profiles and nodes every lookup walks, follow their own settings. It has no effect when no property or every property is required, or when allInMemory is true. True in the HighPerformance configuration only.
IP Intelligence also has defaultValuesInMemory. Device Detection does not, because a Hash lookup uses no default value, and a property that a profile has no value for returns no value.
◆ traceRoute
| bool fiftyoneDegreesConfigHash::traceRoute |
True if the route through each graph should be traced during processing.
The trace can then be printed to debug the matching after the fact. Note that this option is only considered when compiled in debug mode.
The documentation for this struct was generated from the following file:
