Package com.atlan.model.packages
Class SQLServerCrawler
java.lang.Object
com.atlan.model.packages.AbstractPackage
com.atlan.model.packages.AbstractCrawler
com.atlan.model.packages.SQLServerCrawler
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
SQLServerCrawler.SQLServerCrawlerBuilder<C extends SQLServerCrawler,
B extends SQLServerCrawler.SQLServerCrawlerBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.packages.AbstractCrawler
AbstractCrawler.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
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionstatic SQLServerCrawler.SQLServerCrawlerBuilder<?,
?> protected boolean
static SQLServerCrawler.SQLServerCrawlerBuilder<?,
?> creator
(AtlanClient client, String connectionName) Create the base configuration for a new SQL Server crawler.static SQLServerCrawler.SQLServerCrawlerBuilder<?,
?> creator
(AtlanClient client, String connectionName, List<String> adminRoles, List<String> adminGroups, List<String> adminUsers, boolean allowQuery, boolean allowSamples, long rowLimit) Create the base configuration for a new SQL Server crawler.boolean
int
hashCode()
toString()
Methods inherited from class com.atlan.model.packages.AbstractCrawler
getConnection
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
-
Field Details
-
PREFIX
-
-
Constructor Details
-
SQLServerCrawler
-
-
Method Details
-
creator
public static SQLServerCrawler.SQLServerCrawlerBuilder<?,?> creator(AtlanClient client, String connectionName) throws AtlanException Create the base configuration for a new SQL Server crawler. Sets all admins as connection admins, allows querying and sample data previews, and a maximum limit of 10,000 rows from queries.- Parameters:
client
- connectivity to an Atlan tenantconnectionName
- name of the connection to create when running the crawler for the first time- Returns:
- the builder for the base configuration of a SQL Server crawler
- Throws:
AtlanException
- if there is not at least one connection admin specified, or any specified are invalid
-
creator
public static SQLServerCrawler.SQLServerCrawlerBuilder<?,?> creator(AtlanClient client, String connectionName, List<String> adminRoles, List<String> adminGroups, List<String> adminUsers, boolean allowQuery, boolean allowSamples, long rowLimit) throws AtlanException Create the base configuration for a new SQL Server crawler.- Parameters:
client
- connectivity to an Atlan tenantconnectionName
- name of the connection to create when running the crawler for the first timeadminRoles
- unique identifiers (GUIDs) of roles who will be connection admins on the connectionadminGroups
- internal names of groups who will be connection admins on the connectionadminUsers
- usernames of users who will be connection admins on the connectionallowQuery
- if true, allow SQL queries against assets in the connectionallowSamples
- if true, allow sample data previews for assets in the connectionrowLimit
- maximum number of rows that can be returned by a SQL query for all assets in the connection- Returns:
- the builder for the base configuration of a SQL Server crawler
- Throws:
AtlanException
- if there is not at least one connection admin specified, or any specified are invalid
-
_internal
-
toBuilder
-
equals
- Overrides:
equals
in classAbstractCrawler
-
canEqual
- Overrides:
canEqual
in classAbstractCrawler
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractCrawler
-
toString
- Overrides:
toString
in classAbstractCrawler
-