public class QueryResultsWrapper extends RowRecordWrapper
query interface.| Modifier and Type | Class and Description |
|---|---|
static class |
QueryResultsWrapper.RowRecord
Internal-use class to wrap response of
query interface. |
| Constructor and Description |
|---|
QueryResultsWrapper(@NonNull io.milvus.grpc.QueryResults results) |
| Modifier and Type | Method and Description |
|---|---|
FieldDataWrapper |
getFieldWrapper(@NonNull java.lang.String fieldName)
Gets
FieldDataWrapper for a field. |
long |
getRowCount()
Gets the row count of the result.
|
java.util.List<QueryResultsWrapper.RowRecord> |
getRowRecords()
Gets row records list from query result.
|
getDynamicWrapperpublic QueryResultsWrapper(@NonNull
@NonNull io.milvus.grpc.QueryResults results)
public FieldDataWrapper getFieldWrapper(@NonNull @NonNull java.lang.String fieldName) throws ParamException
FieldDataWrapper for a field.
Throws ParamException if the field doesn't exist.fieldName - field name to get output dataFieldDataWrapperParamExceptionpublic java.util.List<QueryResultsWrapper.RowRecord> getRowRecords()
getRowRecords in class RowRecordWrapperQueryResultsWrapper.RowRecord a row records list of the query resultpublic long getRowCount()
long row count of the result