Interface QuerySegmentInfoOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    QuerySegmentInfo, QuerySegmentInfo.Builder

    public interface QuerySegmentInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      long getCollectionID()
      int64 collectionID = 2;
      long getIndexID()
      int64 indexID = 7;
      String getIndexName()
      string index_name = 6;
      com.google.protobuf.ByteString getIndexNameBytes()
      string index_name = 6;
      long getMemSize()
      int64 mem_size = 4;
      long getNodeID()
      Deprecated.
      milvus.proto.milvus.QuerySegmentInfo.nodeID is deprecated.
      long getNodeIds​(int index)
      repeated int64 nodeIds = 10;
      int getNodeIdsCount()
      repeated int64 nodeIds = 10;
      List<Long> getNodeIdsList()
      repeated int64 nodeIds = 10;
      long getNumRows()
      int64 num_rows = 5;
      long getPartitionID()
      int64 partitionID = 3;
      long getSegmentID()
      int64 segmentID = 1;
      SegmentState getState()
      .milvus.proto.common.SegmentState state = 9;
      int getStateValue()
      .milvus.proto.common.SegmentState state = 9;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getSegmentID

        long getSegmentID()
        int64 segmentID = 1;
        Returns:
        The segmentID.
      • getCollectionID

        long getCollectionID()
        int64 collectionID = 2;
        Returns:
        The collectionID.
      • getPartitionID

        long getPartitionID()
        int64 partitionID = 3;
        Returns:
        The partitionID.
      • getMemSize

        long getMemSize()
        int64 mem_size = 4;
        Returns:
        The memSize.
      • getNumRows

        long getNumRows()
        int64 num_rows = 5;
        Returns:
        The numRows.
      • getIndexName

        String getIndexName()
        string index_name = 6;
        Returns:
        The indexName.
      • getIndexNameBytes

        com.google.protobuf.ByteString getIndexNameBytes()
        string index_name = 6;
        Returns:
        The bytes for indexName.
      • getIndexID

        long getIndexID()
        int64 indexID = 7;
        Returns:
        The indexID.
      • getNodeID

        @Deprecated
        long getNodeID()
        Deprecated.
        milvus.proto.milvus.QuerySegmentInfo.nodeID is deprecated. See milvus.proto;l=1076
         deprecated, check node_ids(NodeIds) field
         
        int64 nodeID = 8 [deprecated = true];
        Returns:
        The nodeID.
      • getStateValue

        int getStateValue()
        .milvus.proto.common.SegmentState state = 9;
        Returns:
        The enum numeric value on the wire for state.
      • getState

        SegmentState getState()
        .milvus.proto.common.SegmentState state = 9;
        Returns:
        The state.
      • getNodeIdsList

        List<Long> getNodeIdsList()
        repeated int64 nodeIds = 10;
        Returns:
        A list containing the nodeIds.
      • getNodeIdsCount

        int getNodeIdsCount()
        repeated int64 nodeIds = 10;
        Returns:
        The count of nodeIds.
      • getNodeIds

        long getNodeIds​(int index)
        repeated int64 nodeIds = 10;
        Parameters:
        index - The index of the element to return.
        Returns:
        The nodeIds at the given index.