com.atlassian.fisheye.spi.data
Class TabularQueryResultData

java.lang.Object
  extended by 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


Nested Class Summary
static class TabularQueryResultData.SearchResultColumnType
           
 
Constructor Summary
TabularQueryResultData()
           
TabularQueryResultData(java.util.List<TabularQueryResultData.SearchResultColumnType> types, java.util.List<java.lang.String> names)
           
 
Method Summary
 void addRow(java.util.List<java.lang.Object> values)
           
 java.util.List<TabularQueryResultData.SearchResultColumnType> getColumnTypes()
           
 java.util.List<java.lang.String> getNames()
           
 java.util.List<java.util.List<java.lang.Object>> getRows()
           
 java.util.List<java.lang.Object> getRows(int i)
           
 java.util.Iterator<java.util.List<java.lang.Object>> iterator()
           
 void setColumnTypes(java.util.List<TabularQueryResultData.SearchResultColumnType> columnTypes)
           
 void setNames(java.util.List<java.lang.String> names)
           
 void setRows(java.util.List<java.util.List<java.lang.Object>> rows)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabularQueryResultData

public TabularQueryResultData(java.util.List<TabularQueryResultData.SearchResultColumnType> types,
                              java.util.List<java.lang.String> names)

TabularQueryResultData

public TabularQueryResultData()
Method Detail

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)