Package io.milvus.response
Class QueryResultsWrapper
- java.lang.Object
-
- io.milvus.response.QueryResultsWrapper
-
public class QueryResultsWrapper extends java.lang.Object
Utility class to wrap response ofquery
interface.
-
-
Constructor Summary
Constructors Constructor Description QueryResultsWrapper(@NonNull io.milvus.grpc.QueryResults results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldDataWrapper
getFieldWrapper(@NonNull java.lang.String fieldName)
GetsFieldDataWrapper
for a field.
-
-
-
Method Detail
-
getFieldWrapper
public FieldDataWrapper getFieldWrapper(@NonNull @NonNull java.lang.String fieldName) throws ParamException
GetsFieldDataWrapper
for a field. ThrowsParamException
if the field doesn't exist.- Parameters:
fieldName
- field name to get output data- Returns:
FieldDataWrapper
- Throws:
ParamException
-
-