Class RVAthenaDataSource

java.lang.Object
io.revealbi.core.data.RVDashboardDataSource
io.revealbi.core.data.RVAthenaDataSource

public class RVAthenaDataSource extends RVDashboardDataSource
Amazon Athena data source
  • Field Details

  • Constructor Details

    • RVAthenaDataSource

      public RVAthenaDataSource()
  • Method Details

    • setRegion

      public String setRegion(String value)
      Region for the service. See the list of supported values in https://docs.aws.amazon.com/general/latest/gr/rande.html.
      Parameters:
      value -
      Returns:
    • getRegion

      public String getRegion()
      Region for the service. See the list of supported values in https://docs.aws.amazon.com/general/latest/gr/rande.html.
      Returns:
    • setDataCatalog

      public String setDataCatalog(String value)
      Athena's data catalog where the database is. If the value is null, "AwsDataCatalog" will be used.
      Parameters:
      value -
      Returns:
    • getDataCatalog

      public String getDataCatalog()
      Athena's data catalog where the database is. If the value is null, "AwsDataCatalog" will be used.
      Returns:
    • setDatabase

      public String setDatabase(String value)
      Athena's database to use.
      Parameters:
      value -
      Returns:
    • getDatabase

      public String getDatabase()
      Athena's database to use.
      Returns:
    • setWorkgroup

      public String setWorkgroup(String value)
      Workgroup used to run queries. It is optional.
      Parameters:
      value -
      Returns:
    • getWorkgroup

      public String getWorkgroup()
      Workgroup used to run queries. It is optional.
      Returns:
    • setOutputLocation

      public String setOutputLocation(String value)
      s3 path where the results will be stored. It is optional, but if missing and if the chosen workgroup doesn't have a valid s3 path, the queries will fail.
      Parameters:
      value -
      Returns:
    • getOutputLocation

      public String getOutputLocation()
      s3 path where the results will be stored. It is optional, but if missing and if the chosen workgroup doesn't have a valid s3 path, the queries will fail.
      Returns:
    • getProviderKey

      public String getProviderKey()
      Specified by:
      getProviderKey in class RVDashboardDataSource