Class ExecutionResult

java.lang.Object
com.gooddata.sdk.model.executeafm.result.ExecutionResult

public class ExecutionResult extends Object
Data result of the Execution.
  • Constructor Details

    • ExecutionResult

      public ExecutionResult(String[] data, Paging paging)
      Creates new result
      Parameters:
      data - result data
      paging - result paging
    • ExecutionResult

      public ExecutionResult(String[][] data, Paging paging)
      Creates new result
      Parameters:
      data - result data
      paging - result paging
  • Method Details

    • getData

      public DataList getData()
      Returns:
      result data
    • getPaging

      public Paging getPaging()
      Returns:
      result paging
    • getHeaderItems

      public List<List<List<ResultHeaderItem>>> getHeaderItems()
      Returns:
      header items, for each header in each dimension, there is a list of header items
    • setHeaderItems

      public void setHeaderItems(List<List<List<ResultHeaderItem>>> headerItems)
      Sets header items, for each header in each dimension, there is a list of header items
      Parameters:
      headerItems - header items
    • addHeaderItems

      public void addHeaderItems(List<List<ResultHeaderItem>> items)
      Add header items for next dimension (this method will add dimension in header items)
      Parameters:
      items - header items for one dimension
    • getTotals

      public List<List<List<String>>> getTotals()
      Returns:
      data of totals, for each total in each dimension, there is a list of total's values
    • setTotals

      public void setTotals(List<List<List<String>>> totals)
      Sets total data, for each total in each dimension, there is a list of total's values
      Parameters:
      totals - totals data
    • getTotalTotals

      public List<List<List<String>>> getTotalTotals()
      Gets totals of totals data. The totals of totals represent intersection between totals in multiple dimensions. For each dimension and total combination, there is a list of totals of totals values.
      Returns:
      3-dimensional matrix of totals of totals data
    • setTotalTotals

      public ExecutionResult setTotalTotals(List<List<List<String>>> totalTotals)
      Sets totals of totals data. The totals of totals represent intersection between totals in multiple dimensions. For each dimension and total combination, there is a list of totals of totals values.
      Parameters:
      totalTotals - 3-dimensional matrix of totals of totals data
    • getWarnings

      public List<Warning> getWarnings()
      Returns:
      result's warnings
    • setWarnings

      public void setWarnings(List<Warning> warnings)
      Sets warnings for this result
      Parameters:
      warnings - result's warning
    • toString

      public String toString()
      Overrides:
      toString in class Object