public final class Update 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 Prediction 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 |
---|
Update() |
Modifier and Type | Method and Description |
---|---|
Update |
clone() |
List<Object> |
getCsvInstance()
The input features for this instance.
|
String |
getOutput()
The generic output value - could be regression or class label.
|
Update |
set(String fieldName,
Object value) |
Update |
setCsvInstance(List<Object> csvInstance)
The input features for this instance.
|
Update |
setOutput(String output)
The generic output value - could be regression or class label.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<Object> getCsvInstance()
null
for nonepublic Update setCsvInstance(List<Object> csvInstance)
csvInstance
- csvInstance or null
for nonepublic String getOutput()
null
for nonepublic Update setOutput(String output)
output
- output or null
for nonepublic Update set(String fieldName, Object value)
set
in class GenericJson
public Update clone()
clone
in class GenericJson