Class ResponseNearestVector
java.lang.Object
ghidra.features.bsim.query.protocol.QueryResponseRecord
ghidra.features.bsim.query.protocol.ResponseNearestVector
Response to a QueryNearestVector request. It provides basic stats on the number of matching vectors and functions.
 Only a list of the matching vectors is returned, not the detailed FunctionDescription records of matches.
 Results are returned as SimilarityVectorResult objects, which cross-reference the original function queried and
 any similar vectors.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintintintFields inherited from class ghidra.features.bsim.query.protocol.QueryResponseRecordname
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidmergeResults(QueryResponseRecord subresponse) Combine partial results from subresponse into this global responsevoidrestoreXml(XmlPullParser parser, LSHVectorFactory vectorFactory) voidvoidsort()Perform any preferred sorting on the result of a queryMethods inherited from class ghidra.features.bsim.query.protocol.QueryResponseRecordgetDescriptionManager, getLocalStagingCopy, getName
- 
Field Details- 
totalvecpublic int totalvec
- 
totalmatchpublic int totalmatch
- 
uniquematchpublic int uniquematch
- 
result
- 
qnear
 
- 
- 
Constructor Details- 
ResponseNearestVector
 
- 
- 
Method Details- 
sortpublic void sort()Description copied from class:QueryResponseRecordPerform any preferred sorting on the result of a query- Overrides:
- sortin class- QueryResponseRecord
 
- 
mergeResultsDescription copied from class:QueryResponseRecordCombine partial results from subresponse into this global response- Overrides:
- mergeResultsin class- QueryResponseRecord
- Parameters:
- subresponse- the partial response to merge into this
 
- 
saveXml- Specified by:
- saveXmlin class- QueryResponseRecord
- Throws:
- IOException
 
- 
restoreXml- Specified by:
- restoreXmlin class- QueryResponseRecord
- Throws:
- LSHException
 
 
-