public class ResponseDocument extends Object implements Serializable
| Constructor and Description | 
|---|
ResponseDocument(Map<String,Object> fields,
                long absolutePosition)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
containsField(String fieldName)  | 
boolean | 
equals(Object obj)  | 
long | 
getAbsolutePosition()  | 
LinkedHashMap<String,Double> | 
getFeatures()
Get [features] pseudo-field as a  
LinkedHashMap
 Updating the returned object does not actually update the response. | 
Object | 
getField(String fieldName)  | 
Object | 
getFieldOrDefault(String fieldName,
                 Object defaultValue)  | 
Map<String,Object> | 
getFieldsAsMap()  | 
int | 
hashCode()  | 
Object | 
putField(String fieldName,
        Object fieldValue)  | 
Object | 
removeField(String key)  | 
void | 
setFeatures(LinkedHashMap<String,Double> features)
Update [features] pseudo-field 
 | 
int | 
size()  | 
public long getAbsolutePosition()
public int size()
public boolean containsField(String fieldName)
public LinkedHashMap<String,Double> getFeatures()
LinkedHashMap
 Updating the returned object does not actually update the response.  To update
 the response, use setFeatures(LinkedHashMap)public void setFeatures(LinkedHashMap<String,Double> features)
features -