github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/dbnode/persist/fs/fs_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/m3db/m3/src/dbnode/persist/fs (interfaces: DataFileSetWriter,DataFileSetReader,DataFileSetSeeker,IndexFileSetWriter,IndexFileSetReader,IndexSegmentFileSetWriter,IndexSegmentFileSet,IndexSegmentFile,SnapshotMetadataFileWriter,DataFileSetSeekerManager,ConcurrentDataFileSetSeeker,MergeWith,StreamingWriter)
     3  
     4  // Copyright (c) 2022 Uber Technologies, Inc.
     5  //
     6  // Permission is hereby granted, free of charge, to any person obtaining a copy
     7  // of this software and associated documentation files (the "Software"), to deal
     8  // in the Software without restriction, including without limitation the rights
     9  // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    10  // copies of the Software, and to permit persons to whom the Software is
    11  // furnished to do so, subject to the following conditions:
    12  //
    13  // The above copyright notice and this permission notice shall be included in
    14  // all copies or substantial portions of the Software.
    15  //
    16  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    17  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    18  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    19  // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    20  // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    21  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    22  // THE SOFTWARE.
    23  
    24  // Package fs is a generated GoMock package.
    25  package fs
    26  
    27  import (
    28  	"io"
    29  	"reflect"
    30  
    31  	"github.com/m3db/m3/src/dbnode/namespace"
    32  	persist "github.com/m3db/m3/src/dbnode/persist"
    33  	"github.com/m3db/m3/src/dbnode/sharding"
    34  	"github.com/m3db/m3/src/dbnode/ts"
    35  	"github.com/m3db/m3/src/dbnode/x/xio"
    36  	persist0 "github.com/m3db/m3/src/m3ninx/persist"
    37  	"github.com/m3db/m3/src/x/checked"
    38  	"github.com/m3db/m3/src/x/context"
    39  	"github.com/m3db/m3/src/x/ident"
    40  	"github.com/m3db/m3/src/x/time"
    41  
    42  	"github.com/golang/mock/gomock"
    43  )
    44  
    45  // MockDataFileSetWriter is a mock of DataFileSetWriter interface.
    46  type MockDataFileSetWriter struct {
    47  	ctrl     *gomock.Controller
    48  	recorder *MockDataFileSetWriterMockRecorder
    49  }
    50  
    51  // MockDataFileSetWriterMockRecorder is the mock recorder for MockDataFileSetWriter.
    52  type MockDataFileSetWriterMockRecorder struct {
    53  	mock *MockDataFileSetWriter
    54  }
    55  
    56  // NewMockDataFileSetWriter creates a new mock instance.
    57  func NewMockDataFileSetWriter(ctrl *gomock.Controller) *MockDataFileSetWriter {
    58  	mock := &MockDataFileSetWriter{ctrl: ctrl}
    59  	mock.recorder = &MockDataFileSetWriterMockRecorder{mock}
    60  	return mock
    61  }
    62  
    63  // EXPECT returns an object that allows the caller to indicate expected use.
    64  func (m *MockDataFileSetWriter) EXPECT() *MockDataFileSetWriterMockRecorder {
    65  	return m.recorder
    66  }
    67  
    68  // Close mocks base method.
    69  func (m *MockDataFileSetWriter) Close() error {
    70  	m.ctrl.T.Helper()
    71  	ret := m.ctrl.Call(m, "Close")
    72  	ret0, _ := ret[0].(error)
    73  	return ret0
    74  }
    75  
    76  // Close indicates an expected call of Close.
    77  func (mr *MockDataFileSetWriterMockRecorder) Close() *gomock.Call {
    78  	mr.mock.ctrl.T.Helper()
    79  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockDataFileSetWriter)(nil).Close))
    80  }
    81  
    82  // DeferClose mocks base method.
    83  func (m *MockDataFileSetWriter) DeferClose() (persist.DataCloser, error) {
    84  	m.ctrl.T.Helper()
    85  	ret := m.ctrl.Call(m, "DeferClose")
    86  	ret0, _ := ret[0].(persist.DataCloser)
    87  	ret1, _ := ret[1].(error)
    88  	return ret0, ret1
    89  }
    90  
    91  // DeferClose indicates an expected call of DeferClose.
    92  func (mr *MockDataFileSetWriterMockRecorder) DeferClose() *gomock.Call {
    93  	mr.mock.ctrl.T.Helper()
    94  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeferClose", reflect.TypeOf((*MockDataFileSetWriter)(nil).DeferClose))
    95  }
    96  
    97  // Open mocks base method.
    98  func (m *MockDataFileSetWriter) Open(arg0 DataWriterOpenOptions) error {
    99  	m.ctrl.T.Helper()
   100  	ret := m.ctrl.Call(m, "Open", arg0)
   101  	ret0, _ := ret[0].(error)
   102  	return ret0
   103  }
   104  
   105  // Open indicates an expected call of Open.
   106  func (mr *MockDataFileSetWriterMockRecorder) Open(arg0 interface{}) *gomock.Call {
   107  	mr.mock.ctrl.T.Helper()
   108  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockDataFileSetWriter)(nil).Open), arg0)
   109  }
   110  
   111  // Write mocks base method.
   112  func (m *MockDataFileSetWriter) Write(arg0 persist.Metadata, arg1 checked.Bytes, arg2 uint32) error {
   113  	m.ctrl.T.Helper()
   114  	ret := m.ctrl.Call(m, "Write", arg0, arg1, arg2)
   115  	ret0, _ := ret[0].(error)
   116  	return ret0
   117  }
   118  
   119  // Write indicates an expected call of Write.
   120  func (mr *MockDataFileSetWriterMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call {
   121  	mr.mock.ctrl.T.Helper()
   122  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockDataFileSetWriter)(nil).Write), arg0, arg1, arg2)
   123  }
   124  
   125  // WriteAll mocks base method.
   126  func (m *MockDataFileSetWriter) WriteAll(arg0 persist.Metadata, arg1 []checked.Bytes, arg2 uint32) error {
   127  	m.ctrl.T.Helper()
   128  	ret := m.ctrl.Call(m, "WriteAll", arg0, arg1, arg2)
   129  	ret0, _ := ret[0].(error)
   130  	return ret0
   131  }
   132  
   133  // WriteAll indicates an expected call of WriteAll.
   134  func (mr *MockDataFileSetWriterMockRecorder) WriteAll(arg0, arg1, arg2 interface{}) *gomock.Call {
   135  	mr.mock.ctrl.T.Helper()
   136  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteAll", reflect.TypeOf((*MockDataFileSetWriter)(nil).WriteAll), arg0, arg1, arg2)
   137  }
   138  
   139  // MockDataFileSetReader is a mock of DataFileSetReader interface.
   140  type MockDataFileSetReader struct {
   141  	ctrl     *gomock.Controller
   142  	recorder *MockDataFileSetReaderMockRecorder
   143  }
   144  
   145  // MockDataFileSetReaderMockRecorder is the mock recorder for MockDataFileSetReader.
   146  type MockDataFileSetReaderMockRecorder struct {
   147  	mock *MockDataFileSetReader
   148  }
   149  
   150  // NewMockDataFileSetReader creates a new mock instance.
   151  func NewMockDataFileSetReader(ctrl *gomock.Controller) *MockDataFileSetReader {
   152  	mock := &MockDataFileSetReader{ctrl: ctrl}
   153  	mock.recorder = &MockDataFileSetReaderMockRecorder{mock}
   154  	return mock
   155  }
   156  
   157  // EXPECT returns an object that allows the caller to indicate expected use.
   158  func (m *MockDataFileSetReader) EXPECT() *MockDataFileSetReaderMockRecorder {
   159  	return m.recorder
   160  }
   161  
   162  // Close mocks base method.
   163  func (m *MockDataFileSetReader) Close() error {
   164  	m.ctrl.T.Helper()
   165  	ret := m.ctrl.Call(m, "Close")
   166  	ret0, _ := ret[0].(error)
   167  	return ret0
   168  }
   169  
   170  // Close indicates an expected call of Close.
   171  func (mr *MockDataFileSetReaderMockRecorder) Close() *gomock.Call {
   172  	mr.mock.ctrl.T.Helper()
   173  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockDataFileSetReader)(nil).Close))
   174  }
   175  
   176  // Entries mocks base method.
   177  func (m *MockDataFileSetReader) Entries() int {
   178  	m.ctrl.T.Helper()
   179  	ret := m.ctrl.Call(m, "Entries")
   180  	ret0, _ := ret[0].(int)
   181  	return ret0
   182  }
   183  
   184  // Entries indicates an expected call of Entries.
   185  func (mr *MockDataFileSetReaderMockRecorder) Entries() *gomock.Call {
   186  	mr.mock.ctrl.T.Helper()
   187  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Entries", reflect.TypeOf((*MockDataFileSetReader)(nil).Entries))
   188  }
   189  
   190  // EntriesRead mocks base method.
   191  func (m *MockDataFileSetReader) EntriesRead() int {
   192  	m.ctrl.T.Helper()
   193  	ret := m.ctrl.Call(m, "EntriesRead")
   194  	ret0, _ := ret[0].(int)
   195  	return ret0
   196  }
   197  
   198  // EntriesRead indicates an expected call of EntriesRead.
   199  func (mr *MockDataFileSetReaderMockRecorder) EntriesRead() *gomock.Call {
   200  	mr.mock.ctrl.T.Helper()
   201  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EntriesRead", reflect.TypeOf((*MockDataFileSetReader)(nil).EntriesRead))
   202  }
   203  
   204  // MetadataRead mocks base method.
   205  func (m *MockDataFileSetReader) MetadataRead() int {
   206  	m.ctrl.T.Helper()
   207  	ret := m.ctrl.Call(m, "MetadataRead")
   208  	ret0, _ := ret[0].(int)
   209  	return ret0
   210  }
   211  
   212  // MetadataRead indicates an expected call of MetadataRead.
   213  func (mr *MockDataFileSetReaderMockRecorder) MetadataRead() *gomock.Call {
   214  	mr.mock.ctrl.T.Helper()
   215  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MetadataRead", reflect.TypeOf((*MockDataFileSetReader)(nil).MetadataRead))
   216  }
   217  
   218  // Open mocks base method.
   219  func (m *MockDataFileSetReader) Open(arg0 DataReaderOpenOptions) error {
   220  	m.ctrl.T.Helper()
   221  	ret := m.ctrl.Call(m, "Open", arg0)
   222  	ret0, _ := ret[0].(error)
   223  	return ret0
   224  }
   225  
   226  // Open indicates an expected call of Open.
   227  func (mr *MockDataFileSetReaderMockRecorder) Open(arg0 interface{}) *gomock.Call {
   228  	mr.mock.ctrl.T.Helper()
   229  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockDataFileSetReader)(nil).Open), arg0)
   230  }
   231  
   232  // Range mocks base method.
   233  func (m *MockDataFileSetReader) Range() time.Range {
   234  	m.ctrl.T.Helper()
   235  	ret := m.ctrl.Call(m, "Range")
   236  	ret0, _ := ret[0].(time.Range)
   237  	return ret0
   238  }
   239  
   240  // Range indicates an expected call of Range.
   241  func (mr *MockDataFileSetReaderMockRecorder) Range() *gomock.Call {
   242  	mr.mock.ctrl.T.Helper()
   243  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Range", reflect.TypeOf((*MockDataFileSetReader)(nil).Range))
   244  }
   245  
   246  // Read mocks base method.
   247  func (m *MockDataFileSetReader) Read() (ident.ID, ident.TagIterator, checked.Bytes, uint32, error) {
   248  	m.ctrl.T.Helper()
   249  	ret := m.ctrl.Call(m, "Read")
   250  	ret0, _ := ret[0].(ident.ID)
   251  	ret1, _ := ret[1].(ident.TagIterator)
   252  	ret2, _ := ret[2].(checked.Bytes)
   253  	ret3, _ := ret[3].(uint32)
   254  	ret4, _ := ret[4].(error)
   255  	return ret0, ret1, ret2, ret3, ret4
   256  }
   257  
   258  // Read indicates an expected call of Read.
   259  func (mr *MockDataFileSetReaderMockRecorder) Read() *gomock.Call {
   260  	mr.mock.ctrl.T.Helper()
   261  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Read", reflect.TypeOf((*MockDataFileSetReader)(nil).Read))
   262  }
   263  
   264  // ReadBloomFilter mocks base method.
   265  func (m *MockDataFileSetReader) ReadBloomFilter() (*ManagedConcurrentBloomFilter, error) {
   266  	m.ctrl.T.Helper()
   267  	ret := m.ctrl.Call(m, "ReadBloomFilter")
   268  	ret0, _ := ret[0].(*ManagedConcurrentBloomFilter)
   269  	ret1, _ := ret[1].(error)
   270  	return ret0, ret1
   271  }
   272  
   273  // ReadBloomFilter indicates an expected call of ReadBloomFilter.
   274  func (mr *MockDataFileSetReaderMockRecorder) ReadBloomFilter() *gomock.Call {
   275  	mr.mock.ctrl.T.Helper()
   276  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadBloomFilter", reflect.TypeOf((*MockDataFileSetReader)(nil).ReadBloomFilter))
   277  }
   278  
   279  // ReadMetadata mocks base method.
   280  func (m *MockDataFileSetReader) ReadMetadata() (ident.ID, ident.TagIterator, int, uint32, error) {
   281  	m.ctrl.T.Helper()
   282  	ret := m.ctrl.Call(m, "ReadMetadata")
   283  	ret0, _ := ret[0].(ident.ID)
   284  	ret1, _ := ret[1].(ident.TagIterator)
   285  	ret2, _ := ret[2].(int)
   286  	ret3, _ := ret[3].(uint32)
   287  	ret4, _ := ret[4].(error)
   288  	return ret0, ret1, ret2, ret3, ret4
   289  }
   290  
   291  // ReadMetadata indicates an expected call of ReadMetadata.
   292  func (mr *MockDataFileSetReaderMockRecorder) ReadMetadata() *gomock.Call {
   293  	mr.mock.ctrl.T.Helper()
   294  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadMetadata", reflect.TypeOf((*MockDataFileSetReader)(nil).ReadMetadata))
   295  }
   296  
   297  // Status mocks base method.
   298  func (m *MockDataFileSetReader) Status() DataFileSetReaderStatus {
   299  	m.ctrl.T.Helper()
   300  	ret := m.ctrl.Call(m, "Status")
   301  	ret0, _ := ret[0].(DataFileSetReaderStatus)
   302  	return ret0
   303  }
   304  
   305  // Status indicates an expected call of Status.
   306  func (mr *MockDataFileSetReaderMockRecorder) Status() *gomock.Call {
   307  	mr.mock.ctrl.T.Helper()
   308  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Status", reflect.TypeOf((*MockDataFileSetReader)(nil).Status))
   309  }
   310  
   311  // StreamingEnabled mocks base method.
   312  func (m *MockDataFileSetReader) StreamingEnabled() bool {
   313  	m.ctrl.T.Helper()
   314  	ret := m.ctrl.Call(m, "StreamingEnabled")
   315  	ret0, _ := ret[0].(bool)
   316  	return ret0
   317  }
   318  
   319  // StreamingEnabled indicates an expected call of StreamingEnabled.
   320  func (mr *MockDataFileSetReaderMockRecorder) StreamingEnabled() *gomock.Call {
   321  	mr.mock.ctrl.T.Helper()
   322  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamingEnabled", reflect.TypeOf((*MockDataFileSetReader)(nil).StreamingEnabled))
   323  }
   324  
   325  // StreamingRead mocks base method.
   326  func (m *MockDataFileSetReader) StreamingRead() (StreamedDataEntry, error) {
   327  	m.ctrl.T.Helper()
   328  	ret := m.ctrl.Call(m, "StreamingRead")
   329  	ret0, _ := ret[0].(StreamedDataEntry)
   330  	ret1, _ := ret[1].(error)
   331  	return ret0, ret1
   332  }
   333  
   334  // StreamingRead indicates an expected call of StreamingRead.
   335  func (mr *MockDataFileSetReaderMockRecorder) StreamingRead() *gomock.Call {
   336  	mr.mock.ctrl.T.Helper()
   337  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamingRead", reflect.TypeOf((*MockDataFileSetReader)(nil).StreamingRead))
   338  }
   339  
   340  // StreamingReadMetadata mocks base method.
   341  func (m *MockDataFileSetReader) StreamingReadMetadata() (StreamedMetadataEntry, error) {
   342  	m.ctrl.T.Helper()
   343  	ret := m.ctrl.Call(m, "StreamingReadMetadata")
   344  	ret0, _ := ret[0].(StreamedMetadataEntry)
   345  	ret1, _ := ret[1].(error)
   346  	return ret0, ret1
   347  }
   348  
   349  // StreamingReadMetadata indicates an expected call of StreamingReadMetadata.
   350  func (mr *MockDataFileSetReaderMockRecorder) StreamingReadMetadata() *gomock.Call {
   351  	mr.mock.ctrl.T.Helper()
   352  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamingReadMetadata", reflect.TypeOf((*MockDataFileSetReader)(nil).StreamingReadMetadata))
   353  }
   354  
   355  // Validate mocks base method.
   356  func (m *MockDataFileSetReader) Validate() error {
   357  	m.ctrl.T.Helper()
   358  	ret := m.ctrl.Call(m, "Validate")
   359  	ret0, _ := ret[0].(error)
   360  	return ret0
   361  }
   362  
   363  // Validate indicates an expected call of Validate.
   364  func (mr *MockDataFileSetReaderMockRecorder) Validate() *gomock.Call {
   365  	mr.mock.ctrl.T.Helper()
   366  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Validate", reflect.TypeOf((*MockDataFileSetReader)(nil).Validate))
   367  }
   368  
   369  // ValidateData mocks base method.
   370  func (m *MockDataFileSetReader) ValidateData() error {
   371  	m.ctrl.T.Helper()
   372  	ret := m.ctrl.Call(m, "ValidateData")
   373  	ret0, _ := ret[0].(error)
   374  	return ret0
   375  }
   376  
   377  // ValidateData indicates an expected call of ValidateData.
   378  func (mr *MockDataFileSetReaderMockRecorder) ValidateData() *gomock.Call {
   379  	mr.mock.ctrl.T.Helper()
   380  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateData", reflect.TypeOf((*MockDataFileSetReader)(nil).ValidateData))
   381  }
   382  
   383  // ValidateMetadata mocks base method.
   384  func (m *MockDataFileSetReader) ValidateMetadata() error {
   385  	m.ctrl.T.Helper()
   386  	ret := m.ctrl.Call(m, "ValidateMetadata")
   387  	ret0, _ := ret[0].(error)
   388  	return ret0
   389  }
   390  
   391  // ValidateMetadata indicates an expected call of ValidateMetadata.
   392  func (mr *MockDataFileSetReaderMockRecorder) ValidateMetadata() *gomock.Call {
   393  	mr.mock.ctrl.T.Helper()
   394  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateMetadata", reflect.TypeOf((*MockDataFileSetReader)(nil).ValidateMetadata))
   395  }
   396  
   397  // MockDataFileSetSeeker is a mock of DataFileSetSeeker interface.
   398  type MockDataFileSetSeeker struct {
   399  	ctrl     *gomock.Controller
   400  	recorder *MockDataFileSetSeekerMockRecorder
   401  }
   402  
   403  // MockDataFileSetSeekerMockRecorder is the mock recorder for MockDataFileSetSeeker.
   404  type MockDataFileSetSeekerMockRecorder struct {
   405  	mock *MockDataFileSetSeeker
   406  }
   407  
   408  // NewMockDataFileSetSeeker creates a new mock instance.
   409  func NewMockDataFileSetSeeker(ctrl *gomock.Controller) *MockDataFileSetSeeker {
   410  	mock := &MockDataFileSetSeeker{ctrl: ctrl}
   411  	mock.recorder = &MockDataFileSetSeekerMockRecorder{mock}
   412  	return mock
   413  }
   414  
   415  // EXPECT returns an object that allows the caller to indicate expected use.
   416  func (m *MockDataFileSetSeeker) EXPECT() *MockDataFileSetSeekerMockRecorder {
   417  	return m.recorder
   418  }
   419  
   420  // Close mocks base method.
   421  func (m *MockDataFileSetSeeker) Close() error {
   422  	m.ctrl.T.Helper()
   423  	ret := m.ctrl.Call(m, "Close")
   424  	ret0, _ := ret[0].(error)
   425  	return ret0
   426  }
   427  
   428  // Close indicates an expected call of Close.
   429  func (mr *MockDataFileSetSeekerMockRecorder) Close() *gomock.Call {
   430  	mr.mock.ctrl.T.Helper()
   431  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockDataFileSetSeeker)(nil).Close))
   432  }
   433  
   434  // ConcurrentClone mocks base method.
   435  func (m *MockDataFileSetSeeker) ConcurrentClone() (ConcurrentDataFileSetSeeker, error) {
   436  	m.ctrl.T.Helper()
   437  	ret := m.ctrl.Call(m, "ConcurrentClone")
   438  	ret0, _ := ret[0].(ConcurrentDataFileSetSeeker)
   439  	ret1, _ := ret[1].(error)
   440  	return ret0, ret1
   441  }
   442  
   443  // ConcurrentClone indicates an expected call of ConcurrentClone.
   444  func (mr *MockDataFileSetSeekerMockRecorder) ConcurrentClone() *gomock.Call {
   445  	mr.mock.ctrl.T.Helper()
   446  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConcurrentClone", reflect.TypeOf((*MockDataFileSetSeeker)(nil).ConcurrentClone))
   447  }
   448  
   449  // ConcurrentIDBloomFilter mocks base method.
   450  func (m *MockDataFileSetSeeker) ConcurrentIDBloomFilter() *ManagedConcurrentBloomFilter {
   451  	m.ctrl.T.Helper()
   452  	ret := m.ctrl.Call(m, "ConcurrentIDBloomFilter")
   453  	ret0, _ := ret[0].(*ManagedConcurrentBloomFilter)
   454  	return ret0
   455  }
   456  
   457  // ConcurrentIDBloomFilter indicates an expected call of ConcurrentIDBloomFilter.
   458  func (mr *MockDataFileSetSeekerMockRecorder) ConcurrentIDBloomFilter() *gomock.Call {
   459  	mr.mock.ctrl.T.Helper()
   460  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConcurrentIDBloomFilter", reflect.TypeOf((*MockDataFileSetSeeker)(nil).ConcurrentIDBloomFilter))
   461  }
   462  
   463  // Open mocks base method.
   464  func (m *MockDataFileSetSeeker) Open(arg0 ident.ID, arg1 uint32, arg2 time.UnixNano, arg3 int, arg4 ReusableSeekerResources) error {
   465  	m.ctrl.T.Helper()
   466  	ret := m.ctrl.Call(m, "Open", arg0, arg1, arg2, arg3, arg4)
   467  	ret0, _ := ret[0].(error)
   468  	return ret0
   469  }
   470  
   471  // Open indicates an expected call of Open.
   472  func (mr *MockDataFileSetSeekerMockRecorder) Open(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
   473  	mr.mock.ctrl.T.Helper()
   474  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockDataFileSetSeeker)(nil).Open), arg0, arg1, arg2, arg3, arg4)
   475  }
   476  
   477  // Range mocks base method.
   478  func (m *MockDataFileSetSeeker) Range() time.Range {
   479  	m.ctrl.T.Helper()
   480  	ret := m.ctrl.Call(m, "Range")
   481  	ret0, _ := ret[0].(time.Range)
   482  	return ret0
   483  }
   484  
   485  // Range indicates an expected call of Range.
   486  func (mr *MockDataFileSetSeekerMockRecorder) Range() *gomock.Call {
   487  	mr.mock.ctrl.T.Helper()
   488  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Range", reflect.TypeOf((*MockDataFileSetSeeker)(nil).Range))
   489  }
   490  
   491  // SeekByID mocks base method.
   492  func (m *MockDataFileSetSeeker) SeekByID(arg0 ident.ID, arg1 ReusableSeekerResources) (checked.Bytes, error) {
   493  	m.ctrl.T.Helper()
   494  	ret := m.ctrl.Call(m, "SeekByID", arg0, arg1)
   495  	ret0, _ := ret[0].(checked.Bytes)
   496  	ret1, _ := ret[1].(error)
   497  	return ret0, ret1
   498  }
   499  
   500  // SeekByID indicates an expected call of SeekByID.
   501  func (mr *MockDataFileSetSeekerMockRecorder) SeekByID(arg0, arg1 interface{}) *gomock.Call {
   502  	mr.mock.ctrl.T.Helper()
   503  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeekByID", reflect.TypeOf((*MockDataFileSetSeeker)(nil).SeekByID), arg0, arg1)
   504  }
   505  
   506  // SeekByIndexEntry mocks base method.
   507  func (m *MockDataFileSetSeeker) SeekByIndexEntry(arg0 IndexEntry, arg1 ReusableSeekerResources) (checked.Bytes, error) {
   508  	m.ctrl.T.Helper()
   509  	ret := m.ctrl.Call(m, "SeekByIndexEntry", arg0, arg1)
   510  	ret0, _ := ret[0].(checked.Bytes)
   511  	ret1, _ := ret[1].(error)
   512  	return ret0, ret1
   513  }
   514  
   515  // SeekByIndexEntry indicates an expected call of SeekByIndexEntry.
   516  func (mr *MockDataFileSetSeekerMockRecorder) SeekByIndexEntry(arg0, arg1 interface{}) *gomock.Call {
   517  	mr.mock.ctrl.T.Helper()
   518  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeekByIndexEntry", reflect.TypeOf((*MockDataFileSetSeeker)(nil).SeekByIndexEntry), arg0, arg1)
   519  }
   520  
   521  // SeekIndexEntry mocks base method.
   522  func (m *MockDataFileSetSeeker) SeekIndexEntry(arg0 ident.ID, arg1 ReusableSeekerResources) (IndexEntry, error) {
   523  	m.ctrl.T.Helper()
   524  	ret := m.ctrl.Call(m, "SeekIndexEntry", arg0, arg1)
   525  	ret0, _ := ret[0].(IndexEntry)
   526  	ret1, _ := ret[1].(error)
   527  	return ret0, ret1
   528  }
   529  
   530  // SeekIndexEntry indicates an expected call of SeekIndexEntry.
   531  func (mr *MockDataFileSetSeekerMockRecorder) SeekIndexEntry(arg0, arg1 interface{}) *gomock.Call {
   532  	mr.mock.ctrl.T.Helper()
   533  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeekIndexEntry", reflect.TypeOf((*MockDataFileSetSeeker)(nil).SeekIndexEntry), arg0, arg1)
   534  }
   535  
   536  // MockIndexFileSetWriter is a mock of IndexFileSetWriter interface.
   537  type MockIndexFileSetWriter struct {
   538  	ctrl     *gomock.Controller
   539  	recorder *MockIndexFileSetWriterMockRecorder
   540  }
   541  
   542  // MockIndexFileSetWriterMockRecorder is the mock recorder for MockIndexFileSetWriter.
   543  type MockIndexFileSetWriterMockRecorder struct {
   544  	mock *MockIndexFileSetWriter
   545  }
   546  
   547  // NewMockIndexFileSetWriter creates a new mock instance.
   548  func NewMockIndexFileSetWriter(ctrl *gomock.Controller) *MockIndexFileSetWriter {
   549  	mock := &MockIndexFileSetWriter{ctrl: ctrl}
   550  	mock.recorder = &MockIndexFileSetWriterMockRecorder{mock}
   551  	return mock
   552  }
   553  
   554  // EXPECT returns an object that allows the caller to indicate expected use.
   555  func (m *MockIndexFileSetWriter) EXPECT() *MockIndexFileSetWriterMockRecorder {
   556  	return m.recorder
   557  }
   558  
   559  // Close mocks base method.
   560  func (m *MockIndexFileSetWriter) Close() error {
   561  	m.ctrl.T.Helper()
   562  	ret := m.ctrl.Call(m, "Close")
   563  	ret0, _ := ret[0].(error)
   564  	return ret0
   565  }
   566  
   567  // Close indicates an expected call of Close.
   568  func (mr *MockIndexFileSetWriterMockRecorder) Close() *gomock.Call {
   569  	mr.mock.ctrl.T.Helper()
   570  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockIndexFileSetWriter)(nil).Close))
   571  }
   572  
   573  // Open mocks base method.
   574  func (m *MockIndexFileSetWriter) Open(arg0 IndexWriterOpenOptions) error {
   575  	m.ctrl.T.Helper()
   576  	ret := m.ctrl.Call(m, "Open", arg0)
   577  	ret0, _ := ret[0].(error)
   578  	return ret0
   579  }
   580  
   581  // Open indicates an expected call of Open.
   582  func (mr *MockIndexFileSetWriterMockRecorder) Open(arg0 interface{}) *gomock.Call {
   583  	mr.mock.ctrl.T.Helper()
   584  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockIndexFileSetWriter)(nil).Open), arg0)
   585  }
   586  
   587  // WriteSegmentFileSet mocks base method.
   588  func (m *MockIndexFileSetWriter) WriteSegmentFileSet(arg0 persist0.IndexSegmentFileSetWriter) error {
   589  	m.ctrl.T.Helper()
   590  	ret := m.ctrl.Call(m, "WriteSegmentFileSet", arg0)
   591  	ret0, _ := ret[0].(error)
   592  	return ret0
   593  }
   594  
   595  // WriteSegmentFileSet indicates an expected call of WriteSegmentFileSet.
   596  func (mr *MockIndexFileSetWriterMockRecorder) WriteSegmentFileSet(arg0 interface{}) *gomock.Call {
   597  	mr.mock.ctrl.T.Helper()
   598  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteSegmentFileSet", reflect.TypeOf((*MockIndexFileSetWriter)(nil).WriteSegmentFileSet), arg0)
   599  }
   600  
   601  // MockIndexFileSetReader is a mock of IndexFileSetReader interface.
   602  type MockIndexFileSetReader struct {
   603  	ctrl     *gomock.Controller
   604  	recorder *MockIndexFileSetReaderMockRecorder
   605  }
   606  
   607  // MockIndexFileSetReaderMockRecorder is the mock recorder for MockIndexFileSetReader.
   608  type MockIndexFileSetReaderMockRecorder struct {
   609  	mock *MockIndexFileSetReader
   610  }
   611  
   612  // NewMockIndexFileSetReader creates a new mock instance.
   613  func NewMockIndexFileSetReader(ctrl *gomock.Controller) *MockIndexFileSetReader {
   614  	mock := &MockIndexFileSetReader{ctrl: ctrl}
   615  	mock.recorder = &MockIndexFileSetReaderMockRecorder{mock}
   616  	return mock
   617  }
   618  
   619  // EXPECT returns an object that allows the caller to indicate expected use.
   620  func (m *MockIndexFileSetReader) EXPECT() *MockIndexFileSetReaderMockRecorder {
   621  	return m.recorder
   622  }
   623  
   624  // Close mocks base method.
   625  func (m *MockIndexFileSetReader) Close() error {
   626  	m.ctrl.T.Helper()
   627  	ret := m.ctrl.Call(m, "Close")
   628  	ret0, _ := ret[0].(error)
   629  	return ret0
   630  }
   631  
   632  // Close indicates an expected call of Close.
   633  func (mr *MockIndexFileSetReaderMockRecorder) Close() *gomock.Call {
   634  	mr.mock.ctrl.T.Helper()
   635  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockIndexFileSetReader)(nil).Close))
   636  }
   637  
   638  // IndexVolumeType mocks base method.
   639  func (m *MockIndexFileSetReader) IndexVolumeType() persist0.IndexVolumeType {
   640  	m.ctrl.T.Helper()
   641  	ret := m.ctrl.Call(m, "IndexVolumeType")
   642  	ret0, _ := ret[0].(persist0.IndexVolumeType)
   643  	return ret0
   644  }
   645  
   646  // IndexVolumeType indicates an expected call of IndexVolumeType.
   647  func (mr *MockIndexFileSetReaderMockRecorder) IndexVolumeType() *gomock.Call {
   648  	mr.mock.ctrl.T.Helper()
   649  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IndexVolumeType", reflect.TypeOf((*MockIndexFileSetReader)(nil).IndexVolumeType))
   650  }
   651  
   652  // Open mocks base method.
   653  func (m *MockIndexFileSetReader) Open(arg0 IndexReaderOpenOptions) (IndexReaderOpenResult, error) {
   654  	m.ctrl.T.Helper()
   655  	ret := m.ctrl.Call(m, "Open", arg0)
   656  	ret0, _ := ret[0].(IndexReaderOpenResult)
   657  	ret1, _ := ret[1].(error)
   658  	return ret0, ret1
   659  }
   660  
   661  // Open indicates an expected call of Open.
   662  func (mr *MockIndexFileSetReaderMockRecorder) Open(arg0 interface{}) *gomock.Call {
   663  	mr.mock.ctrl.T.Helper()
   664  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockIndexFileSetReader)(nil).Open), arg0)
   665  }
   666  
   667  // ReadSegmentFileSet mocks base method.
   668  func (m *MockIndexFileSetReader) ReadSegmentFileSet() (persist0.IndexSegmentFileSet, error) {
   669  	m.ctrl.T.Helper()
   670  	ret := m.ctrl.Call(m, "ReadSegmentFileSet")
   671  	ret0, _ := ret[0].(persist0.IndexSegmentFileSet)
   672  	ret1, _ := ret[1].(error)
   673  	return ret0, ret1
   674  }
   675  
   676  // ReadSegmentFileSet indicates an expected call of ReadSegmentFileSet.
   677  func (mr *MockIndexFileSetReaderMockRecorder) ReadSegmentFileSet() *gomock.Call {
   678  	mr.mock.ctrl.T.Helper()
   679  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadSegmentFileSet", reflect.TypeOf((*MockIndexFileSetReader)(nil).ReadSegmentFileSet))
   680  }
   681  
   682  // SegmentFileSets mocks base method.
   683  func (m *MockIndexFileSetReader) SegmentFileSets() int {
   684  	m.ctrl.T.Helper()
   685  	ret := m.ctrl.Call(m, "SegmentFileSets")
   686  	ret0, _ := ret[0].(int)
   687  	return ret0
   688  }
   689  
   690  // SegmentFileSets indicates an expected call of SegmentFileSets.
   691  func (mr *MockIndexFileSetReaderMockRecorder) SegmentFileSets() *gomock.Call {
   692  	mr.mock.ctrl.T.Helper()
   693  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SegmentFileSets", reflect.TypeOf((*MockIndexFileSetReader)(nil).SegmentFileSets))
   694  }
   695  
   696  // Validate mocks base method.
   697  func (m *MockIndexFileSetReader) Validate() error {
   698  	m.ctrl.T.Helper()
   699  	ret := m.ctrl.Call(m, "Validate")
   700  	ret0, _ := ret[0].(error)
   701  	return ret0
   702  }
   703  
   704  // Validate indicates an expected call of Validate.
   705  func (mr *MockIndexFileSetReaderMockRecorder) Validate() *gomock.Call {
   706  	mr.mock.ctrl.T.Helper()
   707  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Validate", reflect.TypeOf((*MockIndexFileSetReader)(nil).Validate))
   708  }
   709  
   710  // MockIndexSegmentFileSetWriter is a mock of IndexSegmentFileSetWriter interface.
   711  type MockIndexSegmentFileSetWriter struct {
   712  	ctrl     *gomock.Controller
   713  	recorder *MockIndexSegmentFileSetWriterMockRecorder
   714  }
   715  
   716  // MockIndexSegmentFileSetWriterMockRecorder is the mock recorder for MockIndexSegmentFileSetWriter.
   717  type MockIndexSegmentFileSetWriterMockRecorder struct {
   718  	mock *MockIndexSegmentFileSetWriter
   719  }
   720  
   721  // NewMockIndexSegmentFileSetWriter creates a new mock instance.
   722  func NewMockIndexSegmentFileSetWriter(ctrl *gomock.Controller) *MockIndexSegmentFileSetWriter {
   723  	mock := &MockIndexSegmentFileSetWriter{ctrl: ctrl}
   724  	mock.recorder = &MockIndexSegmentFileSetWriterMockRecorder{mock}
   725  	return mock
   726  }
   727  
   728  // EXPECT returns an object that allows the caller to indicate expected use.
   729  func (m *MockIndexSegmentFileSetWriter) EXPECT() *MockIndexSegmentFileSetWriterMockRecorder {
   730  	return m.recorder
   731  }
   732  
   733  // Files mocks base method.
   734  func (m *MockIndexSegmentFileSetWriter) Files() []persist0.IndexSegmentFileType {
   735  	m.ctrl.T.Helper()
   736  	ret := m.ctrl.Call(m, "Files")
   737  	ret0, _ := ret[0].([]persist0.IndexSegmentFileType)
   738  	return ret0
   739  }
   740  
   741  // Files indicates an expected call of Files.
   742  func (mr *MockIndexSegmentFileSetWriterMockRecorder) Files() *gomock.Call {
   743  	mr.mock.ctrl.T.Helper()
   744  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Files", reflect.TypeOf((*MockIndexSegmentFileSetWriter)(nil).Files))
   745  }
   746  
   747  // MajorVersion mocks base method.
   748  func (m *MockIndexSegmentFileSetWriter) MajorVersion() int {
   749  	m.ctrl.T.Helper()
   750  	ret := m.ctrl.Call(m, "MajorVersion")
   751  	ret0, _ := ret[0].(int)
   752  	return ret0
   753  }
   754  
   755  // MajorVersion indicates an expected call of MajorVersion.
   756  func (mr *MockIndexSegmentFileSetWriterMockRecorder) MajorVersion() *gomock.Call {
   757  	mr.mock.ctrl.T.Helper()
   758  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MajorVersion", reflect.TypeOf((*MockIndexSegmentFileSetWriter)(nil).MajorVersion))
   759  }
   760  
   761  // MinorVersion mocks base method.
   762  func (m *MockIndexSegmentFileSetWriter) MinorVersion() int {
   763  	m.ctrl.T.Helper()
   764  	ret := m.ctrl.Call(m, "MinorVersion")
   765  	ret0, _ := ret[0].(int)
   766  	return ret0
   767  }
   768  
   769  // MinorVersion indicates an expected call of MinorVersion.
   770  func (mr *MockIndexSegmentFileSetWriterMockRecorder) MinorVersion() *gomock.Call {
   771  	mr.mock.ctrl.T.Helper()
   772  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinorVersion", reflect.TypeOf((*MockIndexSegmentFileSetWriter)(nil).MinorVersion))
   773  }
   774  
   775  // SegmentMetadata mocks base method.
   776  func (m *MockIndexSegmentFileSetWriter) SegmentMetadata() []byte {
   777  	m.ctrl.T.Helper()
   778  	ret := m.ctrl.Call(m, "SegmentMetadata")
   779  	ret0, _ := ret[0].([]byte)
   780  	return ret0
   781  }
   782  
   783  // SegmentMetadata indicates an expected call of SegmentMetadata.
   784  func (mr *MockIndexSegmentFileSetWriterMockRecorder) SegmentMetadata() *gomock.Call {
   785  	mr.mock.ctrl.T.Helper()
   786  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SegmentMetadata", reflect.TypeOf((*MockIndexSegmentFileSetWriter)(nil).SegmentMetadata))
   787  }
   788  
   789  // SegmentType mocks base method.
   790  func (m *MockIndexSegmentFileSetWriter) SegmentType() persist0.IndexSegmentType {
   791  	m.ctrl.T.Helper()
   792  	ret := m.ctrl.Call(m, "SegmentType")
   793  	ret0, _ := ret[0].(persist0.IndexSegmentType)
   794  	return ret0
   795  }
   796  
   797  // SegmentType indicates an expected call of SegmentType.
   798  func (mr *MockIndexSegmentFileSetWriterMockRecorder) SegmentType() *gomock.Call {
   799  	mr.mock.ctrl.T.Helper()
   800  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SegmentType", reflect.TypeOf((*MockIndexSegmentFileSetWriter)(nil).SegmentType))
   801  }
   802  
   803  // WriteFile mocks base method.
   804  func (m *MockIndexSegmentFileSetWriter) WriteFile(arg0 persist0.IndexSegmentFileType, arg1 io.Writer) error {
   805  	m.ctrl.T.Helper()
   806  	ret := m.ctrl.Call(m, "WriteFile", arg0, arg1)
   807  	ret0, _ := ret[0].(error)
   808  	return ret0
   809  }
   810  
   811  // WriteFile indicates an expected call of WriteFile.
   812  func (mr *MockIndexSegmentFileSetWriterMockRecorder) WriteFile(arg0, arg1 interface{}) *gomock.Call {
   813  	mr.mock.ctrl.T.Helper()
   814  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteFile", reflect.TypeOf((*MockIndexSegmentFileSetWriter)(nil).WriteFile), arg0, arg1)
   815  }
   816  
   817  // MockIndexSegmentFileSet is a mock of IndexSegmentFileSet interface.
   818  type MockIndexSegmentFileSet struct {
   819  	ctrl     *gomock.Controller
   820  	recorder *MockIndexSegmentFileSetMockRecorder
   821  }
   822  
   823  // MockIndexSegmentFileSetMockRecorder is the mock recorder for MockIndexSegmentFileSet.
   824  type MockIndexSegmentFileSetMockRecorder struct {
   825  	mock *MockIndexSegmentFileSet
   826  }
   827  
   828  // NewMockIndexSegmentFileSet creates a new mock instance.
   829  func NewMockIndexSegmentFileSet(ctrl *gomock.Controller) *MockIndexSegmentFileSet {
   830  	mock := &MockIndexSegmentFileSet{ctrl: ctrl}
   831  	mock.recorder = &MockIndexSegmentFileSetMockRecorder{mock}
   832  	return mock
   833  }
   834  
   835  // EXPECT returns an object that allows the caller to indicate expected use.
   836  func (m *MockIndexSegmentFileSet) EXPECT() *MockIndexSegmentFileSetMockRecorder {
   837  	return m.recorder
   838  }
   839  
   840  // Files mocks base method.
   841  func (m *MockIndexSegmentFileSet) Files() []persist0.IndexSegmentFile {
   842  	m.ctrl.T.Helper()
   843  	ret := m.ctrl.Call(m, "Files")
   844  	ret0, _ := ret[0].([]persist0.IndexSegmentFile)
   845  	return ret0
   846  }
   847  
   848  // Files indicates an expected call of Files.
   849  func (mr *MockIndexSegmentFileSetMockRecorder) Files() *gomock.Call {
   850  	mr.mock.ctrl.T.Helper()
   851  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Files", reflect.TypeOf((*MockIndexSegmentFileSet)(nil).Files))
   852  }
   853  
   854  // MajorVersion mocks base method.
   855  func (m *MockIndexSegmentFileSet) MajorVersion() int {
   856  	m.ctrl.T.Helper()
   857  	ret := m.ctrl.Call(m, "MajorVersion")
   858  	ret0, _ := ret[0].(int)
   859  	return ret0
   860  }
   861  
   862  // MajorVersion indicates an expected call of MajorVersion.
   863  func (mr *MockIndexSegmentFileSetMockRecorder) MajorVersion() *gomock.Call {
   864  	mr.mock.ctrl.T.Helper()
   865  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MajorVersion", reflect.TypeOf((*MockIndexSegmentFileSet)(nil).MajorVersion))
   866  }
   867  
   868  // MinorVersion mocks base method.
   869  func (m *MockIndexSegmentFileSet) MinorVersion() int {
   870  	m.ctrl.T.Helper()
   871  	ret := m.ctrl.Call(m, "MinorVersion")
   872  	ret0, _ := ret[0].(int)
   873  	return ret0
   874  }
   875  
   876  // MinorVersion indicates an expected call of MinorVersion.
   877  func (mr *MockIndexSegmentFileSetMockRecorder) MinorVersion() *gomock.Call {
   878  	mr.mock.ctrl.T.Helper()
   879  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinorVersion", reflect.TypeOf((*MockIndexSegmentFileSet)(nil).MinorVersion))
   880  }
   881  
   882  // SegmentMetadata mocks base method.
   883  func (m *MockIndexSegmentFileSet) SegmentMetadata() []byte {
   884  	m.ctrl.T.Helper()
   885  	ret := m.ctrl.Call(m, "SegmentMetadata")
   886  	ret0, _ := ret[0].([]byte)
   887  	return ret0
   888  }
   889  
   890  // SegmentMetadata indicates an expected call of SegmentMetadata.
   891  func (mr *MockIndexSegmentFileSetMockRecorder) SegmentMetadata() *gomock.Call {
   892  	mr.mock.ctrl.T.Helper()
   893  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SegmentMetadata", reflect.TypeOf((*MockIndexSegmentFileSet)(nil).SegmentMetadata))
   894  }
   895  
   896  // SegmentType mocks base method.
   897  func (m *MockIndexSegmentFileSet) SegmentType() persist0.IndexSegmentType {
   898  	m.ctrl.T.Helper()
   899  	ret := m.ctrl.Call(m, "SegmentType")
   900  	ret0, _ := ret[0].(persist0.IndexSegmentType)
   901  	return ret0
   902  }
   903  
   904  // SegmentType indicates an expected call of SegmentType.
   905  func (mr *MockIndexSegmentFileSetMockRecorder) SegmentType() *gomock.Call {
   906  	mr.mock.ctrl.T.Helper()
   907  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SegmentType", reflect.TypeOf((*MockIndexSegmentFileSet)(nil).SegmentType))
   908  }
   909  
   910  // MockIndexSegmentFile is a mock of IndexSegmentFile interface.
   911  type MockIndexSegmentFile struct {
   912  	ctrl     *gomock.Controller
   913  	recorder *MockIndexSegmentFileMockRecorder
   914  }
   915  
   916  // MockIndexSegmentFileMockRecorder is the mock recorder for MockIndexSegmentFile.
   917  type MockIndexSegmentFileMockRecorder struct {
   918  	mock *MockIndexSegmentFile
   919  }
   920  
   921  // NewMockIndexSegmentFile creates a new mock instance.
   922  func NewMockIndexSegmentFile(ctrl *gomock.Controller) *MockIndexSegmentFile {
   923  	mock := &MockIndexSegmentFile{ctrl: ctrl}
   924  	mock.recorder = &MockIndexSegmentFileMockRecorder{mock}
   925  	return mock
   926  }
   927  
   928  // EXPECT returns an object that allows the caller to indicate expected use.
   929  func (m *MockIndexSegmentFile) EXPECT() *MockIndexSegmentFileMockRecorder {
   930  	return m.recorder
   931  }
   932  
   933  // Files mocks base method.
   934  func (m *MockIndexSegmentFile) Files() []persist0.IndexSegmentFile {
   935  	m.ctrl.T.Helper()
   936  	ret := m.ctrl.Call(m, "Files")
   937  	ret0, _ := ret[0].([]persist0.IndexSegmentFile)
   938  	return ret0
   939  }
   940  
   941  // Files indicates an expected call of Files.
   942  func (mr *MockIndexSegmentFileMockRecorder) Files() *gomock.Call {
   943  	mr.mock.ctrl.T.Helper()
   944  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Files", reflect.TypeOf((*MockIndexSegmentFile)(nil).Files))
   945  }
   946  
   947  // MajorVersion mocks base method.
   948  func (m *MockIndexSegmentFile) MajorVersion() int {
   949  	m.ctrl.T.Helper()
   950  	ret := m.ctrl.Call(m, "MajorVersion")
   951  	ret0, _ := ret[0].(int)
   952  	return ret0
   953  }
   954  
   955  // MajorVersion indicates an expected call of MajorVersion.
   956  func (mr *MockIndexSegmentFileMockRecorder) MajorVersion() *gomock.Call {
   957  	mr.mock.ctrl.T.Helper()
   958  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MajorVersion", reflect.TypeOf((*MockIndexSegmentFile)(nil).MajorVersion))
   959  }
   960  
   961  // MinorVersion mocks base method.
   962  func (m *MockIndexSegmentFile) MinorVersion() int {
   963  	m.ctrl.T.Helper()
   964  	ret := m.ctrl.Call(m, "MinorVersion")
   965  	ret0, _ := ret[0].(int)
   966  	return ret0
   967  }
   968  
   969  // MinorVersion indicates an expected call of MinorVersion.
   970  func (mr *MockIndexSegmentFileMockRecorder) MinorVersion() *gomock.Call {
   971  	mr.mock.ctrl.T.Helper()
   972  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MinorVersion", reflect.TypeOf((*MockIndexSegmentFile)(nil).MinorVersion))
   973  }
   974  
   975  // SegmentMetadata mocks base method.
   976  func (m *MockIndexSegmentFile) SegmentMetadata() []byte {
   977  	m.ctrl.T.Helper()
   978  	ret := m.ctrl.Call(m, "SegmentMetadata")
   979  	ret0, _ := ret[0].([]byte)
   980  	return ret0
   981  }
   982  
   983  // SegmentMetadata indicates an expected call of SegmentMetadata.
   984  func (mr *MockIndexSegmentFileMockRecorder) SegmentMetadata() *gomock.Call {
   985  	mr.mock.ctrl.T.Helper()
   986  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SegmentMetadata", reflect.TypeOf((*MockIndexSegmentFile)(nil).SegmentMetadata))
   987  }
   988  
   989  // SegmentType mocks base method.
   990  func (m *MockIndexSegmentFile) SegmentType() persist0.IndexSegmentType {
   991  	m.ctrl.T.Helper()
   992  	ret := m.ctrl.Call(m, "SegmentType")
   993  	ret0, _ := ret[0].(persist0.IndexSegmentType)
   994  	return ret0
   995  }
   996  
   997  // SegmentType indicates an expected call of SegmentType.
   998  func (mr *MockIndexSegmentFileMockRecorder) SegmentType() *gomock.Call {
   999  	mr.mock.ctrl.T.Helper()
  1000  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SegmentType", reflect.TypeOf((*MockIndexSegmentFile)(nil).SegmentType))
  1001  }
  1002  
  1003  // MockSnapshotMetadataFileWriter is a mock of SnapshotMetadataFileWriter interface.
  1004  type MockSnapshotMetadataFileWriter struct {
  1005  	ctrl     *gomock.Controller
  1006  	recorder *MockSnapshotMetadataFileWriterMockRecorder
  1007  }
  1008  
  1009  // MockSnapshotMetadataFileWriterMockRecorder is the mock recorder for MockSnapshotMetadataFileWriter.
  1010  type MockSnapshotMetadataFileWriterMockRecorder struct {
  1011  	mock *MockSnapshotMetadataFileWriter
  1012  }
  1013  
  1014  // NewMockSnapshotMetadataFileWriter creates a new mock instance.
  1015  func NewMockSnapshotMetadataFileWriter(ctrl *gomock.Controller) *MockSnapshotMetadataFileWriter {
  1016  	mock := &MockSnapshotMetadataFileWriter{ctrl: ctrl}
  1017  	mock.recorder = &MockSnapshotMetadataFileWriterMockRecorder{mock}
  1018  	return mock
  1019  }
  1020  
  1021  // EXPECT returns an object that allows the caller to indicate expected use.
  1022  func (m *MockSnapshotMetadataFileWriter) EXPECT() *MockSnapshotMetadataFileWriterMockRecorder {
  1023  	return m.recorder
  1024  }
  1025  
  1026  // Write mocks base method.
  1027  func (m *MockSnapshotMetadataFileWriter) Write(arg0 SnapshotMetadataWriteArgs) error {
  1028  	m.ctrl.T.Helper()
  1029  	ret := m.ctrl.Call(m, "Write", arg0)
  1030  	ret0, _ := ret[0].(error)
  1031  	return ret0
  1032  }
  1033  
  1034  // Write indicates an expected call of Write.
  1035  func (mr *MockSnapshotMetadataFileWriterMockRecorder) Write(arg0 interface{}) *gomock.Call {
  1036  	mr.mock.ctrl.T.Helper()
  1037  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockSnapshotMetadataFileWriter)(nil).Write), arg0)
  1038  }
  1039  
  1040  // MockDataFileSetSeekerManager is a mock of DataFileSetSeekerManager interface.
  1041  type MockDataFileSetSeekerManager struct {
  1042  	ctrl     *gomock.Controller
  1043  	recorder *MockDataFileSetSeekerManagerMockRecorder
  1044  }
  1045  
  1046  // MockDataFileSetSeekerManagerMockRecorder is the mock recorder for MockDataFileSetSeekerManager.
  1047  type MockDataFileSetSeekerManagerMockRecorder struct {
  1048  	mock *MockDataFileSetSeekerManager
  1049  }
  1050  
  1051  // NewMockDataFileSetSeekerManager creates a new mock instance.
  1052  func NewMockDataFileSetSeekerManager(ctrl *gomock.Controller) *MockDataFileSetSeekerManager {
  1053  	mock := &MockDataFileSetSeekerManager{ctrl: ctrl}
  1054  	mock.recorder = &MockDataFileSetSeekerManagerMockRecorder{mock}
  1055  	return mock
  1056  }
  1057  
  1058  // EXPECT returns an object that allows the caller to indicate expected use.
  1059  func (m *MockDataFileSetSeekerManager) EXPECT() *MockDataFileSetSeekerManagerMockRecorder {
  1060  	return m.recorder
  1061  }
  1062  
  1063  // AssignShardSet mocks base method.
  1064  func (m *MockDataFileSetSeekerManager) AssignShardSet(arg0 sharding.ShardSet) {
  1065  	m.ctrl.T.Helper()
  1066  	m.ctrl.Call(m, "AssignShardSet", arg0)
  1067  }
  1068  
  1069  // AssignShardSet indicates an expected call of AssignShardSet.
  1070  func (mr *MockDataFileSetSeekerManagerMockRecorder) AssignShardSet(arg0 interface{}) *gomock.Call {
  1071  	mr.mock.ctrl.T.Helper()
  1072  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AssignShardSet", reflect.TypeOf((*MockDataFileSetSeekerManager)(nil).AssignShardSet), arg0)
  1073  }
  1074  
  1075  // Borrow mocks base method.
  1076  func (m *MockDataFileSetSeekerManager) Borrow(arg0 uint32, arg1 time.UnixNano) (ConcurrentDataFileSetSeeker, error) {
  1077  	m.ctrl.T.Helper()
  1078  	ret := m.ctrl.Call(m, "Borrow", arg0, arg1)
  1079  	ret0, _ := ret[0].(ConcurrentDataFileSetSeeker)
  1080  	ret1, _ := ret[1].(error)
  1081  	return ret0, ret1
  1082  }
  1083  
  1084  // Borrow indicates an expected call of Borrow.
  1085  func (mr *MockDataFileSetSeekerManagerMockRecorder) Borrow(arg0, arg1 interface{}) *gomock.Call {
  1086  	mr.mock.ctrl.T.Helper()
  1087  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Borrow", reflect.TypeOf((*MockDataFileSetSeekerManager)(nil).Borrow), arg0, arg1)
  1088  }
  1089  
  1090  // CacheShardIndices mocks base method.
  1091  func (m *MockDataFileSetSeekerManager) CacheShardIndices(arg0 []uint32) error {
  1092  	m.ctrl.T.Helper()
  1093  	ret := m.ctrl.Call(m, "CacheShardIndices", arg0)
  1094  	ret0, _ := ret[0].(error)
  1095  	return ret0
  1096  }
  1097  
  1098  // CacheShardIndices indicates an expected call of CacheShardIndices.
  1099  func (mr *MockDataFileSetSeekerManagerMockRecorder) CacheShardIndices(arg0 interface{}) *gomock.Call {
  1100  	mr.mock.ctrl.T.Helper()
  1101  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CacheShardIndices", reflect.TypeOf((*MockDataFileSetSeekerManager)(nil).CacheShardIndices), arg0)
  1102  }
  1103  
  1104  // Close mocks base method.
  1105  func (m *MockDataFileSetSeekerManager) Close() error {
  1106  	m.ctrl.T.Helper()
  1107  	ret := m.ctrl.Call(m, "Close")
  1108  	ret0, _ := ret[0].(error)
  1109  	return ret0
  1110  }
  1111  
  1112  // Close indicates an expected call of Close.
  1113  func (mr *MockDataFileSetSeekerManagerMockRecorder) Close() *gomock.Call {
  1114  	mr.mock.ctrl.T.Helper()
  1115  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockDataFileSetSeekerManager)(nil).Close))
  1116  }
  1117  
  1118  // Open mocks base method.
  1119  func (m *MockDataFileSetSeekerManager) Open(arg0 namespace.Metadata, arg1 sharding.ShardSet) error {
  1120  	m.ctrl.T.Helper()
  1121  	ret := m.ctrl.Call(m, "Open", arg0, arg1)
  1122  	ret0, _ := ret[0].(error)
  1123  	return ret0
  1124  }
  1125  
  1126  // Open indicates an expected call of Open.
  1127  func (mr *MockDataFileSetSeekerManagerMockRecorder) Open(arg0, arg1 interface{}) *gomock.Call {
  1128  	mr.mock.ctrl.T.Helper()
  1129  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockDataFileSetSeekerManager)(nil).Open), arg0, arg1)
  1130  }
  1131  
  1132  // Return mocks base method.
  1133  func (m *MockDataFileSetSeekerManager) Return(arg0 uint32, arg1 time.UnixNano, arg2 ConcurrentDataFileSetSeeker) error {
  1134  	m.ctrl.T.Helper()
  1135  	ret := m.ctrl.Call(m, "Return", arg0, arg1, arg2)
  1136  	ret0, _ := ret[0].(error)
  1137  	return ret0
  1138  }
  1139  
  1140  // Return indicates an expected call of Return.
  1141  func (mr *MockDataFileSetSeekerManagerMockRecorder) Return(arg0, arg1, arg2 interface{}) *gomock.Call {
  1142  	mr.mock.ctrl.T.Helper()
  1143  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Return", reflect.TypeOf((*MockDataFileSetSeekerManager)(nil).Return), arg0, arg1, arg2)
  1144  }
  1145  
  1146  // Test mocks base method.
  1147  func (m *MockDataFileSetSeekerManager) Test(arg0 ident.ID, arg1 uint32, arg2 time.UnixNano) (bool, error) {
  1148  	m.ctrl.T.Helper()
  1149  	ret := m.ctrl.Call(m, "Test", arg0, arg1, arg2)
  1150  	ret0, _ := ret[0].(bool)
  1151  	ret1, _ := ret[1].(error)
  1152  	return ret0, ret1
  1153  }
  1154  
  1155  // Test indicates an expected call of Test.
  1156  func (mr *MockDataFileSetSeekerManagerMockRecorder) Test(arg0, arg1, arg2 interface{}) *gomock.Call {
  1157  	mr.mock.ctrl.T.Helper()
  1158  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Test", reflect.TypeOf((*MockDataFileSetSeekerManager)(nil).Test), arg0, arg1, arg2)
  1159  }
  1160  
  1161  // MockConcurrentDataFileSetSeeker is a mock of ConcurrentDataFileSetSeeker interface.
  1162  type MockConcurrentDataFileSetSeeker struct {
  1163  	ctrl     *gomock.Controller
  1164  	recorder *MockConcurrentDataFileSetSeekerMockRecorder
  1165  }
  1166  
  1167  // MockConcurrentDataFileSetSeekerMockRecorder is the mock recorder for MockConcurrentDataFileSetSeeker.
  1168  type MockConcurrentDataFileSetSeekerMockRecorder struct {
  1169  	mock *MockConcurrentDataFileSetSeeker
  1170  }
  1171  
  1172  // NewMockConcurrentDataFileSetSeeker creates a new mock instance.
  1173  func NewMockConcurrentDataFileSetSeeker(ctrl *gomock.Controller) *MockConcurrentDataFileSetSeeker {
  1174  	mock := &MockConcurrentDataFileSetSeeker{ctrl: ctrl}
  1175  	mock.recorder = &MockConcurrentDataFileSetSeekerMockRecorder{mock}
  1176  	return mock
  1177  }
  1178  
  1179  // EXPECT returns an object that allows the caller to indicate expected use.
  1180  func (m *MockConcurrentDataFileSetSeeker) EXPECT() *MockConcurrentDataFileSetSeekerMockRecorder {
  1181  	return m.recorder
  1182  }
  1183  
  1184  // Close mocks base method.
  1185  func (m *MockConcurrentDataFileSetSeeker) Close() error {
  1186  	m.ctrl.T.Helper()
  1187  	ret := m.ctrl.Call(m, "Close")
  1188  	ret0, _ := ret[0].(error)
  1189  	return ret0
  1190  }
  1191  
  1192  // Close indicates an expected call of Close.
  1193  func (mr *MockConcurrentDataFileSetSeekerMockRecorder) Close() *gomock.Call {
  1194  	mr.mock.ctrl.T.Helper()
  1195  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockConcurrentDataFileSetSeeker)(nil).Close))
  1196  }
  1197  
  1198  // ConcurrentIDBloomFilter mocks base method.
  1199  func (m *MockConcurrentDataFileSetSeeker) ConcurrentIDBloomFilter() *ManagedConcurrentBloomFilter {
  1200  	m.ctrl.T.Helper()
  1201  	ret := m.ctrl.Call(m, "ConcurrentIDBloomFilter")
  1202  	ret0, _ := ret[0].(*ManagedConcurrentBloomFilter)
  1203  	return ret0
  1204  }
  1205  
  1206  // ConcurrentIDBloomFilter indicates an expected call of ConcurrentIDBloomFilter.
  1207  func (mr *MockConcurrentDataFileSetSeekerMockRecorder) ConcurrentIDBloomFilter() *gomock.Call {
  1208  	mr.mock.ctrl.T.Helper()
  1209  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConcurrentIDBloomFilter", reflect.TypeOf((*MockConcurrentDataFileSetSeeker)(nil).ConcurrentIDBloomFilter))
  1210  }
  1211  
  1212  // SeekByID mocks base method.
  1213  func (m *MockConcurrentDataFileSetSeeker) SeekByID(arg0 ident.ID, arg1 ReusableSeekerResources) (checked.Bytes, error) {
  1214  	m.ctrl.T.Helper()
  1215  	ret := m.ctrl.Call(m, "SeekByID", arg0, arg1)
  1216  	ret0, _ := ret[0].(checked.Bytes)
  1217  	ret1, _ := ret[1].(error)
  1218  	return ret0, ret1
  1219  }
  1220  
  1221  // SeekByID indicates an expected call of SeekByID.
  1222  func (mr *MockConcurrentDataFileSetSeekerMockRecorder) SeekByID(arg0, arg1 interface{}) *gomock.Call {
  1223  	mr.mock.ctrl.T.Helper()
  1224  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeekByID", reflect.TypeOf((*MockConcurrentDataFileSetSeeker)(nil).SeekByID), arg0, arg1)
  1225  }
  1226  
  1227  // SeekByIndexEntry mocks base method.
  1228  func (m *MockConcurrentDataFileSetSeeker) SeekByIndexEntry(arg0 IndexEntry, arg1 ReusableSeekerResources) (checked.Bytes, error) {
  1229  	m.ctrl.T.Helper()
  1230  	ret := m.ctrl.Call(m, "SeekByIndexEntry", arg0, arg1)
  1231  	ret0, _ := ret[0].(checked.Bytes)
  1232  	ret1, _ := ret[1].(error)
  1233  	return ret0, ret1
  1234  }
  1235  
  1236  // SeekByIndexEntry indicates an expected call of SeekByIndexEntry.
  1237  func (mr *MockConcurrentDataFileSetSeekerMockRecorder) SeekByIndexEntry(arg0, arg1 interface{}) *gomock.Call {
  1238  	mr.mock.ctrl.T.Helper()
  1239  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeekByIndexEntry", reflect.TypeOf((*MockConcurrentDataFileSetSeeker)(nil).SeekByIndexEntry), arg0, arg1)
  1240  }
  1241  
  1242  // SeekIndexEntry mocks base method.
  1243  func (m *MockConcurrentDataFileSetSeeker) SeekIndexEntry(arg0 ident.ID, arg1 ReusableSeekerResources) (IndexEntry, error) {
  1244  	m.ctrl.T.Helper()
  1245  	ret := m.ctrl.Call(m, "SeekIndexEntry", arg0, arg1)
  1246  	ret0, _ := ret[0].(IndexEntry)
  1247  	ret1, _ := ret[1].(error)
  1248  	return ret0, ret1
  1249  }
  1250  
  1251  // SeekIndexEntry indicates an expected call of SeekIndexEntry.
  1252  func (mr *MockConcurrentDataFileSetSeekerMockRecorder) SeekIndexEntry(arg0, arg1 interface{}) *gomock.Call {
  1253  	mr.mock.ctrl.T.Helper()
  1254  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeekIndexEntry", reflect.TypeOf((*MockConcurrentDataFileSetSeeker)(nil).SeekIndexEntry), arg0, arg1)
  1255  }
  1256  
  1257  // MockMergeWith is a mock of MergeWith interface.
  1258  type MockMergeWith struct {
  1259  	ctrl     *gomock.Controller
  1260  	recorder *MockMergeWithMockRecorder
  1261  }
  1262  
  1263  // MockMergeWithMockRecorder is the mock recorder for MockMergeWith.
  1264  type MockMergeWithMockRecorder struct {
  1265  	mock *MockMergeWith
  1266  }
  1267  
  1268  // NewMockMergeWith creates a new mock instance.
  1269  func NewMockMergeWith(ctrl *gomock.Controller) *MockMergeWith {
  1270  	mock := &MockMergeWith{ctrl: ctrl}
  1271  	mock.recorder = &MockMergeWithMockRecorder{mock}
  1272  	return mock
  1273  }
  1274  
  1275  // EXPECT returns an object that allows the caller to indicate expected use.
  1276  func (m *MockMergeWith) EXPECT() *MockMergeWithMockRecorder {
  1277  	return m.recorder
  1278  }
  1279  
  1280  // ForEachRemaining mocks base method.
  1281  func (m *MockMergeWith) ForEachRemaining(arg0 context.Context, arg1 time.UnixNano, arg2 ForEachRemainingFn, arg3 namespace.Context) error {
  1282  	m.ctrl.T.Helper()
  1283  	ret := m.ctrl.Call(m, "ForEachRemaining", arg0, arg1, arg2, arg3)
  1284  	ret0, _ := ret[0].(error)
  1285  	return ret0
  1286  }
  1287  
  1288  // ForEachRemaining indicates an expected call of ForEachRemaining.
  1289  func (mr *MockMergeWithMockRecorder) ForEachRemaining(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1290  	mr.mock.ctrl.T.Helper()
  1291  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ForEachRemaining", reflect.TypeOf((*MockMergeWith)(nil).ForEachRemaining), arg0, arg1, arg2, arg3)
  1292  }
  1293  
  1294  // Read mocks base method.
  1295  func (m *MockMergeWith) Read(arg0 context.Context, arg1 ident.ID, arg2 time.UnixNano, arg3 namespace.Context) ([]xio.BlockReader, bool, error) {
  1296  	m.ctrl.T.Helper()
  1297  	ret := m.ctrl.Call(m, "Read", arg0, arg1, arg2, arg3)
  1298  	ret0, _ := ret[0].([]xio.BlockReader)
  1299  	ret1, _ := ret[1].(bool)
  1300  	ret2, _ := ret[2].(error)
  1301  	return ret0, ret1, ret2
  1302  }
  1303  
  1304  // Read indicates an expected call of Read.
  1305  func (mr *MockMergeWithMockRecorder) Read(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1306  	mr.mock.ctrl.T.Helper()
  1307  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Read", reflect.TypeOf((*MockMergeWith)(nil).Read), arg0, arg1, arg2, arg3)
  1308  }
  1309  
  1310  // MockStreamingWriter is a mock of StreamingWriter interface.
  1311  type MockStreamingWriter struct {
  1312  	ctrl     *gomock.Controller
  1313  	recorder *MockStreamingWriterMockRecorder
  1314  }
  1315  
  1316  // MockStreamingWriterMockRecorder is the mock recorder for MockStreamingWriter.
  1317  type MockStreamingWriterMockRecorder struct {
  1318  	mock *MockStreamingWriter
  1319  }
  1320  
  1321  // NewMockStreamingWriter creates a new mock instance.
  1322  func NewMockStreamingWriter(ctrl *gomock.Controller) *MockStreamingWriter {
  1323  	mock := &MockStreamingWriter{ctrl: ctrl}
  1324  	mock.recorder = &MockStreamingWriterMockRecorder{mock}
  1325  	return mock
  1326  }
  1327  
  1328  // EXPECT returns an object that allows the caller to indicate expected use.
  1329  func (m *MockStreamingWriter) EXPECT() *MockStreamingWriterMockRecorder {
  1330  	return m.recorder
  1331  }
  1332  
  1333  // Abort mocks base method.
  1334  func (m *MockStreamingWriter) Abort() error {
  1335  	m.ctrl.T.Helper()
  1336  	ret := m.ctrl.Call(m, "Abort")
  1337  	ret0, _ := ret[0].(error)
  1338  	return ret0
  1339  }
  1340  
  1341  // Abort indicates an expected call of Abort.
  1342  func (mr *MockStreamingWriterMockRecorder) Abort() *gomock.Call {
  1343  	mr.mock.ctrl.T.Helper()
  1344  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Abort", reflect.TypeOf((*MockStreamingWriter)(nil).Abort))
  1345  }
  1346  
  1347  // Close mocks base method.
  1348  func (m *MockStreamingWriter) Close() error {
  1349  	m.ctrl.T.Helper()
  1350  	ret := m.ctrl.Call(m, "Close")
  1351  	ret0, _ := ret[0].(error)
  1352  	return ret0
  1353  }
  1354  
  1355  // Close indicates an expected call of Close.
  1356  func (mr *MockStreamingWriterMockRecorder) Close() *gomock.Call {
  1357  	mr.mock.ctrl.T.Helper()
  1358  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockStreamingWriter)(nil).Close))
  1359  }
  1360  
  1361  // Open mocks base method.
  1362  func (m *MockStreamingWriter) Open(arg0 StreamingWriterOpenOptions) error {
  1363  	m.ctrl.T.Helper()
  1364  	ret := m.ctrl.Call(m, "Open", arg0)
  1365  	ret0, _ := ret[0].(error)
  1366  	return ret0
  1367  }
  1368  
  1369  // Open indicates an expected call of Open.
  1370  func (mr *MockStreamingWriterMockRecorder) Open(arg0 interface{}) *gomock.Call {
  1371  	mr.mock.ctrl.T.Helper()
  1372  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Open", reflect.TypeOf((*MockStreamingWriter)(nil).Open), arg0)
  1373  }
  1374  
  1375  // WriteAll mocks base method.
  1376  func (m *MockStreamingWriter) WriteAll(arg0 ident.BytesID, arg1 ts.EncodedTags, arg2 [][]byte, arg3 uint32) error {
  1377  	m.ctrl.T.Helper()
  1378  	ret := m.ctrl.Call(m, "WriteAll", arg0, arg1, arg2, arg3)
  1379  	ret0, _ := ret[0].(error)
  1380  	return ret0
  1381  }
  1382  
  1383  // WriteAll indicates an expected call of WriteAll.
  1384  func (mr *MockStreamingWriterMockRecorder) WriteAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
  1385  	mr.mock.ctrl.T.Helper()
  1386  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteAll", reflect.TypeOf((*MockStreamingWriter)(nil).WriteAll), arg0, arg1, arg2, arg3)
  1387  }