Package growthbook.sdk.java
Class Filter
java.lang.Object
growthbook.sdk.java.Filter
Object used for mutual exclusion and filtering users out of experiments based on random hashes.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Filter.FilterBuilder
builder()
The attribute to use (default to "id")The hash version to use (default to 2)Array of ranges that are includedgetSeed()
The seed used in the hashtoJson()
toString()
-
Constructor Details
-
Filter
public Filter(@Nullable String seed, List<BucketRange> ranges, String attribute, Integer hashVersion) Object used for mutual exclusion and filtering users out of experiments based on random hashes.- Parameters:
seed
- The seed used in the hashranges
- Array of ranges that are includedattribute
- The attribute to use (default: "id")hashVersion
- The hash version to use (default: 2)
-
-
Method Details