public class FieldDataWrapper
extends java.lang.Object
query/search
interface.Constructor | Description |
---|---|
FieldDataWrapper(@NonNull io.milvus.grpc.FieldData fieldData) |
Modifier and Type | Method | Description |
---|---|---|
int |
getDim() |
Gets the dimension value of a vector field.
|
java.util.List<?> |
getFieldData() |
Returns the field data according to its type:
float vector field return List<List<Float>>,
binary vector field return List<ByteBuffer>,
int64 field return List<Long>,
boolean field return List<Boolean>,
etc.
|
long |
getRowCount() |
Gets the row count of a field.
|
boolean |
isVectorField() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public FieldDataWrapper(@NonNull
@NonNull io.milvus.grpc.FieldData fieldData)
public boolean isVectorField()
public int getDim()
throws IllegalResponseException
IllegalResponseException
if the field is not a vector filed.int
dimension of the vector fieldIllegalResponseException
public long getRowCount()
throws IllegalResponseException
IllegalResponseException
if the field type is illegal.long
row count of the fieldIllegalResponseException
public java.util.List<?> getFieldData()
throws IllegalResponseException
IllegalResponseException
if the field type is illegal.List
IllegalResponseException