public class ResultSet extends Object
ResultSet represents a table of data obtained from the execution of a PQL Statement.
Java class for ResultSet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResultSet">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="columnTypes" type="{https://www.google.com/apis/ads/publisher/v201802}ColumnType" maxOccurs="unbounded" minOccurs="0"/>
<element name="rows" type="{https://www.google.com/apis/ads/publisher/v201802}Row" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ColumnType> |
columnTypes |
protected List<Row> |
rows |
| Constructor and Description |
|---|
ResultSet() |
| Modifier and Type | Method and Description |
|---|---|
List<ColumnType> |
getColumnTypes()
Gets the value of the columnTypes property.
|
List<Row> |
getRows()
Gets the value of the rows property.
|
protected List<ColumnType> columnTypes
public List<ColumnType> getColumnTypes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the columnTypes property.
For example, to add a new item, do as follows:
getColumnTypes().add(newItem);
Objects of the following type(s) are allowed in the list
ColumnType
public List<Row> getRows()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the rows property.
For example, to add a new item, do as follows:
getRows().add(newItem);
Objects of the following type(s) are allowed in the list
Row
Copyright © 2018. All Rights Reserved.