public class QueryResult extends DynamicModel
| Constructor and Description |
|---|
QueryResult() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCollectionId()
Gets the collectionId.
|
java.lang.String |
getId()
Gets the id.
|
java.util.Map |
getMetadata()
Gets the metadata.
|
QueryResultResultMetadata |
getResultMetadata()
Gets the resultMetadata.
|
java.lang.Double |
getScore()
Gets the score.
|
void |
setCollectionId(java.lang.String collectionId)
Sets the collectionId.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setMetadata(java.util.Map metadata)
Sets the metadata.
|
void |
setResultMetadata(QueryResultResultMetadata resultMetadata)
Sets the resultMetadata.
|
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 java.lang.String getCollectionId()
public QueryResultResultMetadata getResultMetadata()
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 metadatapublic void setCollectionId(java.lang.String collectionId)
collectionId - the new collectionIdpublic void setResultMetadata(QueryResultResultMetadata resultMetadata)
resultMetadata - the new resultMetadata