public class QueryResult extends DynamicModel
| Constructor and Description |
|---|
QueryResult() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Gets the id.
|
java.util.Map |
getMetadata()
Gets the metadata.
|
java.lang.Double |
getScore()
Gets the score.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setMetadata(java.util.Map metadata)
Sets the metadata.
|
void |
setScore(java.lang.Double score)
Sets the score.
|
equals, hashCode, toStringpublic java.lang.String getId()
public java.lang.Double getScore()
public java.util.Map getMetadata()
public void setId(java.lang.String id)
id - the new idpublic void setScore(java.lang.Double score)
score - the new scorepublic void setMetadata(java.util.Map metadata)
metadata - the new metadata