public final class LogBucket 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 Dataflow API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LogBucket() |
Modifier and Type | Method and Description |
---|---|
LogBucket |
clone() |
Long |
getCount()
Number of values in this bucket.
|
Integer |
getLog()
floor(log2(value)); defined to be zero for nonpositive values.
|
LogBucket |
set(String fieldName,
Object value) |
LogBucket |
setCount(Long count)
Number of values in this bucket.
|
LogBucket |
setLog(Integer log)
floor(log2(value)); defined to be zero for nonpositive values.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Long getCount()
null
for nonepublic LogBucket setCount(Long count)
count
- count or null
for nonepublic Integer getLog()
null
for nonepublic LogBucket setLog(Integer log)
log
- log or null
for nonepublic LogBucket set(String fieldName, Object value)
set
in class GenericJson
public LogBucket clone()
clone
in class GenericJson