public final class PivotGroup extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PivotGroup() |
| Modifier and Type | Method and Description |
|---|---|
PivotGroup |
clone() |
DataSourceColumnReference |
getDataSourceColumnReference()
The reference to the data source column this grouping is based on.
|
PivotGroupLimit |
getGroupLimit()
The count limit on rows or columns to apply to this pivot group.
|
PivotGroupRule |
getGroupRule()
The group rule to apply to this row/column group.
|
String |
getLabel()
The labels to use for the row/column groups which can be customized.
|
Boolean |
getRepeatHeadings()
True if the headings in this pivot group should be repeated.
|
Boolean |
getShowTotals()
True if the pivot table should include the totals for this grouping.
|
String |
getSortOrder()
The order the values in this group should be sorted.
|
Integer |
getSourceColumnOffset()
The column offset of the source range that this grouping is based on.
|
PivotGroupSortValueBucket |
getValueBucket()
The bucket of the opposite pivot group to sort by.
|
List<PivotGroupValueMetadata> |
getValueMetadata()
Metadata about values in the grouping.
|
PivotGroup |
set(String fieldName,
Object value) |
PivotGroup |
setDataSourceColumnReference(DataSourceColumnReference dataSourceColumnReference)
The reference to the data source column this grouping is based on.
|
PivotGroup |
setGroupLimit(PivotGroupLimit groupLimit)
The count limit on rows or columns to apply to this pivot group.
|
PivotGroup |
setGroupRule(PivotGroupRule groupRule)
The group rule to apply to this row/column group.
|
PivotGroup |
setLabel(String label)
The labels to use for the row/column groups which can be customized.
|
PivotGroup |
setRepeatHeadings(Boolean repeatHeadings)
True if the headings in this pivot group should be repeated.
|
PivotGroup |
setShowTotals(Boolean showTotals)
True if the pivot table should include the totals for this grouping.
|
PivotGroup |
setSortOrder(String sortOrder)
The order the values in this group should be sorted.
|
PivotGroup |
setSourceColumnOffset(Integer sourceColumnOffset)
The column offset of the source range that this grouping is based on.
|
PivotGroup |
setValueBucket(PivotGroupSortValueBucket valueBucket)
The bucket of the opposite pivot group to sort by.
|
PivotGroup |
setValueMetadata(List<PivotGroupValueMetadata> valueMetadata)
Metadata about values in the grouping.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic DataSourceColumnReference getDataSourceColumnReference()
null for nonepublic PivotGroup setDataSourceColumnReference(DataSourceColumnReference dataSourceColumnReference)
dataSourceColumnReference - dataSourceColumnReference or null for nonepublic PivotGroupLimit getGroupLimit()
null for nonepublic PivotGroup setGroupLimit(PivotGroupLimit groupLimit)
groupLimit - groupLimit or null for nonepublic PivotGroupRule getGroupRule()
null for nonepublic PivotGroup setGroupRule(PivotGroupRule groupRule)
groupRule - groupRule or null for nonepublic String getLabel()
null for nonepublic PivotGroup setLabel(String label)
label - label or null for nonepublic Boolean getRepeatHeadings()
null for nonepublic PivotGroup setRepeatHeadings(Boolean repeatHeadings)
repeatHeadings - repeatHeadings or null for nonepublic Boolean getShowTotals()
null for nonepublic PivotGroup setShowTotals(Boolean showTotals)
showTotals - showTotals or null for nonepublic String getSortOrder()
null for nonepublic PivotGroup setSortOrder(String sortOrder)
sortOrder - sortOrder or null for nonepublic Integer getSourceColumnOffset()
null for nonepublic PivotGroup setSourceColumnOffset(Integer sourceColumnOffset)
sourceColumnOffset - sourceColumnOffset or null for nonepublic PivotGroupSortValueBucket getValueBucket()
null for nonepublic PivotGroup setValueBucket(PivotGroupSortValueBucket valueBucket)
valueBucket - valueBucket or null for nonepublic List<PivotGroupValueMetadata> getValueMetadata()
null for nonepublic PivotGroup setValueMetadata(List<PivotGroupValueMetadata> valueMetadata)
valueMetadata - valueMetadata or null for nonepublic PivotGroup set(String fieldName, Object value)
set in class GenericJsonpublic PivotGroup clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.