Class ResponseNearest
java.lang.Object
ghidra.features.bsim.query.protocol.QueryResponseRecord
ghidra.features.bsim.query.protocol.ResponseNearest
Response to a QueryNearest request. A full description in terms of ExecutableRecords and FunctionDescriptions
is returned. The linked list of SimilarityResults explicitly describes the similarities between the functions
in the original request and the new functions being returned. A SimilarityResult cross-references
FunctionDescription objects between the request DescriptionManager and this response object's DescriptionManager
-
Field Summary
FieldsFields 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
-
totalfunc
public int totalfunc -
totalmatch
public int totalmatch -
uniquematch
public int uniquematch -
manage
-
result
-
qnear
-
-
Constructor Details
-
ResponseNearest
-
-
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- Throws:
LSHException
- for errors performing the merge
-
saveXml
- Specified by:
saveXml
in classQueryResponseRecord
- Throws:
IOException
-
restoreXml
- Specified by:
restoreXml
in classQueryResponseRecord
- Throws:
LSHException
-