mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for hasSegment (#11251)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/11271/head
parent
3f2455d03f
commit
b028e58c8f
|
@ -87,6 +87,7 @@ type ReplicaInterface interface {
|
||||||
removeSegment(segmentID UniqueID) error
|
removeSegment(segmentID UniqueID) error
|
||||||
// getSegmentByID returns the segment which id is segmentID
|
// getSegmentByID returns the segment which id is segmentID
|
||||||
getSegmentByID(segmentID UniqueID) (*Segment, error)
|
getSegmentByID(segmentID UniqueID) (*Segment, error)
|
||||||
|
// hasSegment returns true if collectionReplica has the segment, false otherwise
|
||||||
hasSegment(segmentID UniqueID) bool
|
hasSegment(segmentID UniqueID) bool
|
||||||
getSegmentNum() int
|
getSegmentNum() int
|
||||||
getSegmentStatistics() []*internalpb.SegmentStats
|
getSegmentStatistics() []*internalpb.SegmentStats
|
||||||
|
|
Loading…
Reference in New Issue