Skip to content

Commit a237e92

Browse files
authored
MB-65860: Added new interface for callbacks (#64)
1 parent 4104294 commit a237e92

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

segment.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ type UpdatableSegment interface {
6767
SetUpdatedFields(fieldInfo map[string]*index.UpdateFieldInfo)
6868
}
6969

70+
type SegmentWithCallbacks interface {
71+
Segment
72+
CallbackId() string
73+
}
74+
7075
type TermDictionary interface {
7176
PostingsList(term []byte, except *roaring.Bitmap, prealloc PostingsList) (PostingsList, error)
7277

0 commit comments

Comments
 (0)