milvus-logo

Class GetEntityByIDResponse

  • java.lang.Object
    • io.milvus.client.GetEntityByIDResponse

  • public class GetEntityByIDResponse
    extends java.lang.Object
    Contains the returned response and either a List of floatVectors or binaryVectors for getEntityByID. If the id does not exist, both float and binary vectors corresponding to the id will be empty.
    • Method Summary

      Modifier and Type Method Description
      java.util.List<java.nio.ByteBuffer> getBinaryVectors()  
      java.util.List<java.util.List<java.lang.Float>> getFloatVectors()  
      Response getResponse()  
      boolean ok()  
      • Methods inherited from class java.lang.Object

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

      • getFloatVectors

        public java.util.List<java.util.List<java.lang.Float>> getFloatVectors()
      • getBinaryVectors

        public java.util.List<java.nio.ByteBuffer> getBinaryVectors()
        Returns:
        a List of ByteBuffer object
      • getResponse

        public Response getResponse()
      • ok

        public boolean ok()
        Returns:
        true if the response status equals SUCCESS