Package com.atlan.model.fields
Class SearchableRelationship
java.lang.Object
com.atlan.model.fields.AtlanField
com.atlan.model.fields.RelationField
com.atlan.model.fields.SearchableRelationship
- All Implemented Interfaces:
IRelationSearchable
Base class for any relationship field in Atlan that can be searched.
-
Constructor Summary
ConstructorDescriptionSearchableRelationship
(String atlan, String relationship) Default constructor. -
Method Summary
Methods inherited from class com.atlan.model.fields.AtlanField
getAtlanFieldName
-
Constructor Details
-
SearchableRelationship
Default constructor.- Parameters:
atlan
- name of the attribute in the metastorerelationship
- name of the relationship type in the metastore
-
-
Method Details
-
hasAny
public co.elastic.clients.elasticsearch._types.query_dsl.Query hasAny()Returns a query that will only match assets that have at least one active relationship for the field.- Specified by:
hasAny
in interfaceIRelationSearchable
- Returns:
- a query that will only match assets that have at least one active relationship for the field.
-
getRelationshipName
-