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 TypeFieldDescriptionint
int
int
Fields inherited from class ghidra.features.bsim.query.protocol.QueryResponseRecord
name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
mergeResults
(QueryResponseRecord subresponse) Combine partial results from subresponse into this global responsevoid
restoreXml
(XmlPullParser parser, LSHVectorFactory vectorFactory) void
void
sort()
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:QueryResponseRecord
Perform any preferred sorting on the result of a query- Overrides:
sort
in classQueryResponseRecord
-
mergeResults
Description copied from class:QueryResponseRecord
Combine partial results from subresponse into this global response- Overrides:
mergeResults
in classQueryResponseRecord
- Parameters:
subresponse
- the partial response to merge into this
-
saveXml
- Specified by:
saveXml
in classQueryResponseRecord
- Throws:
IOException
-
restoreXml
- Specified by:
restoreXml
in classQueryResponseRecord
- Throws:
LSHException
-