public final class ClusterInfo
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 BigQuery 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.Flags
Constructor and Description |
---|
ClusterInfo() |
Modifier and Type | Method and Description |
---|---|
ClusterInfo |
clone() |
java.lang.Long |
getCentroidId()
Centroid id.
|
java.lang.Double |
getClusterRadius()
Cluster radius, the average distance from centroid to each point assigned to the cluster.
|
java.lang.Long |
getClusterSize()
Cluster size, the total number of points assigned to the cluster.
|
ClusterInfo |
set(java.lang.String fieldName,
java.lang.Object value) |
ClusterInfo |
setCentroidId(java.lang.Long centroidId)
Centroid id.
|
ClusterInfo |
setClusterRadius(java.lang.Double clusterRadius)
Cluster radius, the average distance from centroid to each point assigned to the cluster.
|
ClusterInfo |
setClusterSize(java.lang.Long clusterSize)
Cluster size, the total number of points assigned to the cluster.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Long getCentroidId()
null
for nonepublic ClusterInfo setCentroidId(java.lang.Long centroidId)
centroidId
- centroidId or null
for nonepublic java.lang.Double getClusterRadius()
null
for nonepublic ClusterInfo setClusterRadius(java.lang.Double clusterRadius)
clusterRadius
- clusterRadius or null
for nonepublic java.lang.Long getClusterSize()
null
for nonepublic ClusterInfo setClusterSize(java.lang.Long clusterSize)
clusterSize
- clusterSize or null
for nonepublic ClusterInfo set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ClusterInfo clone()
clone
in class com.google.api.client.json.GenericJson