Class AbstractCrawler

java.lang.Object
com.atlan.model.packages.AbstractPackage
com.atlan.model.packages.AbstractCrawler
Direct Known Subclasses:
AthenaCrawler, ConfluentKafkaCrawler, DbtCrawler, FivetranCrawler, GlueCrawler, LookerCrawler, PostgreSQLCrawler, PowerBICrawler, RedshiftCrawler, SigmaCrawler, SnowflakeCrawler, SQLServerCrawler, TableauCrawler

public abstract class AbstractCrawler extends AbstractPackage
  • Constructor Details

  • Method Details

    • getConnection

      public static Connection getConnection(AtlanClient client, String connectionName, AtlanConnectorType connectionType, List<String> roles, List<String> groups, List<String> users, boolean allowQuery, boolean allowQueryPreview, long rowLimit, String sourceLogo) throws AtlanException
      Builds a connection using the provided parameters, which will be the target for the package to crawl assets.
      Parameters:
      client - connectivity to the Atlan tenant on which the package will run
      connectionName - name for the connection
      connectionType - type of connector for the connection
      roles - admin roles for the connection
      groups - admin groups for the connection
      users - admin users for the connection
      allowQuery - whether to allow data to be queried in the connection (true) or not (false)
      allowQueryPreview - whether to allow sample data to be viewed for assets in the connection (true) or not (false)
      rowLimit - maximum number of rows that can be returned by a query
      sourceLogo - logo to use for the source
      Throws:
      AtlanException - if there is not at least one role, group or user defined as an admin (or any of them are invalid)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractPackage
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AbstractPackage
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractPackage
    • toString

      public String toString()
      Overrides:
      toString in class AbstractPackage