public final class DistributionUpdate
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 Dataflow 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DistributionUpdate() |
| Modifier and Type | Method and Description |
|---|---|
DistributionUpdate |
clone() |
SplitInt64 |
getCount()
The count of the number of elements present in the distribution.
|
Histogram |
getHistogram()
(Optional) Histogram of value counts for the distribution.
|
SplitInt64 |
getMax()
The maximum value present in the distribution.
|
SplitInt64 |
getMin()
The minimum value present in the distribution.
|
SplitInt64 |
getSum()
Use an int64 since we'd prefer the added precision.
|
Double |
getSumOfSquares()
Use a double since the sum of squares is likely to overflow int64.
|
DistributionUpdate |
set(String fieldName,
Object value) |
DistributionUpdate |
setCount(SplitInt64 count)
The count of the number of elements present in the distribution.
|
DistributionUpdate |
setHistogram(Histogram histogram)
(Optional) Histogram of value counts for the distribution.
|
DistributionUpdate |
setMax(SplitInt64 max)
The maximum value present in the distribution.
|
DistributionUpdate |
setMin(SplitInt64 min)
The minimum value present in the distribution.
|
DistributionUpdate |
setSum(SplitInt64 sum)
Use an int64 since we'd prefer the added precision.
|
DistributionUpdate |
setSumOfSquares(Double sumOfSquares)
Use a double since the sum of squares is likely to overflow int64.
|
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 SplitInt64 getCount()
null for nonepublic DistributionUpdate setCount(SplitInt64 count)
count - count or null for nonepublic Histogram getHistogram()
null for nonepublic DistributionUpdate setHistogram(Histogram histogram)
histogram - histogram or null for nonepublic SplitInt64 getMax()
null for nonepublic DistributionUpdate setMax(SplitInt64 max)
max - max or null for nonepublic SplitInt64 getMin()
null for nonepublic DistributionUpdate setMin(SplitInt64 min)
min - min or null for nonepublic SplitInt64 getSum()
null for nonepublic DistributionUpdate setSum(SplitInt64 sum)
sum - sum or null for nonepublic Double getSumOfSquares()
null for nonepublic DistributionUpdate setSumOfSquares(Double sumOfSquares)
sumOfSquares - sumOfSquares or null for nonepublic DistributionUpdate set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DistributionUpdate clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.