Package io.milvus.client
Class GetEntityByIDResponse
- java.lang.Object
-
- io.milvus.client.GetEntityByIDResponse
-
public class GetEntityByIDResponse extends java.lang.Object
Contains the returnedresponse
and either aList
offloatVectors
orbinaryVectors
forgetEntityByID
. If the id does not exist, both float and binary vectors corresponding to the id will be empty.
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
-
-
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
ofByteBuffer
object
-
getResponse
public Response getResponse()
-
ok
public boolean ok()
- Returns:
true
if the response status equals SUCCESS
-
-