milvus-logo

Class QueryResultsWrapper

  • java.lang.Object
    • io.milvus.response.QueryResultsWrapper

  • public class QueryResultsWrapper
    extends java.lang.Object
    Utility class to wrap response of query interface.
    • Constructor Summary

      Constructor Description
      QueryResultsWrapper​(@NonNull io.milvus.grpc.QueryResults results)  
    • Method Summary

      Modifier and Type Method Description
      FieldDataWrapper getFieldWrapper​(@NonNull java.lang.String fieldName)
      Gets FieldDataWrapper for a field.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueryResultsWrapper

        public QueryResultsWrapper​(@NonNull
                                   @NonNull io.milvus.grpc.QueryResults results)
    • Method Detail

      • getFieldWrapper

        public FieldDataWrapper getFieldWrapper​(@NonNull
                                                @NonNull java.lang.String fieldName)
                                         throws ParamException
        Gets FieldDataWrapper for a field. Throws ParamException if the field doesn't exist.
        Parameters:
        fieldName - field name to get output data
        Returns:
        FieldDataWrapper
        Throws:
        ParamException