Package com.gooddata.executeafm.result
Class ExecutionResult
- java.lang.Object
-
- com.gooddata.executeafm.result.ExecutionResult
-
-
Constructor Summary
Constructors Constructor Description ExecutionResult(String[][] data, Paging paging)Creates new resultExecutionResult(String[] data, Paging paging)Creates new result
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHeaderItems(List<List<ResultHeaderItem>> items)Add header items for next dimension (this method will add dimension in header items)DataListgetData()List<List<List<ResultHeaderItem>>>getHeaderItems()PaginggetPaging()List<List<List<String>>>getTotals()List<List<List<String>>>getTotalTotals()Gets totals of totals data.List<Warning>getWarnings()voidsetHeaderItems(List<List<List<ResultHeaderItem>>> headerItems)Sets header items, for each header in each dimension, there is a list of header itemsvoidsetTotals(List<List<List<String>>> totals)Sets total data, for each total in each dimension, there is a list of total's valuesExecutionResultsetTotalTotals(List<List<List<String>>> totalTotals)Sets totals of totals data.voidsetWarnings(List<Warning> warnings)Sets warnings for this resultStringtoString()
-
-
-
Method Detail
-
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
-
setWarnings
public void setWarnings(List<Warning> warnings)
Sets warnings for this result- Parameters:
warnings- result's warning
-
-