public final class PivotTable
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
PivotTable() |
| Modifier and Type | Method and Description |
|---|---|
PivotTable |
clone() |
java.util.List<PivotGroup> |
getColumns()
Each column grouping in the pivot table.
|
java.util.Map<java.lang.String,PivotFilterCriteria> |
getCriteria()
An optional mapping of filters per source column offset.
|
java.util.List<PivotGroup> |
getRows()
Each row grouping in the pivot table.
|
GridRange |
getSource()
The range the pivot table is reading data from.
|
java.lang.String |
getValueLayout()
Whether values should be listed horizontally (as columns) or vertically (as rows).
|
java.util.List<PivotValue> |
getValues()
A list of values to include in the pivot table.
|
PivotTable |
set(java.lang.String fieldName,
java.lang.Object value) |
PivotTable |
setColumns(java.util.List<PivotGroup> columns)
Each column grouping in the pivot table.
|
PivotTable |
setCriteria(java.util.Map<java.lang.String,PivotFilterCriteria> criteria)
An optional mapping of filters per source column offset.
|
PivotTable |
setRows(java.util.List<PivotGroup> rows)
Each row grouping in the pivot table.
|
PivotTable |
setSource(GridRange source)
The range the pivot table is reading data from.
|
PivotTable |
setValueLayout(java.lang.String valueLayout)
Whether values should be listed horizontally (as columns) or vertically (as rows).
|
PivotTable |
setValues(java.util.List<PivotValue> values)
A list of values to include in the pivot table.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<PivotGroup> getColumns()
null for nonepublic PivotTable setColumns(java.util.List<PivotGroup> columns)
columns - columns or null for nonepublic java.util.Map<java.lang.String,PivotFilterCriteria> getCriteria()
null for nonepublic PivotTable setCriteria(java.util.Map<java.lang.String,PivotFilterCriteria> criteria)
criteria - criteria or null for nonepublic java.util.List<PivotGroup> getRows()
null for nonepublic PivotTable setRows(java.util.List<PivotGroup> rows)
rows - rows or null for nonepublic GridRange getSource()
null for nonepublic PivotTable setSource(GridRange source)
source - source or null for nonepublic java.lang.String getValueLayout()
null for nonepublic PivotTable setValueLayout(java.lang.String valueLayout)
valueLayout - valueLayout or null for nonepublic java.util.List<PivotValue> getValues()
null for nonepublic PivotTable setValues(java.util.List<PivotValue> values)
values - values or null for nonepublic PivotTable set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PivotTable clone()
clone in class com.google.api.client.json.GenericJson