Class SearchableRelationship

All Implemented Interfaces:
IRelationSearchable

public class SearchableRelationship extends RelationField implements IRelationSearchable
Base class for any relationship field in Atlan that can be searched.
  • Constructor Details

    • SearchableRelationship

      public SearchableRelationship(String atlan, String relationship)
      Default constructor.
      Parameters:
      atlan - name of the attribute in the metastore
      relationship - 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 interface IRelationSearchable
      Returns:
      a query that will only match assets that have at least one active relationship for the field.
    • getRelationshipName

      protected String getRelationshipName()