Class ExportAllDataAssets

  • All Implemented Interfaces:
    com.amazonaws.services.lambda.runtime.RequestHandler<java.util.Map<java.lang.String,​java.lang.String>,​java.lang.String>

    public class ExportAllDataAssets
    extends AssetReporter
    • Constructor Detail

      • ExportAllDataAssets

        public ExportAllDataAssets()
    • Method Detail

      • getAssetsToExtract

        public com.atlan.model.search.FluentSearch.FluentSearchBuilder<?,​?> getAssetsToExtract​(java.util.Map<java.lang.String,​java.lang.String> event)
        Produce a query that will retrieve all the assets you want to extract.
        Specified by:
        getAssetsToExtract in class AssetReporter
        Parameters:
        event - context passed through the Lambda invocation event (or environment variables)
        Returns:
        a fluent search with all necessary conditions for selecting the set of assets to extract
      • getAttributesToExtract

        public java.util.List<com.atlan.model.fields.AtlanField> getAttributesToExtract​(java.util.Map<java.lang.String,​java.lang.String> event)
        Produce a list of all the attributes that should be extracted for each asset, in the order they should be produced for each row of the output. The qualifiedName and type of every asset will automatically be included as the first two columns (as they are required), so you do not need to specify these.
        Specified by:
        getAttributesToExtract in class AssetReporter
        Parameters:
        event - context passed through the Lambda invocation event (or environment variables)
        Returns:
        list of attributes to include for each asset
      • main

        public static void main​(java.lang.String[] args)