Package com.atlan.model.packages
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractCrawler.AbstractCrawlerBuilder<C extends AbstractCrawler,B extends AbstractCrawler.AbstractCrawlerBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.packages.AbstractPackage
AbstractPackage.AbstractPackageBuilder<C extends AbstractPackage,B extends AbstractPackage.AbstractPackageBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.packages.AbstractPackage
_name, _prefix, _runName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanstatic ConnectiongetConnection(AtlanClient client, String connectionName, AtlanConnectorType connectionType, List<String> roles, List<String> groups, List<String> users, boolean allowQuery, boolean allowQueryPreview, long rowLimit, String sourceLogo) Builds a connection using the provided parameters, which will be the target for the package to crawl assets.inthashCode()toString()Methods inherited from class com.atlan.model.packages.AbstractPackage
get_annotations, get_credential, get_labels, get_name, get_parameters, get_prefix, get_runName, getEpoch, toWorkflow
-
Constructor Details
-
AbstractCrawler
-
-
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 runconnectionName- name for the connectionconnectionType- type of connector for the connectionroles- admin roles for the connectiongroups- admin groups for the connectionusers- admin users for the connectionallowQuery- 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 querysourceLogo- 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
- Overrides:
equalsin classAbstractPackage
-
canEqual
- Overrides:
canEqualin classAbstractPackage
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractPackage
-
toString
- Overrides:
toStringin classAbstractPackage
-