public final class DistributionUpdate 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 Dataflow 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 |
---|
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, 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 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 GenericJson
public DistributionUpdate clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.