Class QueryResponseRecord

java.lang.Object
ghidra.features.bsim.query.protocol.QueryResponseRecord
Direct Known Subclasses:
ResponseAdjustIndex, ResponseChildren, ResponseCluster, ResponseDelete, ResponseDropDatabase, ResponseError, ResponseExe, ResponseInfo, ResponseInsert, ResponseName, ResponseNearest, ResponseNearestVector, ResponseOptionalExist, ResponseOptionalValues, ResponsePair, ResponsePassword, ResponsePrewarm, ResponseUpdate, ResponseVectorId, ResponseVectorMatch

public abstract class QueryResponseRecord extends Object
  • Field Details

    • name

      protected final String name
  • Constructor Details

    • QueryResponseRecord

      protected QueryResponseRecord(String name)
  • Method Details

    • getName

      public String getName()
    • saveXml

      public abstract void saveXml(Writer fwrite) throws IOException
      Throws:
      IOException
    • restoreXml

      public abstract void restoreXml(XmlPullParser parser, LSHVectorFactory vectorFactory) throws LSHException
      Throws:
      LSHException
    • getDescriptionManager

      public DescriptionManager getDescriptionManager()
    • getLocalStagingCopy

      public QueryResponseRecord getLocalStagingCopy()
      Returns:
      a partial clone of this query suitable for holding local stages of the query via StagingManager
    • mergeResults

      public void mergeResults(QueryResponseRecord subresponse) throws LSHException
      Combine partial results from subresponse into this global response
      Parameters:
      subresponse - the partial response to merge into this
      Throws:
      LSHException - for errors performing the merge
    • sort

      public void sort()
      Perform any preferred sorting on the result of a query