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
Constructor Description QueryResultsWrapper(@NonNull io.milvus.grpc.QueryResults results)
-
Method Summary
Modifier and Type Method Description FieldDataWrapper
getFieldWrapper(@NonNull java.lang.String fieldName)
GetsFieldDataWrapper
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
GetsFieldDataWrapper
for a field. ThrowsParamException
if the field doesn't exist.- Parameters:
fieldName
- field name to get output data- Returns:
FieldDataWrapper
- Throws:
ParamException
-
-