Package com.atlan.model.discovery
Class StringFilterField
java.lang.Object
com.atlan.model.discovery.DiscoveryFilterField
com.atlan.model.discovery.StrictEqualityFilterField
com.atlan.model.discovery.ExactMatchFilterField
com.atlan.model.discovery.StringFilterField
Represents any field in Atlan that can be used for discovery by string comparisons.
-
Field Summary
Fields inherited from class com.atlan.model.discovery.DiscoveryFilterField
fields, filerKey
-
Constructor Summary
ConstructorDescriptionStringFilterField
(String field) Default constructorStringFilterField
(List<String> fields) Default constructor -
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.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.ExactMatchFilterField
neq
Methods inherited from class com.atlan.model.discovery.StrictEqualityFilterField
eq
Methods inherited from class com.atlan.model.discovery.DiscoveryFilterField
build, getFields, getFilerKey, hasAnyValue, hasNoValue
-
Constructor Details
-
StringFilterField
Default constructor- Parameters:
field
- name of the field to filter by (singular)
-
StringFilterField
Default constructor- Parameters:
fields
- names of the fields to filter by (multiple)
-
-
Method Details
-
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
-