public final class Pivot 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 Analytics Reporting API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Pivot() |
Modifier and Type | Method and Description |
---|---|
Pivot |
clone() |
List<DimensionFilterClause> |
getDimensionFilterClauses()
DimensionFilterClauses are logically combined with an `AND` operator: only data that is
included by all these DimensionFilterClauses contributes to the values in this pivot region.
|
List<Dimension> |
getDimensions()
A list of dimensions to show as pivot columns.
|
Integer |
getMaxGroupCount()
Specifies the maximum number of groups to return.
|
List<Metric> |
getMetrics()
The pivot metrics.
|
Integer |
getStartGroup()
If k metrics were requested, then the response will contain some data-dependent multiple of k
columns in the report.
|
Pivot |
set(String fieldName,
Object value) |
Pivot |
setDimensionFilterClauses(List<DimensionFilterClause> dimensionFilterClauses)
DimensionFilterClauses are logically combined with an `AND` operator: only data that is
included by all these DimensionFilterClauses contributes to the values in this pivot region.
|
Pivot |
setDimensions(List<Dimension> dimensions)
A list of dimensions to show as pivot columns.
|
Pivot |
setMaxGroupCount(Integer maxGroupCount)
Specifies the maximum number of groups to return.
|
Pivot |
setMetrics(List<Metric> metrics)
The pivot metrics.
|
Pivot |
setStartGroup(Integer startGroup)
If k metrics were requested, then the response will contain some data-dependent multiple of k
columns in the report.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<DimensionFilterClause> getDimensionFilterClauses()
null
for nonepublic Pivot setDimensionFilterClauses(List<DimensionFilterClause> dimensionFilterClauses)
dimensionFilterClauses
- dimensionFilterClauses or null
for nonepublic List<Dimension> getDimensions()
null
for nonepublic Pivot setDimensions(List<Dimension> dimensions)
dimensions
- dimensions or null
for nonepublic Integer getMaxGroupCount()
null
for nonepublic Pivot setMaxGroupCount(Integer maxGroupCount)
maxGroupCount
- maxGroupCount or null
for nonepublic List<Metric> getMetrics()
null
for nonepublic Pivot setMetrics(List<Metric> metrics)
metrics
- metrics or null
for nonepublic Integer getStartGroup()
null
for nonepublic Pivot setStartGroup(Integer startGroup)
startGroup
- startGroup or null
for nonepublic Pivot set(String fieldName, Object value)
set
in class GenericJson
public Pivot clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.