Class QueryResults

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.milvus.grpc.QueryResults
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, QueryResultsOrBuilder, Serializable

public final class QueryResults extends com.google.protobuf.GeneratedMessageV3 implements QueryResultsOrBuilder
Protobuf type milvus.proto.milvus.QueryResults
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type milvus.proto.milvus.QueryResults

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    string collection_name = 3;
    com.google.protobuf.ByteString
    string collection_name = 3;
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    getFieldsData(int index)
    repeated .milvus.proto.schema.FieldData fields_data = 2;
    int
    repeated .milvus.proto.schema.FieldData fields_data = 2;
    repeated .milvus.proto.schema.FieldData fields_data = 2;
    repeated .milvus.proto.schema.FieldData fields_data = 2;
    repeated .milvus.proto.schema.FieldData fields_data = 2;
    getOutputFields(int index)
    repeated string output_fields = 4;
    com.google.protobuf.ByteString
    repeated string output_fields = 4;
    int
    repeated string output_fields = 4;
    com.google.protobuf.ProtocolStringList
    repeated string output_fields = 4;
    com.google.protobuf.Parser<QueryResults>
     
    string primary_field_name = 6;
    com.google.protobuf.ByteString
    string primary_field_name = 6;
    int
     
    long
    for session-like operation like iterator
    .milvus.proto.common.Status status = 1;
    .milvus.proto.common.Status status = 1;
    int
     
    boolean
    .milvus.proto.common.Status status = 1;
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<QueryResults>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • FIELDS_DATA_FIELD_NUMBER

      public static final int FIELDS_DATA_FIELD_NUMBER
      See Also:
    • COLLECTION_NAME_FIELD_NUMBER

      public static final int COLLECTION_NAME_FIELD_NUMBER
      See Also:
    • OUTPUT_FIELDS_FIELD_NUMBER

      public static final int OUTPUT_FIELDS_FIELD_NUMBER
      See Also:
    • SESSION_TS_FIELD_NUMBER

      public static final int SESSION_TS_FIELD_NUMBER
      See Also:
    • PRIMARY_FIELD_NAME_FIELD_NUMBER

      public static final int PRIMARY_FIELD_NAME_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasStatus

      public boolean hasStatus()
      .milvus.proto.common.Status status = 1;
      Specified by:
      hasStatus in interface QueryResultsOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Status getStatus()
      .milvus.proto.common.Status status = 1;
      Specified by:
      getStatus in interface QueryResultsOrBuilder
      Returns:
      The status.
    • getStatusOrBuilder

      public StatusOrBuilder getStatusOrBuilder()
      .milvus.proto.common.Status status = 1;
      Specified by:
      getStatusOrBuilder in interface QueryResultsOrBuilder
    • getFieldsDataList

      public List<FieldData> getFieldsDataList()
      repeated .milvus.proto.schema.FieldData fields_data = 2;
      Specified by:
      getFieldsDataList in interface QueryResultsOrBuilder
    • getFieldsDataOrBuilderList

      public List<? extends FieldDataOrBuilder> getFieldsDataOrBuilderList()
      repeated .milvus.proto.schema.FieldData fields_data = 2;
      Specified by:
      getFieldsDataOrBuilderList in interface QueryResultsOrBuilder
    • getFieldsDataCount

      public int getFieldsDataCount()
      repeated .milvus.proto.schema.FieldData fields_data = 2;
      Specified by:
      getFieldsDataCount in interface QueryResultsOrBuilder
    • getFieldsData

      public FieldData getFieldsData(int index)
      repeated .milvus.proto.schema.FieldData fields_data = 2;
      Specified by:
      getFieldsData in interface QueryResultsOrBuilder
    • getFieldsDataOrBuilder

      public FieldDataOrBuilder getFieldsDataOrBuilder(int index)
      repeated .milvus.proto.schema.FieldData fields_data = 2;
      Specified by:
      getFieldsDataOrBuilder in interface QueryResultsOrBuilder
    • getCollectionName

      public String getCollectionName()
      string collection_name = 3;
      Specified by:
      getCollectionName in interface QueryResultsOrBuilder
      Returns:
      The collectionName.
    • getCollectionNameBytes

      public com.google.protobuf.ByteString getCollectionNameBytes()
      string collection_name = 3;
      Specified by:
      getCollectionNameBytes in interface QueryResultsOrBuilder
      Returns:
      The bytes for collectionName.
    • getOutputFieldsList

      public com.google.protobuf.ProtocolStringList getOutputFieldsList()
      repeated string output_fields = 4;
      Specified by:
      getOutputFieldsList in interface QueryResultsOrBuilder
      Returns:
      A list containing the outputFields.
    • getOutputFieldsCount

      public int getOutputFieldsCount()
      repeated string output_fields = 4;
      Specified by:
      getOutputFieldsCount in interface QueryResultsOrBuilder
      Returns:
      The count of outputFields.
    • getOutputFields

      public String getOutputFields(int index)
      repeated string output_fields = 4;
      Specified by:
      getOutputFields in interface QueryResultsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The outputFields at the given index.
    • getOutputFieldsBytes

      public com.google.protobuf.ByteString getOutputFieldsBytes(int index)
      repeated string output_fields = 4;
      Specified by:
      getOutputFieldsBytes in interface QueryResultsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the outputFields at the given index.
    • getSessionTs

      public long getSessionTs()
       for session-like operation like iterator
       
      uint64 session_ts = 5;
      Specified by:
      getSessionTs in interface QueryResultsOrBuilder
      Returns:
      The sessionTs.
    • getPrimaryFieldName

      public String getPrimaryFieldName()
      string primary_field_name = 6;
      Specified by:
      getPrimaryFieldName in interface QueryResultsOrBuilder
      Returns:
      The primaryFieldName.
    • getPrimaryFieldNameBytes

      public com.google.protobuf.ByteString getPrimaryFieldNameBytes()
      string primary_field_name = 6;
      Specified by:
      getPrimaryFieldNameBytes in interface QueryResultsOrBuilder
      Returns:
      The bytes for primaryFieldName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static QueryResults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryResults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryResults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryResults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryResults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryResults parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryResults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QueryResults parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QueryResults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryResults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryResults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public QueryResults.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static QueryResults.Builder newBuilder()
    • newBuilder

      public static QueryResults.Builder newBuilder(QueryResults prototype)
    • toBuilder

      public QueryResults.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected QueryResults.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static QueryResults getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<QueryResults> parser()
    • getParserForType

      public com.google.protobuf.Parser<QueryResults> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public QueryResults getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder