Package com.atlan.model.discovery
Class NumericFilterField
java.lang.Object
com.atlan.model.discovery.DiscoveryFilterField
com.atlan.model.discovery.NumericFilterField
Represents any field in Atlan that can be used for discovery by numerical comparison.
-
Field Summary
Fields inherited from class com.atlan.model.discovery.DiscoveryFilterField
fields, filerKey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a query that will match all assets whose provided field has a value that contains the provided value.doesNotContain
(String value) Returns a query that will match all assets whose provided field has a value that does not contain the provided value.Returns a query that will match all assets whose provided field has a value that ends with the provided value.<T extends Number>
DiscoveryFiltereq
(T value) Returns a query that will match all assets whose provided field has a value that exactly equals the provided value.Returns a query that will match all assets whose provided field has a value that does not exactly equal the provided value.Returns a query that will match all assets whose provided field has a value that matches the provided regular expression pattern.startsWith
(String value) Returns a query that will match all assets whose provided field has a value that starts with the provided value.Methods inherited from class com.atlan.model.discovery.DiscoveryFilterField
build, getFields, getFilerKey, hasAnyValue, hasNoValue
-
Constructor Details
-
NumericFilterField
Default constructor- Parameters:
field
- name of the field to filter by (singular)
-
-
Method Details
-
eq
Returns a query that will match all assets whose provided field has a value that exactly equals the provided value.- Parameters:
value
- the value to check the field's value is exactly equal to- Returns:
- a query that will only match assets whose value for the field is exactly equal to the provided value
-
neq
Returns a query that will match all assets whose provided field has a value that does not exactly equal the provided value.- Parameters:
value
- the value to check the field's value is NOT exactly equal to- Returns:
- a query that will only match assets whose value for the field is not exactly equal to the provided value
-
startsWith
Returns a query that will match all assets whose provided field has a value that starts with the provided value.- Parameters:
value
- the value to check the field's value starts with- Returns:
- a query that will only match assets whose value for the field starts with the provided value
-
endsWith
Returns a query that will match all assets whose provided field has a value that ends with the provided value.- Parameters:
value
- the value to check the field's value ends with- Returns:
- a query that will only match assets whose value for the field ends with the provided value
-
contains
Returns a query that will match all assets whose provided field has a value that contains the provided value.- Parameters:
value
- the value to check the field's value contains- Returns:
- a query that will only match assets whose value for the field contains the provided value
-
doesNotContain
Returns a query that will match all assets whose provided field has a value that does not contain the provided value.- Parameters:
value
- the value to check the field's value does NOT contain- Returns:
- a query that will only match assets whose value for the field does not contain the provided value
-
regex
Returns a query that will match all assets whose provided field has a value that matches the provided regular expression pattern.- Parameters:
value
- the regular expression to check the field's value matches- Returns:
- a query that will only match assets whose value for the field matches the provided regular expression
-