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 Summary
FieldsModifier and TypeFieldDescriptionintintintFields inherited from class ghidra.features.bsim.query.protocol.QueryResponseRecord
name -
Constructor Summary
Constructors -
Method Summary
Modifier 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.QueryResponseRecord
getDescriptionManager, getLocalStagingCopy, getName
-
Field Details
-
totalvec
public int totalvec -
totalmatch
public int totalmatch -
uniquematch
public int uniquematch -
result
-
qnear
-
-
Constructor Details
-
ResponseNearestVector
-
-
Method Details
-
sort
public void sort()Description copied from class:QueryResponseRecordPerform any preferred sorting on the result of a query- Overrides:
sortin classQueryResponseRecord
-
mergeResults
Description copied from class:QueryResponseRecordCombine partial results from subresponse into this global response- Overrides:
mergeResultsin classQueryResponseRecord- Parameters:
subresponse- the partial response to merge into this
-
saveXml
- Specified by:
saveXmlin classQueryResponseRecord- Throws:
IOException
-
restoreXml
- Specified by:
restoreXmlin classQueryResponseRecord- Throws:
LSHException
-