com.atlassian.fisheye.spi.data
Class TabularQueryResultData
java.lang.Object
com.atlassian.fisheye.spi.data.TabularQueryResultData
- All Implemented Interfaces:
- java.lang.Iterable<java.util.List<java.lang.Object>>
public class TabularQueryResultData
- extends java.lang.Object
- implements java.lang.Iterable<java.util.List<java.lang.Object>>
A data object representing the result of tabular eyeql query
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabularQueryResultData
public TabularQueryResultData(java.util.List<TabularQueryResultData.SearchResultColumnType> types,
java.util.List<java.lang.String> names)
TabularQueryResultData
public TabularQueryResultData()
addRow
public void addRow(java.util.List<java.lang.Object> values)
iterator
public java.util.Iterator<java.util.List<java.lang.Object>> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<java.util.List<java.lang.Object>>
getColumnTypes
public java.util.List<TabularQueryResultData.SearchResultColumnType> getColumnTypes()
getNames
public java.util.List<java.lang.String> getNames()
getRows
public java.util.List<java.util.List<java.lang.Object>> getRows()
getRows
public java.util.List<java.lang.Object> getRows(int i)
setNames
public void setNames(java.util.List<java.lang.String> names)
setRows
public void setRows(java.util.List<java.util.List<java.lang.Object>> rows)
setColumnTypes
public void setColumnTypes(java.util.List<TabularQueryResultData.SearchResultColumnType> columnTypes)