public final class PivotValue 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 |
|---|
PivotValue() |
| Modifier and Type | Method and Description |
|---|---|
PivotValue |
clone() |
String |
getCalculatedDisplayType()
If specified, indicates that pivot values should be displayed as the result of a calculation
with another pivot value.
|
DataSourceColumnReference |
getDataSourceColumnReference()
The reference to the data source column that this value reads from.
|
String |
getFormula()
A custom formula to calculate the value.
|
String |
getName()
A name to use for the value.
|
Integer |
getSourceColumnOffset()
The column offset of the source range that this value reads from.
|
String |
getSummarizeFunction()
A function to summarize the value.
|
PivotValue |
set(String fieldName,
Object value) |
PivotValue |
setCalculatedDisplayType(String calculatedDisplayType)
If specified, indicates that pivot values should be displayed as the result of a calculation
with another pivot value.
|
PivotValue |
setDataSourceColumnReference(DataSourceColumnReference dataSourceColumnReference)
The reference to the data source column that this value reads from.
|
PivotValue |
setFormula(String formula)
A custom formula to calculate the value.
|
PivotValue |
setName(String name)
A name to use for the value.
|
PivotValue |
setSourceColumnOffset(Integer sourceColumnOffset)
The column offset of the source range that this value reads from.
|
PivotValue |
setSummarizeFunction(String summarizeFunction)
A function to summarize the value.
|
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 String getCalculatedDisplayType()
null for nonepublic PivotValue setCalculatedDisplayType(String calculatedDisplayType)
calculatedDisplayType - calculatedDisplayType or null for nonepublic DataSourceColumnReference getDataSourceColumnReference()
null for nonepublic PivotValue setDataSourceColumnReference(DataSourceColumnReference dataSourceColumnReference)
dataSourceColumnReference - dataSourceColumnReference or null for nonepublic String getFormula()
null for nonepublic PivotValue setFormula(String formula)
formula - formula or null for nonepublic String getName()
null for nonepublic PivotValue setName(String name)
name - name or null for nonepublic Integer getSourceColumnOffset()
null for nonepublic PivotValue setSourceColumnOffset(Integer sourceColumnOffset)
sourceColumnOffset - sourceColumnOffset or null for nonepublic String getSummarizeFunction()
null for nonepublic PivotValue setSummarizeFunction(String summarizeFunction)
summarizeFunction - summarizeFunction or null for nonepublic PivotValue set(String fieldName, Object value)
set in class GenericJsonpublic PivotValue clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.