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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PivotValue() |
| Modifier and Type | Method and Description |
|---|---|
PivotValue |
clone() |
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 |
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic 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 GenericJson