github.com/m3db/m3@v1.5.0/src/dbnode/encoding/encoding_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/m3db/m3/src/dbnode/encoding/types.go
     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 encoding is a generated GoMock package.
    25  package encoding
    26  
    27  import (
    28  	"reflect"
    29  	"time"
    30  
    31  	"github.com/m3db/m3/src/dbnode/namespace"
    32  	"github.com/m3db/m3/src/dbnode/ts"
    33  	"github.com/m3db/m3/src/dbnode/x/xio"
    34  	"github.com/m3db/m3/src/dbnode/x/xpool"
    35  	"github.com/m3db/m3/src/x/checked"
    36  	"github.com/m3db/m3/src/x/context"
    37  	"github.com/m3db/m3/src/x/ident"
    38  	"github.com/m3db/m3/src/x/pool"
    39  	"github.com/m3db/m3/src/x/serialize"
    40  	time0 "github.com/m3db/m3/src/x/time"
    41  
    42  	"github.com/golang/mock/gomock"
    43  )
    44  
    45  // MockEncoder is a mock of Encoder interface.
    46  type MockEncoder struct {
    47  	ctrl     *gomock.Controller
    48  	recorder *MockEncoderMockRecorder
    49  }
    50  
    51  // MockEncoderMockRecorder is the mock recorder for MockEncoder.
    52  type MockEncoderMockRecorder struct {
    53  	mock *MockEncoder
    54  }
    55  
    56  // NewMockEncoder creates a new mock instance.
    57  func NewMockEncoder(ctrl *gomock.Controller) *MockEncoder {
    58  	mock := &MockEncoder{ctrl: ctrl}
    59  	mock.recorder = &MockEncoderMockRecorder{mock}
    60  	return mock
    61  }
    62  
    63  // EXPECT returns an object that allows the caller to indicate expected use.
    64  func (m *MockEncoder) EXPECT() *MockEncoderMockRecorder {
    65  	return m.recorder
    66  }
    67  
    68  // Close mocks base method.
    69  func (m *MockEncoder) Close() {
    70  	m.ctrl.T.Helper()
    71  	m.ctrl.Call(m, "Close")
    72  }
    73  
    74  // Close indicates an expected call of Close.
    75  func (mr *MockEncoderMockRecorder) Close() *gomock.Call {
    76  	mr.mock.ctrl.T.Helper()
    77  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockEncoder)(nil).Close))
    78  }
    79  
    80  // Discard mocks base method.
    81  func (m *MockEncoder) Discard() ts.Segment {
    82  	m.ctrl.T.Helper()
    83  	ret := m.ctrl.Call(m, "Discard")
    84  	ret0, _ := ret[0].(ts.Segment)
    85  	return ret0
    86  }
    87  
    88  // Discard indicates an expected call of Discard.
    89  func (mr *MockEncoderMockRecorder) Discard() *gomock.Call {
    90  	mr.mock.ctrl.T.Helper()
    91  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Discard", reflect.TypeOf((*MockEncoder)(nil).Discard))
    92  }
    93  
    94  // DiscardReset mocks base method.
    95  func (m *MockEncoder) DiscardReset(t time0.UnixNano, capacity int, schema namespace.SchemaDescr) ts.Segment {
    96  	m.ctrl.T.Helper()
    97  	ret := m.ctrl.Call(m, "DiscardReset", t, capacity, schema)
    98  	ret0, _ := ret[0].(ts.Segment)
    99  	return ret0
   100  }
   101  
   102  // DiscardReset indicates an expected call of DiscardReset.
   103  func (mr *MockEncoderMockRecorder) DiscardReset(t, capacity, schema interface{}) *gomock.Call {
   104  	mr.mock.ctrl.T.Helper()
   105  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiscardReset", reflect.TypeOf((*MockEncoder)(nil).DiscardReset), t, capacity, schema)
   106  }
   107  
   108  // Empty mocks base method.
   109  func (m *MockEncoder) Empty() bool {
   110  	m.ctrl.T.Helper()
   111  	ret := m.ctrl.Call(m, "Empty")
   112  	ret0, _ := ret[0].(bool)
   113  	return ret0
   114  }
   115  
   116  // Empty indicates an expected call of Empty.
   117  func (mr *MockEncoderMockRecorder) Empty() *gomock.Call {
   118  	mr.mock.ctrl.T.Helper()
   119  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Empty", reflect.TypeOf((*MockEncoder)(nil).Empty))
   120  }
   121  
   122  // Encode mocks base method.
   123  func (m *MockEncoder) Encode(dp ts.Datapoint, unit time0.Unit, annotation ts.Annotation) error {
   124  	m.ctrl.T.Helper()
   125  	ret := m.ctrl.Call(m, "Encode", dp, unit, annotation)
   126  	ret0, _ := ret[0].(error)
   127  	return ret0
   128  }
   129  
   130  // Encode indicates an expected call of Encode.
   131  func (mr *MockEncoderMockRecorder) Encode(dp, unit, annotation interface{}) *gomock.Call {
   132  	mr.mock.ctrl.T.Helper()
   133  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Encode", reflect.TypeOf((*MockEncoder)(nil).Encode), dp, unit, annotation)
   134  }
   135  
   136  // LastAnnotationChecksum mocks base method.
   137  func (m *MockEncoder) LastAnnotationChecksum() (uint64, error) {
   138  	m.ctrl.T.Helper()
   139  	ret := m.ctrl.Call(m, "LastAnnotationChecksum")
   140  	ret0, _ := ret[0].(uint64)
   141  	ret1, _ := ret[1].(error)
   142  	return ret0, ret1
   143  }
   144  
   145  // LastAnnotationChecksum indicates an expected call of LastAnnotationChecksum.
   146  func (mr *MockEncoderMockRecorder) LastAnnotationChecksum() *gomock.Call {
   147  	mr.mock.ctrl.T.Helper()
   148  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LastAnnotationChecksum", reflect.TypeOf((*MockEncoder)(nil).LastAnnotationChecksum))
   149  }
   150  
   151  // LastEncoded mocks base method.
   152  func (m *MockEncoder) LastEncoded() (ts.Datapoint, error) {
   153  	m.ctrl.T.Helper()
   154  	ret := m.ctrl.Call(m, "LastEncoded")
   155  	ret0, _ := ret[0].(ts.Datapoint)
   156  	ret1, _ := ret[1].(error)
   157  	return ret0, ret1
   158  }
   159  
   160  // LastEncoded indicates an expected call of LastEncoded.
   161  func (mr *MockEncoderMockRecorder) LastEncoded() *gomock.Call {
   162  	mr.mock.ctrl.T.Helper()
   163  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LastEncoded", reflect.TypeOf((*MockEncoder)(nil).LastEncoded))
   164  }
   165  
   166  // Len mocks base method.
   167  func (m *MockEncoder) Len() int {
   168  	m.ctrl.T.Helper()
   169  	ret := m.ctrl.Call(m, "Len")
   170  	ret0, _ := ret[0].(int)
   171  	return ret0
   172  }
   173  
   174  // Len indicates an expected call of Len.
   175  func (mr *MockEncoderMockRecorder) Len() *gomock.Call {
   176  	mr.mock.ctrl.T.Helper()
   177  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Len", reflect.TypeOf((*MockEncoder)(nil).Len))
   178  }
   179  
   180  // NumEncoded mocks base method.
   181  func (m *MockEncoder) NumEncoded() int {
   182  	m.ctrl.T.Helper()
   183  	ret := m.ctrl.Call(m, "NumEncoded")
   184  	ret0, _ := ret[0].(int)
   185  	return ret0
   186  }
   187  
   188  // NumEncoded indicates an expected call of NumEncoded.
   189  func (mr *MockEncoderMockRecorder) NumEncoded() *gomock.Call {
   190  	mr.mock.ctrl.T.Helper()
   191  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NumEncoded", reflect.TypeOf((*MockEncoder)(nil).NumEncoded))
   192  }
   193  
   194  // Reset mocks base method.
   195  func (m *MockEncoder) Reset(t time0.UnixNano, capacity int, schema namespace.SchemaDescr) {
   196  	m.ctrl.T.Helper()
   197  	m.ctrl.Call(m, "Reset", t, capacity, schema)
   198  }
   199  
   200  // Reset indicates an expected call of Reset.
   201  func (mr *MockEncoderMockRecorder) Reset(t, capacity, schema interface{}) *gomock.Call {
   202  	mr.mock.ctrl.T.Helper()
   203  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockEncoder)(nil).Reset), t, capacity, schema)
   204  }
   205  
   206  // SetSchema mocks base method.
   207  func (m *MockEncoder) SetSchema(descr namespace.SchemaDescr) {
   208  	m.ctrl.T.Helper()
   209  	m.ctrl.Call(m, "SetSchema", descr)
   210  }
   211  
   212  // SetSchema indicates an expected call of SetSchema.
   213  func (mr *MockEncoderMockRecorder) SetSchema(descr interface{}) *gomock.Call {
   214  	mr.mock.ctrl.T.Helper()
   215  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSchema", reflect.TypeOf((*MockEncoder)(nil).SetSchema), descr)
   216  }
   217  
   218  // Stream mocks base method.
   219  func (m *MockEncoder) Stream(ctx context.Context) (xio.SegmentReader, bool) {
   220  	m.ctrl.T.Helper()
   221  	ret := m.ctrl.Call(m, "Stream", ctx)
   222  	ret0, _ := ret[0].(xio.SegmentReader)
   223  	ret1, _ := ret[1].(bool)
   224  	return ret0, ret1
   225  }
   226  
   227  // Stream indicates an expected call of Stream.
   228  func (mr *MockEncoderMockRecorder) Stream(ctx interface{}) *gomock.Call {
   229  	mr.mock.ctrl.T.Helper()
   230  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stream", reflect.TypeOf((*MockEncoder)(nil).Stream), ctx)
   231  }
   232  
   233  // MockOptions is a mock of Options interface.
   234  type MockOptions struct {
   235  	ctrl     *gomock.Controller
   236  	recorder *MockOptionsMockRecorder
   237  }
   238  
   239  // MockOptionsMockRecorder is the mock recorder for MockOptions.
   240  type MockOptionsMockRecorder struct {
   241  	mock *MockOptions
   242  }
   243  
   244  // NewMockOptions creates a new mock instance.
   245  func NewMockOptions(ctrl *gomock.Controller) *MockOptions {
   246  	mock := &MockOptions{ctrl: ctrl}
   247  	mock.recorder = &MockOptionsMockRecorder{mock}
   248  	return mock
   249  }
   250  
   251  // EXPECT returns an object that allows the caller to indicate expected use.
   252  func (m *MockOptions) EXPECT() *MockOptionsMockRecorder {
   253  	return m.recorder
   254  }
   255  
   256  // ByteFieldDictionaryLRUSize mocks base method.
   257  func (m *MockOptions) ByteFieldDictionaryLRUSize() int {
   258  	m.ctrl.T.Helper()
   259  	ret := m.ctrl.Call(m, "ByteFieldDictionaryLRUSize")
   260  	ret0, _ := ret[0].(int)
   261  	return ret0
   262  }
   263  
   264  // ByteFieldDictionaryLRUSize indicates an expected call of ByteFieldDictionaryLRUSize.
   265  func (mr *MockOptionsMockRecorder) ByteFieldDictionaryLRUSize() *gomock.Call {
   266  	mr.mock.ctrl.T.Helper()
   267  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ByteFieldDictionaryLRUSize", reflect.TypeOf((*MockOptions)(nil).ByteFieldDictionaryLRUSize))
   268  }
   269  
   270  // BytesPool mocks base method.
   271  func (m *MockOptions) BytesPool() pool.CheckedBytesPool {
   272  	m.ctrl.T.Helper()
   273  	ret := m.ctrl.Call(m, "BytesPool")
   274  	ret0, _ := ret[0].(pool.CheckedBytesPool)
   275  	return ret0
   276  }
   277  
   278  // BytesPool indicates an expected call of BytesPool.
   279  func (mr *MockOptionsMockRecorder) BytesPool() *gomock.Call {
   280  	mr.mock.ctrl.T.Helper()
   281  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BytesPool", reflect.TypeOf((*MockOptions)(nil).BytesPool))
   282  }
   283  
   284  // CheckedBytesWrapperPool mocks base method.
   285  func (m *MockOptions) CheckedBytesWrapperPool() xpool.CheckedBytesWrapperPool {
   286  	m.ctrl.T.Helper()
   287  	ret := m.ctrl.Call(m, "CheckedBytesWrapperPool")
   288  	ret0, _ := ret[0].(xpool.CheckedBytesWrapperPool)
   289  	return ret0
   290  }
   291  
   292  // CheckedBytesWrapperPool indicates an expected call of CheckedBytesWrapperPool.
   293  func (mr *MockOptionsMockRecorder) CheckedBytesWrapperPool() *gomock.Call {
   294  	mr.mock.ctrl.T.Helper()
   295  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesWrapperPool", reflect.TypeOf((*MockOptions)(nil).CheckedBytesWrapperPool))
   296  }
   297  
   298  // DefaultTimeUnit mocks base method.
   299  func (m *MockOptions) DefaultTimeUnit() time0.Unit {
   300  	m.ctrl.T.Helper()
   301  	ret := m.ctrl.Call(m, "DefaultTimeUnit")
   302  	ret0, _ := ret[0].(time0.Unit)
   303  	return ret0
   304  }
   305  
   306  // DefaultTimeUnit indicates an expected call of DefaultTimeUnit.
   307  func (mr *MockOptionsMockRecorder) DefaultTimeUnit() *gomock.Call {
   308  	mr.mock.ctrl.T.Helper()
   309  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DefaultTimeUnit", reflect.TypeOf((*MockOptions)(nil).DefaultTimeUnit))
   310  }
   311  
   312  // EncoderPool mocks base method.
   313  func (m *MockOptions) EncoderPool() EncoderPool {
   314  	m.ctrl.T.Helper()
   315  	ret := m.ctrl.Call(m, "EncoderPool")
   316  	ret0, _ := ret[0].(EncoderPool)
   317  	return ret0
   318  }
   319  
   320  // EncoderPool indicates an expected call of EncoderPool.
   321  func (mr *MockOptionsMockRecorder) EncoderPool() *gomock.Call {
   322  	mr.mock.ctrl.T.Helper()
   323  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncoderPool", reflect.TypeOf((*MockOptions)(nil).EncoderPool))
   324  }
   325  
   326  // IStreamReaderSizeM3TSZ mocks base method.
   327  func (m *MockOptions) IStreamReaderSizeM3TSZ() int {
   328  	m.ctrl.T.Helper()
   329  	ret := m.ctrl.Call(m, "IStreamReaderSizeM3TSZ")
   330  	ret0, _ := ret[0].(int)
   331  	return ret0
   332  }
   333  
   334  // IStreamReaderSizeM3TSZ indicates an expected call of IStreamReaderSizeM3TSZ.
   335  func (mr *MockOptionsMockRecorder) IStreamReaderSizeM3TSZ() *gomock.Call {
   336  	mr.mock.ctrl.T.Helper()
   337  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IStreamReaderSizeM3TSZ", reflect.TypeOf((*MockOptions)(nil).IStreamReaderSizeM3TSZ))
   338  }
   339  
   340  // IStreamReaderSizeProto mocks base method.
   341  func (m *MockOptions) IStreamReaderSizeProto() int {
   342  	m.ctrl.T.Helper()
   343  	ret := m.ctrl.Call(m, "IStreamReaderSizeProto")
   344  	ret0, _ := ret[0].(int)
   345  	return ret0
   346  }
   347  
   348  // IStreamReaderSizeProto indicates an expected call of IStreamReaderSizeProto.
   349  func (mr *MockOptionsMockRecorder) IStreamReaderSizeProto() *gomock.Call {
   350  	mr.mock.ctrl.T.Helper()
   351  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IStreamReaderSizeProto", reflect.TypeOf((*MockOptions)(nil).IStreamReaderSizeProto))
   352  }
   353  
   354  // MarkerEncodingScheme mocks base method.
   355  func (m *MockOptions) MarkerEncodingScheme() *MarkerEncodingScheme {
   356  	m.ctrl.T.Helper()
   357  	ret := m.ctrl.Call(m, "MarkerEncodingScheme")
   358  	ret0, _ := ret[0].(*MarkerEncodingScheme)
   359  	return ret0
   360  }
   361  
   362  // MarkerEncodingScheme indicates an expected call of MarkerEncodingScheme.
   363  func (mr *MockOptionsMockRecorder) MarkerEncodingScheme() *gomock.Call {
   364  	mr.mock.ctrl.T.Helper()
   365  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarkerEncodingScheme", reflect.TypeOf((*MockOptions)(nil).MarkerEncodingScheme))
   366  }
   367  
   368  // Metrics mocks base method.
   369  func (m *MockOptions) Metrics() Metrics {
   370  	m.ctrl.T.Helper()
   371  	ret := m.ctrl.Call(m, "Metrics")
   372  	ret0, _ := ret[0].(Metrics)
   373  	return ret0
   374  }
   375  
   376  // Metrics indicates an expected call of Metrics.
   377  func (mr *MockOptionsMockRecorder) Metrics() *gomock.Call {
   378  	mr.mock.ctrl.T.Helper()
   379  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Metrics", reflect.TypeOf((*MockOptions)(nil).Metrics))
   380  }
   381  
   382  // ReaderIteratorPool mocks base method.
   383  func (m *MockOptions) ReaderIteratorPool() ReaderIteratorPool {
   384  	m.ctrl.T.Helper()
   385  	ret := m.ctrl.Call(m, "ReaderIteratorPool")
   386  	ret0, _ := ret[0].(ReaderIteratorPool)
   387  	return ret0
   388  }
   389  
   390  // ReaderIteratorPool indicates an expected call of ReaderIteratorPool.
   391  func (mr *MockOptionsMockRecorder) ReaderIteratorPool() *gomock.Call {
   392  	mr.mock.ctrl.T.Helper()
   393  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReaderIteratorPool", reflect.TypeOf((*MockOptions)(nil).ReaderIteratorPool))
   394  }
   395  
   396  // SegmentReaderPool mocks base method.
   397  func (m *MockOptions) SegmentReaderPool() xio.SegmentReaderPool {
   398  	m.ctrl.T.Helper()
   399  	ret := m.ctrl.Call(m, "SegmentReaderPool")
   400  	ret0, _ := ret[0].(xio.SegmentReaderPool)
   401  	return ret0
   402  }
   403  
   404  // SegmentReaderPool indicates an expected call of SegmentReaderPool.
   405  func (mr *MockOptionsMockRecorder) SegmentReaderPool() *gomock.Call {
   406  	mr.mock.ctrl.T.Helper()
   407  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SegmentReaderPool", reflect.TypeOf((*MockOptions)(nil).SegmentReaderPool))
   408  }
   409  
   410  // SetByteFieldDictionaryLRUSize mocks base method.
   411  func (m *MockOptions) SetByteFieldDictionaryLRUSize(value int) Options {
   412  	m.ctrl.T.Helper()
   413  	ret := m.ctrl.Call(m, "SetByteFieldDictionaryLRUSize", value)
   414  	ret0, _ := ret[0].(Options)
   415  	return ret0
   416  }
   417  
   418  // SetByteFieldDictionaryLRUSize indicates an expected call of SetByteFieldDictionaryLRUSize.
   419  func (mr *MockOptionsMockRecorder) SetByteFieldDictionaryLRUSize(value interface{}) *gomock.Call {
   420  	mr.mock.ctrl.T.Helper()
   421  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetByteFieldDictionaryLRUSize", reflect.TypeOf((*MockOptions)(nil).SetByteFieldDictionaryLRUSize), value)
   422  }
   423  
   424  // SetBytesPool mocks base method.
   425  func (m *MockOptions) SetBytesPool(value pool.CheckedBytesPool) Options {
   426  	m.ctrl.T.Helper()
   427  	ret := m.ctrl.Call(m, "SetBytesPool", value)
   428  	ret0, _ := ret[0].(Options)
   429  	return ret0
   430  }
   431  
   432  // SetBytesPool indicates an expected call of SetBytesPool.
   433  func (mr *MockOptionsMockRecorder) SetBytesPool(value interface{}) *gomock.Call {
   434  	mr.mock.ctrl.T.Helper()
   435  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetBytesPool", reflect.TypeOf((*MockOptions)(nil).SetBytesPool), value)
   436  }
   437  
   438  // SetCheckedBytesWrapperPool mocks base method.
   439  func (m *MockOptions) SetCheckedBytesWrapperPool(value xpool.CheckedBytesWrapperPool) Options {
   440  	m.ctrl.T.Helper()
   441  	ret := m.ctrl.Call(m, "SetCheckedBytesWrapperPool", value)
   442  	ret0, _ := ret[0].(Options)
   443  	return ret0
   444  }
   445  
   446  // SetCheckedBytesWrapperPool indicates an expected call of SetCheckedBytesWrapperPool.
   447  func (mr *MockOptionsMockRecorder) SetCheckedBytesWrapperPool(value interface{}) *gomock.Call {
   448  	mr.mock.ctrl.T.Helper()
   449  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetCheckedBytesWrapperPool", reflect.TypeOf((*MockOptions)(nil).SetCheckedBytesWrapperPool), value)
   450  }
   451  
   452  // SetDefaultTimeUnit mocks base method.
   453  func (m *MockOptions) SetDefaultTimeUnit(tu time0.Unit) Options {
   454  	m.ctrl.T.Helper()
   455  	ret := m.ctrl.Call(m, "SetDefaultTimeUnit", tu)
   456  	ret0, _ := ret[0].(Options)
   457  	return ret0
   458  }
   459  
   460  // SetDefaultTimeUnit indicates an expected call of SetDefaultTimeUnit.
   461  func (mr *MockOptionsMockRecorder) SetDefaultTimeUnit(tu interface{}) *gomock.Call {
   462  	mr.mock.ctrl.T.Helper()
   463  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetDefaultTimeUnit", reflect.TypeOf((*MockOptions)(nil).SetDefaultTimeUnit), tu)
   464  }
   465  
   466  // SetEncoderPool mocks base method.
   467  func (m *MockOptions) SetEncoderPool(value EncoderPool) Options {
   468  	m.ctrl.T.Helper()
   469  	ret := m.ctrl.Call(m, "SetEncoderPool", value)
   470  	ret0, _ := ret[0].(Options)
   471  	return ret0
   472  }
   473  
   474  // SetEncoderPool indicates an expected call of SetEncoderPool.
   475  func (mr *MockOptionsMockRecorder) SetEncoderPool(value interface{}) *gomock.Call {
   476  	mr.mock.ctrl.T.Helper()
   477  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEncoderPool", reflect.TypeOf((*MockOptions)(nil).SetEncoderPool), value)
   478  }
   479  
   480  // SetIStreamReaderSizeM3TSZ mocks base method.
   481  func (m *MockOptions) SetIStreamReaderSizeM3TSZ(value int) Options {
   482  	m.ctrl.T.Helper()
   483  	ret := m.ctrl.Call(m, "SetIStreamReaderSizeM3TSZ", value)
   484  	ret0, _ := ret[0].(Options)
   485  	return ret0
   486  }
   487  
   488  // SetIStreamReaderSizeM3TSZ indicates an expected call of SetIStreamReaderSizeM3TSZ.
   489  func (mr *MockOptionsMockRecorder) SetIStreamReaderSizeM3TSZ(value interface{}) *gomock.Call {
   490  	mr.mock.ctrl.T.Helper()
   491  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIStreamReaderSizeM3TSZ", reflect.TypeOf((*MockOptions)(nil).SetIStreamReaderSizeM3TSZ), value)
   492  }
   493  
   494  // SetIStreamReaderSizeProto mocks base method.
   495  func (m *MockOptions) SetIStreamReaderSizeProto(value int) Options {
   496  	m.ctrl.T.Helper()
   497  	ret := m.ctrl.Call(m, "SetIStreamReaderSizeProto", value)
   498  	ret0, _ := ret[0].(Options)
   499  	return ret0
   500  }
   501  
   502  // SetIStreamReaderSizeProto indicates an expected call of SetIStreamReaderSizeProto.
   503  func (mr *MockOptionsMockRecorder) SetIStreamReaderSizeProto(value interface{}) *gomock.Call {
   504  	mr.mock.ctrl.T.Helper()
   505  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIStreamReaderSizeProto", reflect.TypeOf((*MockOptions)(nil).SetIStreamReaderSizeProto), value)
   506  }
   507  
   508  // SetMarkerEncodingScheme mocks base method.
   509  func (m *MockOptions) SetMarkerEncodingScheme(value *MarkerEncodingScheme) Options {
   510  	m.ctrl.T.Helper()
   511  	ret := m.ctrl.Call(m, "SetMarkerEncodingScheme", value)
   512  	ret0, _ := ret[0].(Options)
   513  	return ret0
   514  }
   515  
   516  // SetMarkerEncodingScheme indicates an expected call of SetMarkerEncodingScheme.
   517  func (mr *MockOptionsMockRecorder) SetMarkerEncodingScheme(value interface{}) *gomock.Call {
   518  	mr.mock.ctrl.T.Helper()
   519  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMarkerEncodingScheme", reflect.TypeOf((*MockOptions)(nil).SetMarkerEncodingScheme), value)
   520  }
   521  
   522  // SetMetrics mocks base method.
   523  func (m *MockOptions) SetMetrics(value Metrics) Options {
   524  	m.ctrl.T.Helper()
   525  	ret := m.ctrl.Call(m, "SetMetrics", value)
   526  	ret0, _ := ret[0].(Options)
   527  	return ret0
   528  }
   529  
   530  // SetMetrics indicates an expected call of SetMetrics.
   531  func (mr *MockOptionsMockRecorder) SetMetrics(value interface{}) *gomock.Call {
   532  	mr.mock.ctrl.T.Helper()
   533  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMetrics", reflect.TypeOf((*MockOptions)(nil).SetMetrics), value)
   534  }
   535  
   536  // SetReaderIteratorPool mocks base method.
   537  func (m *MockOptions) SetReaderIteratorPool(value ReaderIteratorPool) Options {
   538  	m.ctrl.T.Helper()
   539  	ret := m.ctrl.Call(m, "SetReaderIteratorPool", value)
   540  	ret0, _ := ret[0].(Options)
   541  	return ret0
   542  }
   543  
   544  // SetReaderIteratorPool indicates an expected call of SetReaderIteratorPool.
   545  func (mr *MockOptionsMockRecorder) SetReaderIteratorPool(value interface{}) *gomock.Call {
   546  	mr.mock.ctrl.T.Helper()
   547  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReaderIteratorPool", reflect.TypeOf((*MockOptions)(nil).SetReaderIteratorPool), value)
   548  }
   549  
   550  // SetSegmentReaderPool mocks base method.
   551  func (m *MockOptions) SetSegmentReaderPool(value xio.SegmentReaderPool) Options {
   552  	m.ctrl.T.Helper()
   553  	ret := m.ctrl.Call(m, "SetSegmentReaderPool", value)
   554  	ret0, _ := ret[0].(Options)
   555  	return ret0
   556  }
   557  
   558  // SetSegmentReaderPool indicates an expected call of SetSegmentReaderPool.
   559  func (mr *MockOptionsMockRecorder) SetSegmentReaderPool(value interface{}) *gomock.Call {
   560  	mr.mock.ctrl.T.Helper()
   561  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSegmentReaderPool", reflect.TypeOf((*MockOptions)(nil).SetSegmentReaderPool), value)
   562  }
   563  
   564  // SetTimeEncodingSchemes mocks base method.
   565  func (m *MockOptions) SetTimeEncodingSchemes(value map[time0.Unit]TimeEncodingScheme) Options {
   566  	m.ctrl.T.Helper()
   567  	ret := m.ctrl.Call(m, "SetTimeEncodingSchemes", value)
   568  	ret0, _ := ret[0].(Options)
   569  	return ret0
   570  }
   571  
   572  // SetTimeEncodingSchemes indicates an expected call of SetTimeEncodingSchemes.
   573  func (mr *MockOptionsMockRecorder) SetTimeEncodingSchemes(value interface{}) *gomock.Call {
   574  	mr.mock.ctrl.T.Helper()
   575  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTimeEncodingSchemes", reflect.TypeOf((*MockOptions)(nil).SetTimeEncodingSchemes), value)
   576  }
   577  
   578  // TimeEncodingSchemes mocks base method.
   579  func (m *MockOptions) TimeEncodingSchemes() TimeEncodingSchemes {
   580  	m.ctrl.T.Helper()
   581  	ret := m.ctrl.Call(m, "TimeEncodingSchemes")
   582  	ret0, _ := ret[0].(TimeEncodingSchemes)
   583  	return ret0
   584  }
   585  
   586  // TimeEncodingSchemes indicates an expected call of TimeEncodingSchemes.
   587  func (mr *MockOptionsMockRecorder) TimeEncodingSchemes() *gomock.Call {
   588  	mr.mock.ctrl.T.Helper()
   589  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TimeEncodingSchemes", reflect.TypeOf((*MockOptions)(nil).TimeEncodingSchemes))
   590  }
   591  
   592  // MockIterator is a mock of Iterator interface.
   593  type MockIterator struct {
   594  	ctrl     *gomock.Controller
   595  	recorder *MockIteratorMockRecorder
   596  }
   597  
   598  // MockIteratorMockRecorder is the mock recorder for MockIterator.
   599  type MockIteratorMockRecorder struct {
   600  	mock *MockIterator
   601  }
   602  
   603  // NewMockIterator creates a new mock instance.
   604  func NewMockIterator(ctrl *gomock.Controller) *MockIterator {
   605  	mock := &MockIterator{ctrl: ctrl}
   606  	mock.recorder = &MockIteratorMockRecorder{mock}
   607  	return mock
   608  }
   609  
   610  // EXPECT returns an object that allows the caller to indicate expected use.
   611  func (m *MockIterator) EXPECT() *MockIteratorMockRecorder {
   612  	return m.recorder
   613  }
   614  
   615  // Close mocks base method.
   616  func (m *MockIterator) Close() {
   617  	m.ctrl.T.Helper()
   618  	m.ctrl.Call(m, "Close")
   619  }
   620  
   621  // Close indicates an expected call of Close.
   622  func (mr *MockIteratorMockRecorder) Close() *gomock.Call {
   623  	mr.mock.ctrl.T.Helper()
   624  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockIterator)(nil).Close))
   625  }
   626  
   627  // Current mocks base method.
   628  func (m *MockIterator) Current() (ts.Datapoint, time0.Unit, ts.Annotation) {
   629  	m.ctrl.T.Helper()
   630  	ret := m.ctrl.Call(m, "Current")
   631  	ret0, _ := ret[0].(ts.Datapoint)
   632  	ret1, _ := ret[1].(time0.Unit)
   633  	ret2, _ := ret[2].(ts.Annotation)
   634  	return ret0, ret1, ret2
   635  }
   636  
   637  // Current indicates an expected call of Current.
   638  func (mr *MockIteratorMockRecorder) Current() *gomock.Call {
   639  	mr.mock.ctrl.T.Helper()
   640  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockIterator)(nil).Current))
   641  }
   642  
   643  // Err mocks base method.
   644  func (m *MockIterator) Err() error {
   645  	m.ctrl.T.Helper()
   646  	ret := m.ctrl.Call(m, "Err")
   647  	ret0, _ := ret[0].(error)
   648  	return ret0
   649  }
   650  
   651  // Err indicates an expected call of Err.
   652  func (mr *MockIteratorMockRecorder) Err() *gomock.Call {
   653  	mr.mock.ctrl.T.Helper()
   654  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockIterator)(nil).Err))
   655  }
   656  
   657  // Next mocks base method.
   658  func (m *MockIterator) Next() bool {
   659  	m.ctrl.T.Helper()
   660  	ret := m.ctrl.Call(m, "Next")
   661  	ret0, _ := ret[0].(bool)
   662  	return ret0
   663  }
   664  
   665  // Next indicates an expected call of Next.
   666  func (mr *MockIteratorMockRecorder) Next() *gomock.Call {
   667  	mr.mock.ctrl.T.Helper()
   668  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockIterator)(nil).Next))
   669  }
   670  
   671  // MockReaderIterator is a mock of ReaderIterator interface.
   672  type MockReaderIterator struct {
   673  	ctrl     *gomock.Controller
   674  	recorder *MockReaderIteratorMockRecorder
   675  }
   676  
   677  // MockReaderIteratorMockRecorder is the mock recorder for MockReaderIterator.
   678  type MockReaderIteratorMockRecorder struct {
   679  	mock *MockReaderIterator
   680  }
   681  
   682  // NewMockReaderIterator creates a new mock instance.
   683  func NewMockReaderIterator(ctrl *gomock.Controller) *MockReaderIterator {
   684  	mock := &MockReaderIterator{ctrl: ctrl}
   685  	mock.recorder = &MockReaderIteratorMockRecorder{mock}
   686  	return mock
   687  }
   688  
   689  // EXPECT returns an object that allows the caller to indicate expected use.
   690  func (m *MockReaderIterator) EXPECT() *MockReaderIteratorMockRecorder {
   691  	return m.recorder
   692  }
   693  
   694  // Close mocks base method.
   695  func (m *MockReaderIterator) Close() {
   696  	m.ctrl.T.Helper()
   697  	m.ctrl.Call(m, "Close")
   698  }
   699  
   700  // Close indicates an expected call of Close.
   701  func (mr *MockReaderIteratorMockRecorder) Close() *gomock.Call {
   702  	mr.mock.ctrl.T.Helper()
   703  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockReaderIterator)(nil).Close))
   704  }
   705  
   706  // Current mocks base method.
   707  func (m *MockReaderIterator) Current() (ts.Datapoint, time0.Unit, ts.Annotation) {
   708  	m.ctrl.T.Helper()
   709  	ret := m.ctrl.Call(m, "Current")
   710  	ret0, _ := ret[0].(ts.Datapoint)
   711  	ret1, _ := ret[1].(time0.Unit)
   712  	ret2, _ := ret[2].(ts.Annotation)
   713  	return ret0, ret1, ret2
   714  }
   715  
   716  // Current indicates an expected call of Current.
   717  func (mr *MockReaderIteratorMockRecorder) Current() *gomock.Call {
   718  	mr.mock.ctrl.T.Helper()
   719  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockReaderIterator)(nil).Current))
   720  }
   721  
   722  // Err mocks base method.
   723  func (m *MockReaderIterator) Err() error {
   724  	m.ctrl.T.Helper()
   725  	ret := m.ctrl.Call(m, "Err")
   726  	ret0, _ := ret[0].(error)
   727  	return ret0
   728  }
   729  
   730  // Err indicates an expected call of Err.
   731  func (mr *MockReaderIteratorMockRecorder) Err() *gomock.Call {
   732  	mr.mock.ctrl.T.Helper()
   733  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockReaderIterator)(nil).Err))
   734  }
   735  
   736  // Next mocks base method.
   737  func (m *MockReaderIterator) Next() bool {
   738  	m.ctrl.T.Helper()
   739  	ret := m.ctrl.Call(m, "Next")
   740  	ret0, _ := ret[0].(bool)
   741  	return ret0
   742  }
   743  
   744  // Next indicates an expected call of Next.
   745  func (mr *MockReaderIteratorMockRecorder) Next() *gomock.Call {
   746  	mr.mock.ctrl.T.Helper()
   747  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockReaderIterator)(nil).Next))
   748  }
   749  
   750  // Reset mocks base method.
   751  func (m *MockReaderIterator) Reset(reader xio.Reader64, schema namespace.SchemaDescr) {
   752  	m.ctrl.T.Helper()
   753  	m.ctrl.Call(m, "Reset", reader, schema)
   754  }
   755  
   756  // Reset indicates an expected call of Reset.
   757  func (mr *MockReaderIteratorMockRecorder) Reset(reader, schema interface{}) *gomock.Call {
   758  	mr.mock.ctrl.T.Helper()
   759  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockReaderIterator)(nil).Reset), reader, schema)
   760  }
   761  
   762  // MockMultiReaderIterator is a mock of MultiReaderIterator interface.
   763  type MockMultiReaderIterator struct {
   764  	ctrl     *gomock.Controller
   765  	recorder *MockMultiReaderIteratorMockRecorder
   766  }
   767  
   768  // MockMultiReaderIteratorMockRecorder is the mock recorder for MockMultiReaderIterator.
   769  type MockMultiReaderIteratorMockRecorder struct {
   770  	mock *MockMultiReaderIterator
   771  }
   772  
   773  // NewMockMultiReaderIterator creates a new mock instance.
   774  func NewMockMultiReaderIterator(ctrl *gomock.Controller) *MockMultiReaderIterator {
   775  	mock := &MockMultiReaderIterator{ctrl: ctrl}
   776  	mock.recorder = &MockMultiReaderIteratorMockRecorder{mock}
   777  	return mock
   778  }
   779  
   780  // EXPECT returns an object that allows the caller to indicate expected use.
   781  func (m *MockMultiReaderIterator) EXPECT() *MockMultiReaderIteratorMockRecorder {
   782  	return m.recorder
   783  }
   784  
   785  // Close mocks base method.
   786  func (m *MockMultiReaderIterator) Close() {
   787  	m.ctrl.T.Helper()
   788  	m.ctrl.Call(m, "Close")
   789  }
   790  
   791  // Close indicates an expected call of Close.
   792  func (mr *MockMultiReaderIteratorMockRecorder) Close() *gomock.Call {
   793  	mr.mock.ctrl.T.Helper()
   794  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockMultiReaderIterator)(nil).Close))
   795  }
   796  
   797  // Current mocks base method.
   798  func (m *MockMultiReaderIterator) Current() (ts.Datapoint, time0.Unit, ts.Annotation) {
   799  	m.ctrl.T.Helper()
   800  	ret := m.ctrl.Call(m, "Current")
   801  	ret0, _ := ret[0].(ts.Datapoint)
   802  	ret1, _ := ret[1].(time0.Unit)
   803  	ret2, _ := ret[2].(ts.Annotation)
   804  	return ret0, ret1, ret2
   805  }
   806  
   807  // Current indicates an expected call of Current.
   808  func (mr *MockMultiReaderIteratorMockRecorder) Current() *gomock.Call {
   809  	mr.mock.ctrl.T.Helper()
   810  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockMultiReaderIterator)(nil).Current))
   811  }
   812  
   813  // Err mocks base method.
   814  func (m *MockMultiReaderIterator) Err() error {
   815  	m.ctrl.T.Helper()
   816  	ret := m.ctrl.Call(m, "Err")
   817  	ret0, _ := ret[0].(error)
   818  	return ret0
   819  }
   820  
   821  // Err indicates an expected call of Err.
   822  func (mr *MockMultiReaderIteratorMockRecorder) Err() *gomock.Call {
   823  	mr.mock.ctrl.T.Helper()
   824  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockMultiReaderIterator)(nil).Err))
   825  }
   826  
   827  // Next mocks base method.
   828  func (m *MockMultiReaderIterator) Next() bool {
   829  	m.ctrl.T.Helper()
   830  	ret := m.ctrl.Call(m, "Next")
   831  	ret0, _ := ret[0].(bool)
   832  	return ret0
   833  }
   834  
   835  // Next indicates an expected call of Next.
   836  func (mr *MockMultiReaderIteratorMockRecorder) Next() *gomock.Call {
   837  	mr.mock.ctrl.T.Helper()
   838  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockMultiReaderIterator)(nil).Next))
   839  }
   840  
   841  // Readers mocks base method.
   842  func (m *MockMultiReaderIterator) Readers() xio.ReaderSliceOfSlicesIterator {
   843  	m.ctrl.T.Helper()
   844  	ret := m.ctrl.Call(m, "Readers")
   845  	ret0, _ := ret[0].(xio.ReaderSliceOfSlicesIterator)
   846  	return ret0
   847  }
   848  
   849  // Readers indicates an expected call of Readers.
   850  func (mr *MockMultiReaderIteratorMockRecorder) Readers() *gomock.Call {
   851  	mr.mock.ctrl.T.Helper()
   852  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Readers", reflect.TypeOf((*MockMultiReaderIterator)(nil).Readers))
   853  }
   854  
   855  // Reset mocks base method.
   856  func (m *MockMultiReaderIterator) Reset(readers []xio.SegmentReader, start time0.UnixNano, blockSize time.Duration, schema namespace.SchemaDescr) {
   857  	m.ctrl.T.Helper()
   858  	m.ctrl.Call(m, "Reset", readers, start, blockSize, schema)
   859  }
   860  
   861  // Reset indicates an expected call of Reset.
   862  func (mr *MockMultiReaderIteratorMockRecorder) Reset(readers, start, blockSize, schema interface{}) *gomock.Call {
   863  	mr.mock.ctrl.T.Helper()
   864  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockMultiReaderIterator)(nil).Reset), readers, start, blockSize, schema)
   865  }
   866  
   867  // ResetSliceOfSlices mocks base method.
   868  func (m *MockMultiReaderIterator) ResetSliceOfSlices(readers xio.ReaderSliceOfSlicesIterator, schema namespace.SchemaDescr) {
   869  	m.ctrl.T.Helper()
   870  	m.ctrl.Call(m, "ResetSliceOfSlices", readers, schema)
   871  }
   872  
   873  // ResetSliceOfSlices indicates an expected call of ResetSliceOfSlices.
   874  func (mr *MockMultiReaderIteratorMockRecorder) ResetSliceOfSlices(readers, schema interface{}) *gomock.Call {
   875  	mr.mock.ctrl.T.Helper()
   876  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetSliceOfSlices", reflect.TypeOf((*MockMultiReaderIterator)(nil).ResetSliceOfSlices), readers, schema)
   877  }
   878  
   879  // Schema mocks base method.
   880  func (m *MockMultiReaderIterator) Schema() namespace.SchemaDescr {
   881  	m.ctrl.T.Helper()
   882  	ret := m.ctrl.Call(m, "Schema")
   883  	ret0, _ := ret[0].(namespace.SchemaDescr)
   884  	return ret0
   885  }
   886  
   887  // Schema indicates an expected call of Schema.
   888  func (mr *MockMultiReaderIteratorMockRecorder) Schema() *gomock.Call {
   889  	mr.mock.ctrl.T.Helper()
   890  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Schema", reflect.TypeOf((*MockMultiReaderIterator)(nil).Schema))
   891  }
   892  
   893  // MockSeriesIteratorAccumulator is a mock of SeriesIteratorAccumulator interface.
   894  type MockSeriesIteratorAccumulator struct {
   895  	ctrl     *gomock.Controller
   896  	recorder *MockSeriesIteratorAccumulatorMockRecorder
   897  }
   898  
   899  // MockSeriesIteratorAccumulatorMockRecorder is the mock recorder for MockSeriesIteratorAccumulator.
   900  type MockSeriesIteratorAccumulatorMockRecorder struct {
   901  	mock *MockSeriesIteratorAccumulator
   902  }
   903  
   904  // NewMockSeriesIteratorAccumulator creates a new mock instance.
   905  func NewMockSeriesIteratorAccumulator(ctrl *gomock.Controller) *MockSeriesIteratorAccumulator {
   906  	mock := &MockSeriesIteratorAccumulator{ctrl: ctrl}
   907  	mock.recorder = &MockSeriesIteratorAccumulatorMockRecorder{mock}
   908  	return mock
   909  }
   910  
   911  // EXPECT returns an object that allows the caller to indicate expected use.
   912  func (m *MockSeriesIteratorAccumulator) EXPECT() *MockSeriesIteratorAccumulatorMockRecorder {
   913  	return m.recorder
   914  }
   915  
   916  // Add mocks base method.
   917  func (m *MockSeriesIteratorAccumulator) Add(it SeriesIterator) error {
   918  	m.ctrl.T.Helper()
   919  	ret := m.ctrl.Call(m, "Add", it)
   920  	ret0, _ := ret[0].(error)
   921  	return ret0
   922  }
   923  
   924  // Add indicates an expected call of Add.
   925  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Add(it interface{}) *gomock.Call {
   926  	mr.mock.ctrl.T.Helper()
   927  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Add", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Add), it)
   928  }
   929  
   930  // Close mocks base method.
   931  func (m *MockSeriesIteratorAccumulator) Close() {
   932  	m.ctrl.T.Helper()
   933  	m.ctrl.Call(m, "Close")
   934  }
   935  
   936  // Close indicates an expected call of Close.
   937  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Close() *gomock.Call {
   938  	mr.mock.ctrl.T.Helper()
   939  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Close))
   940  }
   941  
   942  // Current mocks base method.
   943  func (m *MockSeriesIteratorAccumulator) Current() (ts.Datapoint, time0.Unit, ts.Annotation) {
   944  	m.ctrl.T.Helper()
   945  	ret := m.ctrl.Call(m, "Current")
   946  	ret0, _ := ret[0].(ts.Datapoint)
   947  	ret1, _ := ret[1].(time0.Unit)
   948  	ret2, _ := ret[2].(ts.Annotation)
   949  	return ret0, ret1, ret2
   950  }
   951  
   952  // Current indicates an expected call of Current.
   953  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Current() *gomock.Call {
   954  	mr.mock.ctrl.T.Helper()
   955  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Current))
   956  }
   957  
   958  // End mocks base method.
   959  func (m *MockSeriesIteratorAccumulator) End() time0.UnixNano {
   960  	m.ctrl.T.Helper()
   961  	ret := m.ctrl.Call(m, "End")
   962  	ret0, _ := ret[0].(time0.UnixNano)
   963  	return ret0
   964  }
   965  
   966  // End indicates an expected call of End.
   967  func (mr *MockSeriesIteratorAccumulatorMockRecorder) End() *gomock.Call {
   968  	mr.mock.ctrl.T.Helper()
   969  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "End", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).End))
   970  }
   971  
   972  // Err mocks base method.
   973  func (m *MockSeriesIteratorAccumulator) Err() error {
   974  	m.ctrl.T.Helper()
   975  	ret := m.ctrl.Call(m, "Err")
   976  	ret0, _ := ret[0].(error)
   977  	return ret0
   978  }
   979  
   980  // Err indicates an expected call of Err.
   981  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Err() *gomock.Call {
   982  	mr.mock.ctrl.T.Helper()
   983  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Err))
   984  }
   985  
   986  // FirstAnnotation mocks base method.
   987  func (m *MockSeriesIteratorAccumulator) FirstAnnotation() ts.Annotation {
   988  	m.ctrl.T.Helper()
   989  	ret := m.ctrl.Call(m, "FirstAnnotation")
   990  	ret0, _ := ret[0].(ts.Annotation)
   991  	return ret0
   992  }
   993  
   994  // FirstAnnotation indicates an expected call of FirstAnnotation.
   995  func (mr *MockSeriesIteratorAccumulatorMockRecorder) FirstAnnotation() *gomock.Call {
   996  	mr.mock.ctrl.T.Helper()
   997  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FirstAnnotation", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).FirstAnnotation))
   998  }
   999  
  1000  // ID mocks base method.
  1001  func (m *MockSeriesIteratorAccumulator) ID() ident.ID {
  1002  	m.ctrl.T.Helper()
  1003  	ret := m.ctrl.Call(m, "ID")
  1004  	ret0, _ := ret[0].(ident.ID)
  1005  	return ret0
  1006  }
  1007  
  1008  // ID indicates an expected call of ID.
  1009  func (mr *MockSeriesIteratorAccumulatorMockRecorder) ID() *gomock.Call {
  1010  	mr.mock.ctrl.T.Helper()
  1011  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ID", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).ID))
  1012  }
  1013  
  1014  // IterateEqualTimestampStrategy mocks base method.
  1015  func (m *MockSeriesIteratorAccumulator) IterateEqualTimestampStrategy() IterateEqualTimestampStrategy {
  1016  	m.ctrl.T.Helper()
  1017  	ret := m.ctrl.Call(m, "IterateEqualTimestampStrategy")
  1018  	ret0, _ := ret[0].(IterateEqualTimestampStrategy)
  1019  	return ret0
  1020  }
  1021  
  1022  // IterateEqualTimestampStrategy indicates an expected call of IterateEqualTimestampStrategy.
  1023  func (mr *MockSeriesIteratorAccumulatorMockRecorder) IterateEqualTimestampStrategy() *gomock.Call {
  1024  	mr.mock.ctrl.T.Helper()
  1025  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateEqualTimestampStrategy", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).IterateEqualTimestampStrategy))
  1026  }
  1027  
  1028  // Namespace mocks base method.
  1029  func (m *MockSeriesIteratorAccumulator) Namespace() ident.ID {
  1030  	m.ctrl.T.Helper()
  1031  	ret := m.ctrl.Call(m, "Namespace")
  1032  	ret0, _ := ret[0].(ident.ID)
  1033  	return ret0
  1034  }
  1035  
  1036  // Namespace indicates an expected call of Namespace.
  1037  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Namespace() *gomock.Call {
  1038  	mr.mock.ctrl.T.Helper()
  1039  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Namespace", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Namespace))
  1040  }
  1041  
  1042  // Next mocks base method.
  1043  func (m *MockSeriesIteratorAccumulator) Next() bool {
  1044  	m.ctrl.T.Helper()
  1045  	ret := m.ctrl.Call(m, "Next")
  1046  	ret0, _ := ret[0].(bool)
  1047  	return ret0
  1048  }
  1049  
  1050  // Next indicates an expected call of Next.
  1051  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Next() *gomock.Call {
  1052  	mr.mock.ctrl.T.Helper()
  1053  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Next))
  1054  }
  1055  
  1056  // Replicas mocks base method.
  1057  func (m *MockSeriesIteratorAccumulator) Replicas() ([]MultiReaderIterator, error) {
  1058  	m.ctrl.T.Helper()
  1059  	ret := m.ctrl.Call(m, "Replicas")
  1060  	ret0, _ := ret[0].([]MultiReaderIterator)
  1061  	ret1, _ := ret[1].(error)
  1062  	return ret0, ret1
  1063  }
  1064  
  1065  // Replicas indicates an expected call of Replicas.
  1066  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Replicas() *gomock.Call {
  1067  	mr.mock.ctrl.T.Helper()
  1068  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Replicas", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Replicas))
  1069  }
  1070  
  1071  // Reset mocks base method.
  1072  func (m *MockSeriesIteratorAccumulator) Reset(opts SeriesIteratorOptions) {
  1073  	m.ctrl.T.Helper()
  1074  	m.ctrl.Call(m, "Reset", opts)
  1075  }
  1076  
  1077  // Reset indicates an expected call of Reset.
  1078  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Reset(opts interface{}) *gomock.Call {
  1079  	mr.mock.ctrl.T.Helper()
  1080  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Reset), opts)
  1081  }
  1082  
  1083  // SetIterateEqualTimestampStrategy mocks base method.
  1084  func (m *MockSeriesIteratorAccumulator) SetIterateEqualTimestampStrategy(strategy IterateEqualTimestampStrategy) {
  1085  	m.ctrl.T.Helper()
  1086  	m.ctrl.Call(m, "SetIterateEqualTimestampStrategy", strategy)
  1087  }
  1088  
  1089  // SetIterateEqualTimestampStrategy indicates an expected call of SetIterateEqualTimestampStrategy.
  1090  func (mr *MockSeriesIteratorAccumulatorMockRecorder) SetIterateEqualTimestampStrategy(strategy interface{}) *gomock.Call {
  1091  	mr.mock.ctrl.T.Helper()
  1092  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIterateEqualTimestampStrategy", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).SetIterateEqualTimestampStrategy), strategy)
  1093  }
  1094  
  1095  // Start mocks base method.
  1096  func (m *MockSeriesIteratorAccumulator) Start() time0.UnixNano {
  1097  	m.ctrl.T.Helper()
  1098  	ret := m.ctrl.Call(m, "Start")
  1099  	ret0, _ := ret[0].(time0.UnixNano)
  1100  	return ret0
  1101  }
  1102  
  1103  // Start indicates an expected call of Start.
  1104  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Start() *gomock.Call {
  1105  	mr.mock.ctrl.T.Helper()
  1106  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Start", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Start))
  1107  }
  1108  
  1109  // Stats mocks base method.
  1110  func (m *MockSeriesIteratorAccumulator) Stats() (SeriesIteratorStats, error) {
  1111  	m.ctrl.T.Helper()
  1112  	ret := m.ctrl.Call(m, "Stats")
  1113  	ret0, _ := ret[0].(SeriesIteratorStats)
  1114  	ret1, _ := ret[1].(error)
  1115  	return ret0, ret1
  1116  }
  1117  
  1118  // Stats indicates an expected call of Stats.
  1119  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Stats() *gomock.Call {
  1120  	mr.mock.ctrl.T.Helper()
  1121  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stats", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Stats))
  1122  }
  1123  
  1124  // Tags mocks base method.
  1125  func (m *MockSeriesIteratorAccumulator) Tags() ident.TagIterator {
  1126  	m.ctrl.T.Helper()
  1127  	ret := m.ctrl.Call(m, "Tags")
  1128  	ret0, _ := ret[0].(ident.TagIterator)
  1129  	return ret0
  1130  }
  1131  
  1132  // Tags indicates an expected call of Tags.
  1133  func (mr *MockSeriesIteratorAccumulatorMockRecorder) Tags() *gomock.Call {
  1134  	mr.mock.ctrl.T.Helper()
  1135  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Tags", reflect.TypeOf((*MockSeriesIteratorAccumulator)(nil).Tags))
  1136  }
  1137  
  1138  // MockSeriesIterator is a mock of SeriesIterator interface.
  1139  type MockSeriesIterator struct {
  1140  	ctrl     *gomock.Controller
  1141  	recorder *MockSeriesIteratorMockRecorder
  1142  }
  1143  
  1144  // MockSeriesIteratorMockRecorder is the mock recorder for MockSeriesIterator.
  1145  type MockSeriesIteratorMockRecorder struct {
  1146  	mock *MockSeriesIterator
  1147  }
  1148  
  1149  // NewMockSeriesIterator creates a new mock instance.
  1150  func NewMockSeriesIterator(ctrl *gomock.Controller) *MockSeriesIterator {
  1151  	mock := &MockSeriesIterator{ctrl: ctrl}
  1152  	mock.recorder = &MockSeriesIteratorMockRecorder{mock}
  1153  	return mock
  1154  }
  1155  
  1156  // EXPECT returns an object that allows the caller to indicate expected use.
  1157  func (m *MockSeriesIterator) EXPECT() *MockSeriesIteratorMockRecorder {
  1158  	return m.recorder
  1159  }
  1160  
  1161  // Close mocks base method.
  1162  func (m *MockSeriesIterator) Close() {
  1163  	m.ctrl.T.Helper()
  1164  	m.ctrl.Call(m, "Close")
  1165  }
  1166  
  1167  // Close indicates an expected call of Close.
  1168  func (mr *MockSeriesIteratorMockRecorder) Close() *gomock.Call {
  1169  	mr.mock.ctrl.T.Helper()
  1170  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockSeriesIterator)(nil).Close))
  1171  }
  1172  
  1173  // Current mocks base method.
  1174  func (m *MockSeriesIterator) Current() (ts.Datapoint, time0.Unit, ts.Annotation) {
  1175  	m.ctrl.T.Helper()
  1176  	ret := m.ctrl.Call(m, "Current")
  1177  	ret0, _ := ret[0].(ts.Datapoint)
  1178  	ret1, _ := ret[1].(time0.Unit)
  1179  	ret2, _ := ret[2].(ts.Annotation)
  1180  	return ret0, ret1, ret2
  1181  }
  1182  
  1183  // Current indicates an expected call of Current.
  1184  func (mr *MockSeriesIteratorMockRecorder) Current() *gomock.Call {
  1185  	mr.mock.ctrl.T.Helper()
  1186  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Current", reflect.TypeOf((*MockSeriesIterator)(nil).Current))
  1187  }
  1188  
  1189  // End mocks base method.
  1190  func (m *MockSeriesIterator) End() time0.UnixNano {
  1191  	m.ctrl.T.Helper()
  1192  	ret := m.ctrl.Call(m, "End")
  1193  	ret0, _ := ret[0].(time0.UnixNano)
  1194  	return ret0
  1195  }
  1196  
  1197  // End indicates an expected call of End.
  1198  func (mr *MockSeriesIteratorMockRecorder) End() *gomock.Call {
  1199  	mr.mock.ctrl.T.Helper()
  1200  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "End", reflect.TypeOf((*MockSeriesIterator)(nil).End))
  1201  }
  1202  
  1203  // Err mocks base method.
  1204  func (m *MockSeriesIterator) Err() error {
  1205  	m.ctrl.T.Helper()
  1206  	ret := m.ctrl.Call(m, "Err")
  1207  	ret0, _ := ret[0].(error)
  1208  	return ret0
  1209  }
  1210  
  1211  // Err indicates an expected call of Err.
  1212  func (mr *MockSeriesIteratorMockRecorder) Err() *gomock.Call {
  1213  	mr.mock.ctrl.T.Helper()
  1214  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Err", reflect.TypeOf((*MockSeriesIterator)(nil).Err))
  1215  }
  1216  
  1217  // FirstAnnotation mocks base method.
  1218  func (m *MockSeriesIterator) FirstAnnotation() ts.Annotation {
  1219  	m.ctrl.T.Helper()
  1220  	ret := m.ctrl.Call(m, "FirstAnnotation")
  1221  	ret0, _ := ret[0].(ts.Annotation)
  1222  	return ret0
  1223  }
  1224  
  1225  // FirstAnnotation indicates an expected call of FirstAnnotation.
  1226  func (mr *MockSeriesIteratorMockRecorder) FirstAnnotation() *gomock.Call {
  1227  	mr.mock.ctrl.T.Helper()
  1228  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FirstAnnotation", reflect.TypeOf((*MockSeriesIterator)(nil).FirstAnnotation))
  1229  }
  1230  
  1231  // ID mocks base method.
  1232  func (m *MockSeriesIterator) ID() ident.ID {
  1233  	m.ctrl.T.Helper()
  1234  	ret := m.ctrl.Call(m, "ID")
  1235  	ret0, _ := ret[0].(ident.ID)
  1236  	return ret0
  1237  }
  1238  
  1239  // ID indicates an expected call of ID.
  1240  func (mr *MockSeriesIteratorMockRecorder) ID() *gomock.Call {
  1241  	mr.mock.ctrl.T.Helper()
  1242  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ID", reflect.TypeOf((*MockSeriesIterator)(nil).ID))
  1243  }
  1244  
  1245  // IterateEqualTimestampStrategy mocks base method.
  1246  func (m *MockSeriesIterator) IterateEqualTimestampStrategy() IterateEqualTimestampStrategy {
  1247  	m.ctrl.T.Helper()
  1248  	ret := m.ctrl.Call(m, "IterateEqualTimestampStrategy")
  1249  	ret0, _ := ret[0].(IterateEqualTimestampStrategy)
  1250  	return ret0
  1251  }
  1252  
  1253  // IterateEqualTimestampStrategy indicates an expected call of IterateEqualTimestampStrategy.
  1254  func (mr *MockSeriesIteratorMockRecorder) IterateEqualTimestampStrategy() *gomock.Call {
  1255  	mr.mock.ctrl.T.Helper()
  1256  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IterateEqualTimestampStrategy", reflect.TypeOf((*MockSeriesIterator)(nil).IterateEqualTimestampStrategy))
  1257  }
  1258  
  1259  // Namespace mocks base method.
  1260  func (m *MockSeriesIterator) Namespace() ident.ID {
  1261  	m.ctrl.T.Helper()
  1262  	ret := m.ctrl.Call(m, "Namespace")
  1263  	ret0, _ := ret[0].(ident.ID)
  1264  	return ret0
  1265  }
  1266  
  1267  // Namespace indicates an expected call of Namespace.
  1268  func (mr *MockSeriesIteratorMockRecorder) Namespace() *gomock.Call {
  1269  	mr.mock.ctrl.T.Helper()
  1270  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Namespace", reflect.TypeOf((*MockSeriesIterator)(nil).Namespace))
  1271  }
  1272  
  1273  // Next mocks base method.
  1274  func (m *MockSeriesIterator) Next() bool {
  1275  	m.ctrl.T.Helper()
  1276  	ret := m.ctrl.Call(m, "Next")
  1277  	ret0, _ := ret[0].(bool)
  1278  	return ret0
  1279  }
  1280  
  1281  // Next indicates an expected call of Next.
  1282  func (mr *MockSeriesIteratorMockRecorder) Next() *gomock.Call {
  1283  	mr.mock.ctrl.T.Helper()
  1284  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Next", reflect.TypeOf((*MockSeriesIterator)(nil).Next))
  1285  }
  1286  
  1287  // Replicas mocks base method.
  1288  func (m *MockSeriesIterator) Replicas() ([]MultiReaderIterator, error) {
  1289  	m.ctrl.T.Helper()
  1290  	ret := m.ctrl.Call(m, "Replicas")
  1291  	ret0, _ := ret[0].([]MultiReaderIterator)
  1292  	ret1, _ := ret[1].(error)
  1293  	return ret0, ret1
  1294  }
  1295  
  1296  // Replicas indicates an expected call of Replicas.
  1297  func (mr *MockSeriesIteratorMockRecorder) Replicas() *gomock.Call {
  1298  	mr.mock.ctrl.T.Helper()
  1299  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Replicas", reflect.TypeOf((*MockSeriesIterator)(nil).Replicas))
  1300  }
  1301  
  1302  // Reset mocks base method.
  1303  func (m *MockSeriesIterator) Reset(opts SeriesIteratorOptions) {
  1304  	m.ctrl.T.Helper()
  1305  	m.ctrl.Call(m, "Reset", opts)
  1306  }
  1307  
  1308  // Reset indicates an expected call of Reset.
  1309  func (mr *MockSeriesIteratorMockRecorder) Reset(opts interface{}) *gomock.Call {
  1310  	mr.mock.ctrl.T.Helper()
  1311  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockSeriesIterator)(nil).Reset), opts)
  1312  }
  1313  
  1314  // SetIterateEqualTimestampStrategy mocks base method.
  1315  func (m *MockSeriesIterator) SetIterateEqualTimestampStrategy(strategy IterateEqualTimestampStrategy) {
  1316  	m.ctrl.T.Helper()
  1317  	m.ctrl.Call(m, "SetIterateEqualTimestampStrategy", strategy)
  1318  }
  1319  
  1320  // SetIterateEqualTimestampStrategy indicates an expected call of SetIterateEqualTimestampStrategy.
  1321  func (mr *MockSeriesIteratorMockRecorder) SetIterateEqualTimestampStrategy(strategy interface{}) *gomock.Call {
  1322  	mr.mock.ctrl.T.Helper()
  1323  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetIterateEqualTimestampStrategy", reflect.TypeOf((*MockSeriesIterator)(nil).SetIterateEqualTimestampStrategy), strategy)
  1324  }
  1325  
  1326  // Start mocks base method.
  1327  func (m *MockSeriesIterator) Start() time0.UnixNano {
  1328  	m.ctrl.T.Helper()
  1329  	ret := m.ctrl.Call(m, "Start")
  1330  	ret0, _ := ret[0].(time0.UnixNano)
  1331  	return ret0
  1332  }
  1333  
  1334  // Start indicates an expected call of Start.
  1335  func (mr *MockSeriesIteratorMockRecorder) Start() *gomock.Call {
  1336  	mr.mock.ctrl.T.Helper()
  1337  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Start", reflect.TypeOf((*MockSeriesIterator)(nil).Start))
  1338  }
  1339  
  1340  // Stats mocks base method.
  1341  func (m *MockSeriesIterator) Stats() (SeriesIteratorStats, error) {
  1342  	m.ctrl.T.Helper()
  1343  	ret := m.ctrl.Call(m, "Stats")
  1344  	ret0, _ := ret[0].(SeriesIteratorStats)
  1345  	ret1, _ := ret[1].(error)
  1346  	return ret0, ret1
  1347  }
  1348  
  1349  // Stats indicates an expected call of Stats.
  1350  func (mr *MockSeriesIteratorMockRecorder) Stats() *gomock.Call {
  1351  	mr.mock.ctrl.T.Helper()
  1352  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stats", reflect.TypeOf((*MockSeriesIterator)(nil).Stats))
  1353  }
  1354  
  1355  // Tags mocks base method.
  1356  func (m *MockSeriesIterator) Tags() ident.TagIterator {
  1357  	m.ctrl.T.Helper()
  1358  	ret := m.ctrl.Call(m, "Tags")
  1359  	ret0, _ := ret[0].(ident.TagIterator)
  1360  	return ret0
  1361  }
  1362  
  1363  // Tags indicates an expected call of Tags.
  1364  func (mr *MockSeriesIteratorMockRecorder) Tags() *gomock.Call {
  1365  	mr.mock.ctrl.T.Helper()
  1366  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Tags", reflect.TypeOf((*MockSeriesIterator)(nil).Tags))
  1367  }
  1368  
  1369  // MockSeriesIteratorConsolidator is a mock of SeriesIteratorConsolidator interface.
  1370  type MockSeriesIteratorConsolidator struct {
  1371  	ctrl     *gomock.Controller
  1372  	recorder *MockSeriesIteratorConsolidatorMockRecorder
  1373  }
  1374  
  1375  // MockSeriesIteratorConsolidatorMockRecorder is the mock recorder for MockSeriesIteratorConsolidator.
  1376  type MockSeriesIteratorConsolidatorMockRecorder struct {
  1377  	mock *MockSeriesIteratorConsolidator
  1378  }
  1379  
  1380  // NewMockSeriesIteratorConsolidator creates a new mock instance.
  1381  func NewMockSeriesIteratorConsolidator(ctrl *gomock.Controller) *MockSeriesIteratorConsolidator {
  1382  	mock := &MockSeriesIteratorConsolidator{ctrl: ctrl}
  1383  	mock.recorder = &MockSeriesIteratorConsolidatorMockRecorder{mock}
  1384  	return mock
  1385  }
  1386  
  1387  // EXPECT returns an object that allows the caller to indicate expected use.
  1388  func (m *MockSeriesIteratorConsolidator) EXPECT() *MockSeriesIteratorConsolidatorMockRecorder {
  1389  	return m.recorder
  1390  }
  1391  
  1392  // ConsolidateReplicas mocks base method.
  1393  func (m *MockSeriesIteratorConsolidator) ConsolidateReplicas(replicas []MultiReaderIterator) ([]MultiReaderIterator, error) {
  1394  	m.ctrl.T.Helper()
  1395  	ret := m.ctrl.Call(m, "ConsolidateReplicas", replicas)
  1396  	ret0, _ := ret[0].([]MultiReaderIterator)
  1397  	ret1, _ := ret[1].(error)
  1398  	return ret0, ret1
  1399  }
  1400  
  1401  // ConsolidateReplicas indicates an expected call of ConsolidateReplicas.
  1402  func (mr *MockSeriesIteratorConsolidatorMockRecorder) ConsolidateReplicas(replicas interface{}) *gomock.Call {
  1403  	mr.mock.ctrl.T.Helper()
  1404  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConsolidateReplicas", reflect.TypeOf((*MockSeriesIteratorConsolidator)(nil).ConsolidateReplicas), replicas)
  1405  }
  1406  
  1407  // MockSeriesIterators is a mock of SeriesIterators interface.
  1408  type MockSeriesIterators struct {
  1409  	ctrl     *gomock.Controller
  1410  	recorder *MockSeriesIteratorsMockRecorder
  1411  }
  1412  
  1413  // MockSeriesIteratorsMockRecorder is the mock recorder for MockSeriesIterators.
  1414  type MockSeriesIteratorsMockRecorder struct {
  1415  	mock *MockSeriesIterators
  1416  }
  1417  
  1418  // NewMockSeriesIterators creates a new mock instance.
  1419  func NewMockSeriesIterators(ctrl *gomock.Controller) *MockSeriesIterators {
  1420  	mock := &MockSeriesIterators{ctrl: ctrl}
  1421  	mock.recorder = &MockSeriesIteratorsMockRecorder{mock}
  1422  	return mock
  1423  }
  1424  
  1425  // EXPECT returns an object that allows the caller to indicate expected use.
  1426  func (m *MockSeriesIterators) EXPECT() *MockSeriesIteratorsMockRecorder {
  1427  	return m.recorder
  1428  }
  1429  
  1430  // Close mocks base method.
  1431  func (m *MockSeriesIterators) Close() {
  1432  	m.ctrl.T.Helper()
  1433  	m.ctrl.Call(m, "Close")
  1434  }
  1435  
  1436  // Close indicates an expected call of Close.
  1437  func (mr *MockSeriesIteratorsMockRecorder) Close() *gomock.Call {
  1438  	mr.mock.ctrl.T.Helper()
  1439  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockSeriesIterators)(nil).Close))
  1440  }
  1441  
  1442  // Iters mocks base method.
  1443  func (m *MockSeriesIterators) Iters() []SeriesIterator {
  1444  	m.ctrl.T.Helper()
  1445  	ret := m.ctrl.Call(m, "Iters")
  1446  	ret0, _ := ret[0].([]SeriesIterator)
  1447  	return ret0
  1448  }
  1449  
  1450  // Iters indicates an expected call of Iters.
  1451  func (mr *MockSeriesIteratorsMockRecorder) Iters() *gomock.Call {
  1452  	mr.mock.ctrl.T.Helper()
  1453  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Iters", reflect.TypeOf((*MockSeriesIterators)(nil).Iters))
  1454  }
  1455  
  1456  // Len mocks base method.
  1457  func (m *MockSeriesIterators) Len() int {
  1458  	m.ctrl.T.Helper()
  1459  	ret := m.ctrl.Call(m, "Len")
  1460  	ret0, _ := ret[0].(int)
  1461  	return ret0
  1462  }
  1463  
  1464  // Len indicates an expected call of Len.
  1465  func (mr *MockSeriesIteratorsMockRecorder) Len() *gomock.Call {
  1466  	mr.mock.ctrl.T.Helper()
  1467  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Len", reflect.TypeOf((*MockSeriesIterators)(nil).Len))
  1468  }
  1469  
  1470  // MockMutableSeriesIterators is a mock of MutableSeriesIterators interface.
  1471  type MockMutableSeriesIterators struct {
  1472  	ctrl     *gomock.Controller
  1473  	recorder *MockMutableSeriesIteratorsMockRecorder
  1474  }
  1475  
  1476  // MockMutableSeriesIteratorsMockRecorder is the mock recorder for MockMutableSeriesIterators.
  1477  type MockMutableSeriesIteratorsMockRecorder struct {
  1478  	mock *MockMutableSeriesIterators
  1479  }
  1480  
  1481  // NewMockMutableSeriesIterators creates a new mock instance.
  1482  func NewMockMutableSeriesIterators(ctrl *gomock.Controller) *MockMutableSeriesIterators {
  1483  	mock := &MockMutableSeriesIterators{ctrl: ctrl}
  1484  	mock.recorder = &MockMutableSeriesIteratorsMockRecorder{mock}
  1485  	return mock
  1486  }
  1487  
  1488  // EXPECT returns an object that allows the caller to indicate expected use.
  1489  func (m *MockMutableSeriesIterators) EXPECT() *MockMutableSeriesIteratorsMockRecorder {
  1490  	return m.recorder
  1491  }
  1492  
  1493  // Close mocks base method.
  1494  func (m *MockMutableSeriesIterators) Close() {
  1495  	m.ctrl.T.Helper()
  1496  	m.ctrl.Call(m, "Close")
  1497  }
  1498  
  1499  // Close indicates an expected call of Close.
  1500  func (mr *MockMutableSeriesIteratorsMockRecorder) Close() *gomock.Call {
  1501  	mr.mock.ctrl.T.Helper()
  1502  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockMutableSeriesIterators)(nil).Close))
  1503  }
  1504  
  1505  // Iters mocks base method.
  1506  func (m *MockMutableSeriesIterators) Iters() []SeriesIterator {
  1507  	m.ctrl.T.Helper()
  1508  	ret := m.ctrl.Call(m, "Iters")
  1509  	ret0, _ := ret[0].([]SeriesIterator)
  1510  	return ret0
  1511  }
  1512  
  1513  // Iters indicates an expected call of Iters.
  1514  func (mr *MockMutableSeriesIteratorsMockRecorder) Iters() *gomock.Call {
  1515  	mr.mock.ctrl.T.Helper()
  1516  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Iters", reflect.TypeOf((*MockMutableSeriesIterators)(nil).Iters))
  1517  }
  1518  
  1519  // Len mocks base method.
  1520  func (m *MockMutableSeriesIterators) Len() int {
  1521  	m.ctrl.T.Helper()
  1522  	ret := m.ctrl.Call(m, "Len")
  1523  	ret0, _ := ret[0].(int)
  1524  	return ret0
  1525  }
  1526  
  1527  // Len indicates an expected call of Len.
  1528  func (mr *MockMutableSeriesIteratorsMockRecorder) Len() *gomock.Call {
  1529  	mr.mock.ctrl.T.Helper()
  1530  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Len", reflect.TypeOf((*MockMutableSeriesIterators)(nil).Len))
  1531  }
  1532  
  1533  // Reset mocks base method.
  1534  func (m *MockMutableSeriesIterators) Reset(size int) {
  1535  	m.ctrl.T.Helper()
  1536  	m.ctrl.Call(m, "Reset", size)
  1537  }
  1538  
  1539  // Reset indicates an expected call of Reset.
  1540  func (mr *MockMutableSeriesIteratorsMockRecorder) Reset(size interface{}) *gomock.Call {
  1541  	mr.mock.ctrl.T.Helper()
  1542  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockMutableSeriesIterators)(nil).Reset), size)
  1543  }
  1544  
  1545  // SetAt mocks base method.
  1546  func (m *MockMutableSeriesIterators) SetAt(idx int, iter SeriesIterator) {
  1547  	m.ctrl.T.Helper()
  1548  	m.ctrl.Call(m, "SetAt", idx, iter)
  1549  }
  1550  
  1551  // SetAt indicates an expected call of SetAt.
  1552  func (mr *MockMutableSeriesIteratorsMockRecorder) SetAt(idx, iter interface{}) *gomock.Call {
  1553  	mr.mock.ctrl.T.Helper()
  1554  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAt", reflect.TypeOf((*MockMutableSeriesIterators)(nil).SetAt), idx, iter)
  1555  }
  1556  
  1557  // MockDecoder is a mock of Decoder interface.
  1558  type MockDecoder struct {
  1559  	ctrl     *gomock.Controller
  1560  	recorder *MockDecoderMockRecorder
  1561  }
  1562  
  1563  // MockDecoderMockRecorder is the mock recorder for MockDecoder.
  1564  type MockDecoderMockRecorder struct {
  1565  	mock *MockDecoder
  1566  }
  1567  
  1568  // NewMockDecoder creates a new mock instance.
  1569  func NewMockDecoder(ctrl *gomock.Controller) *MockDecoder {
  1570  	mock := &MockDecoder{ctrl: ctrl}
  1571  	mock.recorder = &MockDecoderMockRecorder{mock}
  1572  	return mock
  1573  }
  1574  
  1575  // EXPECT returns an object that allows the caller to indicate expected use.
  1576  func (m *MockDecoder) EXPECT() *MockDecoderMockRecorder {
  1577  	return m.recorder
  1578  }
  1579  
  1580  // Decode mocks base method.
  1581  func (m *MockDecoder) Decode(reader xio.Reader64) ReaderIterator {
  1582  	m.ctrl.T.Helper()
  1583  	ret := m.ctrl.Call(m, "Decode", reader)
  1584  	ret0, _ := ret[0].(ReaderIterator)
  1585  	return ret0
  1586  }
  1587  
  1588  // Decode indicates an expected call of Decode.
  1589  func (mr *MockDecoderMockRecorder) Decode(reader interface{}) *gomock.Call {
  1590  	mr.mock.ctrl.T.Helper()
  1591  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Decode", reflect.TypeOf((*MockDecoder)(nil).Decode), reader)
  1592  }
  1593  
  1594  // MockOStream is a mock of OStream interface.
  1595  type MockOStream struct {
  1596  	ctrl     *gomock.Controller
  1597  	recorder *MockOStreamMockRecorder
  1598  }
  1599  
  1600  // MockOStreamMockRecorder is the mock recorder for MockOStream.
  1601  type MockOStreamMockRecorder struct {
  1602  	mock *MockOStream
  1603  }
  1604  
  1605  // NewMockOStream creates a new mock instance.
  1606  func NewMockOStream(ctrl *gomock.Controller) *MockOStream {
  1607  	mock := &MockOStream{ctrl: ctrl}
  1608  	mock.recorder = &MockOStreamMockRecorder{mock}
  1609  	return mock
  1610  }
  1611  
  1612  // EXPECT returns an object that allows the caller to indicate expected use.
  1613  func (m *MockOStream) EXPECT() *MockOStreamMockRecorder {
  1614  	return m.recorder
  1615  }
  1616  
  1617  // CheckedBytes mocks base method.
  1618  func (m *MockOStream) CheckedBytes() (checked.Bytes, int) {
  1619  	m.ctrl.T.Helper()
  1620  	ret := m.ctrl.Call(m, "CheckedBytes")
  1621  	ret0, _ := ret[0].(checked.Bytes)
  1622  	ret1, _ := ret[1].(int)
  1623  	return ret0, ret1
  1624  }
  1625  
  1626  // CheckedBytes indicates an expected call of CheckedBytes.
  1627  func (mr *MockOStreamMockRecorder) CheckedBytes() *gomock.Call {
  1628  	mr.mock.ctrl.T.Helper()
  1629  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytes", reflect.TypeOf((*MockOStream)(nil).CheckedBytes))
  1630  }
  1631  
  1632  // Discard mocks base method.
  1633  func (m *MockOStream) Discard() checked.Bytes {
  1634  	m.ctrl.T.Helper()
  1635  	ret := m.ctrl.Call(m, "Discard")
  1636  	ret0, _ := ret[0].(checked.Bytes)
  1637  	return ret0
  1638  }
  1639  
  1640  // Discard indicates an expected call of Discard.
  1641  func (mr *MockOStreamMockRecorder) Discard() *gomock.Call {
  1642  	mr.mock.ctrl.T.Helper()
  1643  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Discard", reflect.TypeOf((*MockOStream)(nil).Discard))
  1644  }
  1645  
  1646  // Empty mocks base method.
  1647  func (m *MockOStream) Empty() bool {
  1648  	m.ctrl.T.Helper()
  1649  	ret := m.ctrl.Call(m, "Empty")
  1650  	ret0, _ := ret[0].(bool)
  1651  	return ret0
  1652  }
  1653  
  1654  // Empty indicates an expected call of Empty.
  1655  func (mr *MockOStreamMockRecorder) Empty() *gomock.Call {
  1656  	mr.mock.ctrl.T.Helper()
  1657  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Empty", reflect.TypeOf((*MockOStream)(nil).Empty))
  1658  }
  1659  
  1660  // Len mocks base method.
  1661  func (m *MockOStream) Len() int {
  1662  	m.ctrl.T.Helper()
  1663  	ret := m.ctrl.Call(m, "Len")
  1664  	ret0, _ := ret[0].(int)
  1665  	return ret0
  1666  }
  1667  
  1668  // Len indicates an expected call of Len.
  1669  func (mr *MockOStreamMockRecorder) Len() *gomock.Call {
  1670  	mr.mock.ctrl.T.Helper()
  1671  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Len", reflect.TypeOf((*MockOStream)(nil).Len))
  1672  }
  1673  
  1674  // RawBytes mocks base method.
  1675  func (m *MockOStream) RawBytes() ([]byte, int) {
  1676  	m.ctrl.T.Helper()
  1677  	ret := m.ctrl.Call(m, "RawBytes")
  1678  	ret0, _ := ret[0].([]byte)
  1679  	ret1, _ := ret[1].(int)
  1680  	return ret0, ret1
  1681  }
  1682  
  1683  // RawBytes indicates an expected call of RawBytes.
  1684  func (mr *MockOStreamMockRecorder) RawBytes() *gomock.Call {
  1685  	mr.mock.ctrl.T.Helper()
  1686  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RawBytes", reflect.TypeOf((*MockOStream)(nil).RawBytes))
  1687  }
  1688  
  1689  // Reset mocks base method.
  1690  func (m *MockOStream) Reset(buffer checked.Bytes) {
  1691  	m.ctrl.T.Helper()
  1692  	m.ctrl.Call(m, "Reset", buffer)
  1693  }
  1694  
  1695  // Reset indicates an expected call of Reset.
  1696  func (mr *MockOStreamMockRecorder) Reset(buffer interface{}) *gomock.Call {
  1697  	mr.mock.ctrl.T.Helper()
  1698  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reset", reflect.TypeOf((*MockOStream)(nil).Reset), buffer)
  1699  }
  1700  
  1701  // Write mocks base method.
  1702  func (m *MockOStream) Write(bytes []byte) (int, error) {
  1703  	m.ctrl.T.Helper()
  1704  	ret := m.ctrl.Call(m, "Write", bytes)
  1705  	ret0, _ := ret[0].(int)
  1706  	ret1, _ := ret[1].(error)
  1707  	return ret0, ret1
  1708  }
  1709  
  1710  // Write indicates an expected call of Write.
  1711  func (mr *MockOStreamMockRecorder) Write(bytes interface{}) *gomock.Call {
  1712  	mr.mock.ctrl.T.Helper()
  1713  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockOStream)(nil).Write), bytes)
  1714  }
  1715  
  1716  // WriteBit mocks base method.
  1717  func (m *MockOStream) WriteBit(v Bit) {
  1718  	m.ctrl.T.Helper()
  1719  	m.ctrl.Call(m, "WriteBit", v)
  1720  }
  1721  
  1722  // WriteBit indicates an expected call of WriteBit.
  1723  func (mr *MockOStreamMockRecorder) WriteBit(v interface{}) *gomock.Call {
  1724  	mr.mock.ctrl.T.Helper()
  1725  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteBit", reflect.TypeOf((*MockOStream)(nil).WriteBit), v)
  1726  }
  1727  
  1728  // WriteBits mocks base method.
  1729  func (m *MockOStream) WriteBits(v uint64, numBits int) {
  1730  	m.ctrl.T.Helper()
  1731  	m.ctrl.Call(m, "WriteBits", v, numBits)
  1732  }
  1733  
  1734  // WriteBits indicates an expected call of WriteBits.
  1735  func (mr *MockOStreamMockRecorder) WriteBits(v, numBits interface{}) *gomock.Call {
  1736  	mr.mock.ctrl.T.Helper()
  1737  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteBits", reflect.TypeOf((*MockOStream)(nil).WriteBits), v, numBits)
  1738  }
  1739  
  1740  // WriteByte mocks base method.
  1741  func (m *MockOStream) WriteByte(v byte) {
  1742  	m.ctrl.T.Helper()
  1743  	m.ctrl.Call(m, "WriteByte", v)
  1744  }
  1745  
  1746  // WriteByte indicates an expected call of WriteByte.
  1747  func (mr *MockOStreamMockRecorder) WriteByte(v interface{}) *gomock.Call {
  1748  	mr.mock.ctrl.T.Helper()
  1749  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteByte", reflect.TypeOf((*MockOStream)(nil).WriteByte), v)
  1750  }
  1751  
  1752  // WriteBytes mocks base method.
  1753  func (m *MockOStream) WriteBytes(bytes []byte) {
  1754  	m.ctrl.T.Helper()
  1755  	m.ctrl.Call(m, "WriteBytes", bytes)
  1756  }
  1757  
  1758  // WriteBytes indicates an expected call of WriteBytes.
  1759  func (mr *MockOStreamMockRecorder) WriteBytes(bytes interface{}) *gomock.Call {
  1760  	mr.mock.ctrl.T.Helper()
  1761  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteBytes", reflect.TypeOf((*MockOStream)(nil).WriteBytes), bytes)
  1762  }
  1763  
  1764  // MockEncoderPool is a mock of EncoderPool interface.
  1765  type MockEncoderPool struct {
  1766  	ctrl     *gomock.Controller
  1767  	recorder *MockEncoderPoolMockRecorder
  1768  }
  1769  
  1770  // MockEncoderPoolMockRecorder is the mock recorder for MockEncoderPool.
  1771  type MockEncoderPoolMockRecorder struct {
  1772  	mock *MockEncoderPool
  1773  }
  1774  
  1775  // NewMockEncoderPool creates a new mock instance.
  1776  func NewMockEncoderPool(ctrl *gomock.Controller) *MockEncoderPool {
  1777  	mock := &MockEncoderPool{ctrl: ctrl}
  1778  	mock.recorder = &MockEncoderPoolMockRecorder{mock}
  1779  	return mock
  1780  }
  1781  
  1782  // EXPECT returns an object that allows the caller to indicate expected use.
  1783  func (m *MockEncoderPool) EXPECT() *MockEncoderPoolMockRecorder {
  1784  	return m.recorder
  1785  }
  1786  
  1787  // Get mocks base method.
  1788  func (m *MockEncoderPool) Get() Encoder {
  1789  	m.ctrl.T.Helper()
  1790  	ret := m.ctrl.Call(m, "Get")
  1791  	ret0, _ := ret[0].(Encoder)
  1792  	return ret0
  1793  }
  1794  
  1795  // Get indicates an expected call of Get.
  1796  func (mr *MockEncoderPoolMockRecorder) Get() *gomock.Call {
  1797  	mr.mock.ctrl.T.Helper()
  1798  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockEncoderPool)(nil).Get))
  1799  }
  1800  
  1801  // Init mocks base method.
  1802  func (m *MockEncoderPool) Init(alloc EncoderAllocate) {
  1803  	m.ctrl.T.Helper()
  1804  	m.ctrl.Call(m, "Init", alloc)
  1805  }
  1806  
  1807  // Init indicates an expected call of Init.
  1808  func (mr *MockEncoderPoolMockRecorder) Init(alloc interface{}) *gomock.Call {
  1809  	mr.mock.ctrl.T.Helper()
  1810  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockEncoderPool)(nil).Init), alloc)
  1811  }
  1812  
  1813  // Put mocks base method.
  1814  func (m *MockEncoderPool) Put(e Encoder) {
  1815  	m.ctrl.T.Helper()
  1816  	m.ctrl.Call(m, "Put", e)
  1817  }
  1818  
  1819  // Put indicates an expected call of Put.
  1820  func (mr *MockEncoderPoolMockRecorder) Put(e interface{}) *gomock.Call {
  1821  	mr.mock.ctrl.T.Helper()
  1822  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockEncoderPool)(nil).Put), e)
  1823  }
  1824  
  1825  // MockReaderIteratorPool is a mock of ReaderIteratorPool interface.
  1826  type MockReaderIteratorPool struct {
  1827  	ctrl     *gomock.Controller
  1828  	recorder *MockReaderIteratorPoolMockRecorder
  1829  }
  1830  
  1831  // MockReaderIteratorPoolMockRecorder is the mock recorder for MockReaderIteratorPool.
  1832  type MockReaderIteratorPoolMockRecorder struct {
  1833  	mock *MockReaderIteratorPool
  1834  }
  1835  
  1836  // NewMockReaderIteratorPool creates a new mock instance.
  1837  func NewMockReaderIteratorPool(ctrl *gomock.Controller) *MockReaderIteratorPool {
  1838  	mock := &MockReaderIteratorPool{ctrl: ctrl}
  1839  	mock.recorder = &MockReaderIteratorPoolMockRecorder{mock}
  1840  	return mock
  1841  }
  1842  
  1843  // EXPECT returns an object that allows the caller to indicate expected use.
  1844  func (m *MockReaderIteratorPool) EXPECT() *MockReaderIteratorPoolMockRecorder {
  1845  	return m.recorder
  1846  }
  1847  
  1848  // Get mocks base method.
  1849  func (m *MockReaderIteratorPool) Get() ReaderIterator {
  1850  	m.ctrl.T.Helper()
  1851  	ret := m.ctrl.Call(m, "Get")
  1852  	ret0, _ := ret[0].(ReaderIterator)
  1853  	return ret0
  1854  }
  1855  
  1856  // Get indicates an expected call of Get.
  1857  func (mr *MockReaderIteratorPoolMockRecorder) Get() *gomock.Call {
  1858  	mr.mock.ctrl.T.Helper()
  1859  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockReaderIteratorPool)(nil).Get))
  1860  }
  1861  
  1862  // Init mocks base method.
  1863  func (m *MockReaderIteratorPool) Init(alloc ReaderIteratorAllocate) {
  1864  	m.ctrl.T.Helper()
  1865  	m.ctrl.Call(m, "Init", alloc)
  1866  }
  1867  
  1868  // Init indicates an expected call of Init.
  1869  func (mr *MockReaderIteratorPoolMockRecorder) Init(alloc interface{}) *gomock.Call {
  1870  	mr.mock.ctrl.T.Helper()
  1871  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockReaderIteratorPool)(nil).Init), alloc)
  1872  }
  1873  
  1874  // Put mocks base method.
  1875  func (m *MockReaderIteratorPool) Put(iter ReaderIterator) {
  1876  	m.ctrl.T.Helper()
  1877  	m.ctrl.Call(m, "Put", iter)
  1878  }
  1879  
  1880  // Put indicates an expected call of Put.
  1881  func (mr *MockReaderIteratorPoolMockRecorder) Put(iter interface{}) *gomock.Call {
  1882  	mr.mock.ctrl.T.Helper()
  1883  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockReaderIteratorPool)(nil).Put), iter)
  1884  }
  1885  
  1886  // MockMultiReaderIteratorPool is a mock of MultiReaderIteratorPool interface.
  1887  type MockMultiReaderIteratorPool struct {
  1888  	ctrl     *gomock.Controller
  1889  	recorder *MockMultiReaderIteratorPoolMockRecorder
  1890  }
  1891  
  1892  // MockMultiReaderIteratorPoolMockRecorder is the mock recorder for MockMultiReaderIteratorPool.
  1893  type MockMultiReaderIteratorPoolMockRecorder struct {
  1894  	mock *MockMultiReaderIteratorPool
  1895  }
  1896  
  1897  // NewMockMultiReaderIteratorPool creates a new mock instance.
  1898  func NewMockMultiReaderIteratorPool(ctrl *gomock.Controller) *MockMultiReaderIteratorPool {
  1899  	mock := &MockMultiReaderIteratorPool{ctrl: ctrl}
  1900  	mock.recorder = &MockMultiReaderIteratorPoolMockRecorder{mock}
  1901  	return mock
  1902  }
  1903  
  1904  // EXPECT returns an object that allows the caller to indicate expected use.
  1905  func (m *MockMultiReaderIteratorPool) EXPECT() *MockMultiReaderIteratorPoolMockRecorder {
  1906  	return m.recorder
  1907  }
  1908  
  1909  // Get mocks base method.
  1910  func (m *MockMultiReaderIteratorPool) Get() MultiReaderIterator {
  1911  	m.ctrl.T.Helper()
  1912  	ret := m.ctrl.Call(m, "Get")
  1913  	ret0, _ := ret[0].(MultiReaderIterator)
  1914  	return ret0
  1915  }
  1916  
  1917  // Get indicates an expected call of Get.
  1918  func (mr *MockMultiReaderIteratorPoolMockRecorder) Get() *gomock.Call {
  1919  	mr.mock.ctrl.T.Helper()
  1920  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockMultiReaderIteratorPool)(nil).Get))
  1921  }
  1922  
  1923  // Init mocks base method.
  1924  func (m *MockMultiReaderIteratorPool) Init(alloc ReaderIteratorAllocate) {
  1925  	m.ctrl.T.Helper()
  1926  	m.ctrl.Call(m, "Init", alloc)
  1927  }
  1928  
  1929  // Init indicates an expected call of Init.
  1930  func (mr *MockMultiReaderIteratorPoolMockRecorder) Init(alloc interface{}) *gomock.Call {
  1931  	mr.mock.ctrl.T.Helper()
  1932  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockMultiReaderIteratorPool)(nil).Init), alloc)
  1933  }
  1934  
  1935  // Put mocks base method.
  1936  func (m *MockMultiReaderIteratorPool) Put(iter MultiReaderIterator) {
  1937  	m.ctrl.T.Helper()
  1938  	m.ctrl.Call(m, "Put", iter)
  1939  }
  1940  
  1941  // Put indicates an expected call of Put.
  1942  func (mr *MockMultiReaderIteratorPoolMockRecorder) Put(iter interface{}) *gomock.Call {
  1943  	mr.mock.ctrl.T.Helper()
  1944  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockMultiReaderIteratorPool)(nil).Put), iter)
  1945  }
  1946  
  1947  // MockSeriesIteratorPool is a mock of SeriesIteratorPool interface.
  1948  type MockSeriesIteratorPool struct {
  1949  	ctrl     *gomock.Controller
  1950  	recorder *MockSeriesIteratorPoolMockRecorder
  1951  }
  1952  
  1953  // MockSeriesIteratorPoolMockRecorder is the mock recorder for MockSeriesIteratorPool.
  1954  type MockSeriesIteratorPoolMockRecorder struct {
  1955  	mock *MockSeriesIteratorPool
  1956  }
  1957  
  1958  // NewMockSeriesIteratorPool creates a new mock instance.
  1959  func NewMockSeriesIteratorPool(ctrl *gomock.Controller) *MockSeriesIteratorPool {
  1960  	mock := &MockSeriesIteratorPool{ctrl: ctrl}
  1961  	mock.recorder = &MockSeriesIteratorPoolMockRecorder{mock}
  1962  	return mock
  1963  }
  1964  
  1965  // EXPECT returns an object that allows the caller to indicate expected use.
  1966  func (m *MockSeriesIteratorPool) EXPECT() *MockSeriesIteratorPoolMockRecorder {
  1967  	return m.recorder
  1968  }
  1969  
  1970  // Get mocks base method.
  1971  func (m *MockSeriesIteratorPool) Get() SeriesIterator {
  1972  	m.ctrl.T.Helper()
  1973  	ret := m.ctrl.Call(m, "Get")
  1974  	ret0, _ := ret[0].(SeriesIterator)
  1975  	return ret0
  1976  }
  1977  
  1978  // Get indicates an expected call of Get.
  1979  func (mr *MockSeriesIteratorPoolMockRecorder) Get() *gomock.Call {
  1980  	mr.mock.ctrl.T.Helper()
  1981  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockSeriesIteratorPool)(nil).Get))
  1982  }
  1983  
  1984  // Init mocks base method.
  1985  func (m *MockSeriesIteratorPool) Init() {
  1986  	m.ctrl.T.Helper()
  1987  	m.ctrl.Call(m, "Init")
  1988  }
  1989  
  1990  // Init indicates an expected call of Init.
  1991  func (mr *MockSeriesIteratorPoolMockRecorder) Init() *gomock.Call {
  1992  	mr.mock.ctrl.T.Helper()
  1993  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockSeriesIteratorPool)(nil).Init))
  1994  }
  1995  
  1996  // Put mocks base method.
  1997  func (m *MockSeriesIteratorPool) Put(iter SeriesIterator) {
  1998  	m.ctrl.T.Helper()
  1999  	m.ctrl.Call(m, "Put", iter)
  2000  }
  2001  
  2002  // Put indicates an expected call of Put.
  2003  func (mr *MockSeriesIteratorPoolMockRecorder) Put(iter interface{}) *gomock.Call {
  2004  	mr.mock.ctrl.T.Helper()
  2005  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockSeriesIteratorPool)(nil).Put), iter)
  2006  }
  2007  
  2008  // MockMultiReaderIteratorArrayPool is a mock of MultiReaderIteratorArrayPool interface.
  2009  type MockMultiReaderIteratorArrayPool struct {
  2010  	ctrl     *gomock.Controller
  2011  	recorder *MockMultiReaderIteratorArrayPoolMockRecorder
  2012  }
  2013  
  2014  // MockMultiReaderIteratorArrayPoolMockRecorder is the mock recorder for MockMultiReaderIteratorArrayPool.
  2015  type MockMultiReaderIteratorArrayPoolMockRecorder struct {
  2016  	mock *MockMultiReaderIteratorArrayPool
  2017  }
  2018  
  2019  // NewMockMultiReaderIteratorArrayPool creates a new mock instance.
  2020  func NewMockMultiReaderIteratorArrayPool(ctrl *gomock.Controller) *MockMultiReaderIteratorArrayPool {
  2021  	mock := &MockMultiReaderIteratorArrayPool{ctrl: ctrl}
  2022  	mock.recorder = &MockMultiReaderIteratorArrayPoolMockRecorder{mock}
  2023  	return mock
  2024  }
  2025  
  2026  // EXPECT returns an object that allows the caller to indicate expected use.
  2027  func (m *MockMultiReaderIteratorArrayPool) EXPECT() *MockMultiReaderIteratorArrayPoolMockRecorder {
  2028  	return m.recorder
  2029  }
  2030  
  2031  // Get mocks base method.
  2032  func (m *MockMultiReaderIteratorArrayPool) Get(size int) []MultiReaderIterator {
  2033  	m.ctrl.T.Helper()
  2034  	ret := m.ctrl.Call(m, "Get", size)
  2035  	ret0, _ := ret[0].([]MultiReaderIterator)
  2036  	return ret0
  2037  }
  2038  
  2039  // Get indicates an expected call of Get.
  2040  func (mr *MockMultiReaderIteratorArrayPoolMockRecorder) Get(size interface{}) *gomock.Call {
  2041  	mr.mock.ctrl.T.Helper()
  2042  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockMultiReaderIteratorArrayPool)(nil).Get), size)
  2043  }
  2044  
  2045  // Init mocks base method.
  2046  func (m *MockMultiReaderIteratorArrayPool) Init() {
  2047  	m.ctrl.T.Helper()
  2048  	m.ctrl.Call(m, "Init")
  2049  }
  2050  
  2051  // Init indicates an expected call of Init.
  2052  func (mr *MockMultiReaderIteratorArrayPoolMockRecorder) Init() *gomock.Call {
  2053  	mr.mock.ctrl.T.Helper()
  2054  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Init", reflect.TypeOf((*MockMultiReaderIteratorArrayPool)(nil).Init))
  2055  }
  2056  
  2057  // Put mocks base method.
  2058  func (m *MockMultiReaderIteratorArrayPool) Put(iters []MultiReaderIterator) {
  2059  	m.ctrl.T.Helper()
  2060  	m.ctrl.Call(m, "Put", iters)
  2061  }
  2062  
  2063  // Put indicates an expected call of Put.
  2064  func (mr *MockMultiReaderIteratorArrayPoolMockRecorder) Put(iters interface{}) *gomock.Call {
  2065  	mr.mock.ctrl.T.Helper()
  2066  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockMultiReaderIteratorArrayPool)(nil).Put), iters)
  2067  }
  2068  
  2069  // MockIteratorPools is a mock of IteratorPools interface.
  2070  type MockIteratorPools struct {
  2071  	ctrl     *gomock.Controller
  2072  	recorder *MockIteratorPoolsMockRecorder
  2073  }
  2074  
  2075  // MockIteratorPoolsMockRecorder is the mock recorder for MockIteratorPools.
  2076  type MockIteratorPoolsMockRecorder struct {
  2077  	mock *MockIteratorPools
  2078  }
  2079  
  2080  // NewMockIteratorPools creates a new mock instance.
  2081  func NewMockIteratorPools(ctrl *gomock.Controller) *MockIteratorPools {
  2082  	mock := &MockIteratorPools{ctrl: ctrl}
  2083  	mock.recorder = &MockIteratorPoolsMockRecorder{mock}
  2084  	return mock
  2085  }
  2086  
  2087  // EXPECT returns an object that allows the caller to indicate expected use.
  2088  func (m *MockIteratorPools) EXPECT() *MockIteratorPoolsMockRecorder {
  2089  	return m.recorder
  2090  }
  2091  
  2092  // CheckedBytesWrapper mocks base method.
  2093  func (m *MockIteratorPools) CheckedBytesWrapper() xpool.CheckedBytesWrapperPool {
  2094  	m.ctrl.T.Helper()
  2095  	ret := m.ctrl.Call(m, "CheckedBytesWrapper")
  2096  	ret0, _ := ret[0].(xpool.CheckedBytesWrapperPool)
  2097  	return ret0
  2098  }
  2099  
  2100  // CheckedBytesWrapper indicates an expected call of CheckedBytesWrapper.
  2101  func (mr *MockIteratorPoolsMockRecorder) CheckedBytesWrapper() *gomock.Call {
  2102  	mr.mock.ctrl.T.Helper()
  2103  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckedBytesWrapper", reflect.TypeOf((*MockIteratorPools)(nil).CheckedBytesWrapper))
  2104  }
  2105  
  2106  // ID mocks base method.
  2107  func (m *MockIteratorPools) ID() ident.Pool {
  2108  	m.ctrl.T.Helper()
  2109  	ret := m.ctrl.Call(m, "ID")
  2110  	ret0, _ := ret[0].(ident.Pool)
  2111  	return ret0
  2112  }
  2113  
  2114  // ID indicates an expected call of ID.
  2115  func (mr *MockIteratorPoolsMockRecorder) ID() *gomock.Call {
  2116  	mr.mock.ctrl.T.Helper()
  2117  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ID", reflect.TypeOf((*MockIteratorPools)(nil).ID))
  2118  }
  2119  
  2120  // MultiReaderIterator mocks base method.
  2121  func (m *MockIteratorPools) MultiReaderIterator() MultiReaderIteratorPool {
  2122  	m.ctrl.T.Helper()
  2123  	ret := m.ctrl.Call(m, "MultiReaderIterator")
  2124  	ret0, _ := ret[0].(MultiReaderIteratorPool)
  2125  	return ret0
  2126  }
  2127  
  2128  // MultiReaderIterator indicates an expected call of MultiReaderIterator.
  2129  func (mr *MockIteratorPoolsMockRecorder) MultiReaderIterator() *gomock.Call {
  2130  	mr.mock.ctrl.T.Helper()
  2131  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MultiReaderIterator", reflect.TypeOf((*MockIteratorPools)(nil).MultiReaderIterator))
  2132  }
  2133  
  2134  // MultiReaderIteratorArray mocks base method.
  2135  func (m *MockIteratorPools) MultiReaderIteratorArray() MultiReaderIteratorArrayPool {
  2136  	m.ctrl.T.Helper()
  2137  	ret := m.ctrl.Call(m, "MultiReaderIteratorArray")
  2138  	ret0, _ := ret[0].(MultiReaderIteratorArrayPool)
  2139  	return ret0
  2140  }
  2141  
  2142  // MultiReaderIteratorArray indicates an expected call of MultiReaderIteratorArray.
  2143  func (mr *MockIteratorPoolsMockRecorder) MultiReaderIteratorArray() *gomock.Call {
  2144  	mr.mock.ctrl.T.Helper()
  2145  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MultiReaderIteratorArray", reflect.TypeOf((*MockIteratorPools)(nil).MultiReaderIteratorArray))
  2146  }
  2147  
  2148  // SeriesIterator mocks base method.
  2149  func (m *MockIteratorPools) SeriesIterator() SeriesIteratorPool {
  2150  	m.ctrl.T.Helper()
  2151  	ret := m.ctrl.Call(m, "SeriesIterator")
  2152  	ret0, _ := ret[0].(SeriesIteratorPool)
  2153  	return ret0
  2154  }
  2155  
  2156  // SeriesIterator indicates an expected call of SeriesIterator.
  2157  func (mr *MockIteratorPoolsMockRecorder) SeriesIterator() *gomock.Call {
  2158  	mr.mock.ctrl.T.Helper()
  2159  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SeriesIterator", reflect.TypeOf((*MockIteratorPools)(nil).SeriesIterator))
  2160  }
  2161  
  2162  // TagDecoder mocks base method.
  2163  func (m *MockIteratorPools) TagDecoder() serialize.TagDecoderPool {
  2164  	m.ctrl.T.Helper()
  2165  	ret := m.ctrl.Call(m, "TagDecoder")
  2166  	ret0, _ := ret[0].(serialize.TagDecoderPool)
  2167  	return ret0
  2168  }
  2169  
  2170  // TagDecoder indicates an expected call of TagDecoder.
  2171  func (mr *MockIteratorPoolsMockRecorder) TagDecoder() *gomock.Call {
  2172  	mr.mock.ctrl.T.Helper()
  2173  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagDecoder", reflect.TypeOf((*MockIteratorPools)(nil).TagDecoder))
  2174  }
  2175  
  2176  // TagEncoder mocks base method.
  2177  func (m *MockIteratorPools) TagEncoder() serialize.TagEncoderPool {
  2178  	m.ctrl.T.Helper()
  2179  	ret := m.ctrl.Call(m, "TagEncoder")
  2180  	ret0, _ := ret[0].(serialize.TagEncoderPool)
  2181  	return ret0
  2182  }
  2183  
  2184  // TagEncoder indicates an expected call of TagEncoder.
  2185  func (mr *MockIteratorPoolsMockRecorder) TagEncoder() *gomock.Call {
  2186  	mr.mock.ctrl.T.Helper()
  2187  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagEncoder", reflect.TypeOf((*MockIteratorPools)(nil).TagEncoder))
  2188  }