Package com.atlan.model.packages
Class LookerCrawler.LookerCrawlerBuilder<C extends LookerCrawler,B extends LookerCrawler.LookerCrawlerBuilder<C,B>>
java.lang.Object
com.atlan.model.packages.AbstractPackage.AbstractPackageBuilder<C,B>
com.atlan.model.packages.AbstractCrawler.AbstractCrawlerBuilder<C,B>
com.atlan.model.packages.LookerCrawler.LookerCrawlerBuilder<C,B>
- Enclosing class:
LookerCrawler
public abstract static class LookerCrawler.LookerCrawlerBuilder<C extends LookerCrawler,B extends LookerCrawler.LookerCrawlerBuilder<C,B>>
extends AbstractCrawler.AbstractCrawlerBuilder<C,B>
-
Field Summary
Fields inherited from class com.atlan.model.packages.AbstractCrawler.AbstractCrawlerBuilder
client, connection, localCredsFields inherited from class com.atlan.model.packages.AbstractPackage.AbstractPackageBuilder
epoch -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B$fillValuesFrom(C instance) abstract Cbuild()Set up the crawler to extract directly from Looker.excludeFolders(List<String> folders) Defines the filter for folders to exclude when crawling.excludeProjects(List<String> projects) Defines the filter for projects to exclude when crawling.fieldLevelLineage(String privateKey, String privateKeyPassphrase) Enable field-level lineage when crawling Looker.includeFolders(List<String> folders) Defines the filter for folders to include when crawling.includeProjects(List<String> projects) Defines the filter for projects to include when crawling.protected Bmetadata()Set all the metadata for the package (labels, annotations, etc).protected abstract Bself()toString()Methods inherited from class com.atlan.model.packages.AbstractPackage.AbstractPackageBuilder
_annotation, _annotations, _credential, _label, _labels, _name, _parameter, _parameters, _prefix, _runName, clear_annotations, clear_labels, clear_parameters
-
Constructor Details
-
LookerCrawlerBuilder
public LookerCrawlerBuilder()
-
-
Method Details
-
direct
Set up the crawler to extract directly from Looker.- Parameters:
hostname- of Lookerport- for Looker (either 443 or 19999)clientId- through which to access LookerclientSecret- through which to access Looker- Returns:
- the builder, set up to extract directly from Looker
-
fieldLevelLineage
Enable field-level lineage when crawling Looker.- Parameters:
privateKey- the SSH private key to use to connect to Git for field-level lineageprivateKeyPassphrase- the passphrase for the SSH private key- Returns:
- the builder, set up to crawl field-level lineage for Looker
-
includeFolders
Defines the filter for folders to include when crawling.- Parameters:
folders- the numeric IDs of folders to include when crawling- Returns:
- the builder, set to include only those folders specified
- Throws:
InvalidRequestException- in the unlikely event the provided filter cannot be translated
-
excludeFolders
Defines the filter for folders to exclude when crawling.- Parameters:
folders- the numeric IDs of folders to exclude when crawling- Returns:
- the builder, set to exclude only those folders specified
- Throws:
InvalidRequestException- in the unlikely event the provided filter cannot be translated
-
includeProjects
Defines the filter for projects to include when crawling.- Parameters:
projects- the names of projects to include when crawling- Returns:
- the builder, set to include only those projects specified
- Throws:
InvalidRequestException- in the unlikely event the provided filter cannot be translated
-
excludeProjects
Defines the filter for projects to exclude when crawling.- Parameters:
projects- the names of projects to exclude when crawling- Returns:
- the builder, set to exclude only those projects specified
- Throws:
InvalidRequestException- in the unlikely event the provided filter cannot be translated
-
metadata
Set all the metadata for the package (labels, annotations, etc).- Specified by:
metadatain classAbstractPackage.AbstractPackageBuilder<C extends LookerCrawler,B extends LookerCrawler.LookerCrawlerBuilder<C, B>> - Returns:
- the builder, with metadata set
-
$fillValuesFrom
- Overrides:
$fillValuesFromin classAbstractCrawler.AbstractCrawlerBuilder<C extends LookerCrawler,B extends LookerCrawler.LookerCrawlerBuilder<C, B>>
-
self
- Specified by:
selfin classAbstractCrawler.AbstractCrawlerBuilder<C extends LookerCrawler,B extends LookerCrawler.LookerCrawlerBuilder<C, B>>
-
build
- Specified by:
buildin classAbstractCrawler.AbstractCrawlerBuilder<C extends LookerCrawler,B extends LookerCrawler.LookerCrawlerBuilder<C, B>>
-
toString
- Overrides:
toStringin classAbstractCrawler.AbstractCrawlerBuilder<C extends LookerCrawler,B extends LookerCrawler.LookerCrawlerBuilder<C, B>>
-