You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mock_loader.go
    path of file: ./repos/milvus/internal/querynodev2/segments
    
    the code of the file until where you have to start completion: // Code generated by mockery v2.32.4. DO NOT EDIT.

package segments

import (
	context "context"

	commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb"

	datapb "github.com/milvus-io/milvus/internal/proto/datapb"

	mock "github.com/stretchr/testify/mock"

	pkoracle "github.com/milvus-io/milvus/internal/querynodev2/pkoracle"

	querypb "github.com/milvus-io/milvus/internal/proto/querypb"
)

// MockLoader is an autogenerated mock type for the Loader type
type MockLoader struct {
	mock.Mock
}

type MockLoader_Expecter struct {
	mock *mock.Mock
}

func (_m *MockLoader) EXPECT() *MockLoader_Expecter {
	return &MockLoader_Expecter{mock: &_m.Mock}
}

// Load provides a mock function with given fields: ctx, collectionID, segmentType, version, segments
func (_m *MockLoader) Load(ctx context.Context, collectionID int64, segmentType commonpb.SegmentState, version int64, segments ...*querypb.SegmentLoadInfo) ([]Segment, error) {
	_va := make([]interface{}, len(segments))
	fo
    
func (_m *MockLoader) LoadBloomFilterSet(ctx context.Context, collectionID int64, version int64, infos ...*querypb.SegmentLoadInfo) ([]*pkoracle.BloomFilterSet, error) {
	_va := make([]interface{}, len(infos))
	for _i := range infos {
		_va[_i] = infos[_i]
	}
	var _ca []interface{}
	_ca = append(_ca, ctx, collectionID, version)
	_ca = append(_ca, _va...)
	ret := _m.Called(_ca...)

	var r0 []*pkoracle.BloomFilterSet
	var r1 error
	if rf, ok := ret.Get(0).(func(context.Context, int64, int64, ...*querypb.SegmentLoadInfo) ([]*pkoracle.BloomFilterSet, error)); ok {
		return rf(ctx, collectionID, version, infos...)
	}
	if rf, ok := ret.Get(0).(func(context.Context, int64, int64, ...*querypb.SegmentLoadInfo) []*pkoracle.BloomFilterSet); ok {
		r0 = rf(ctx, collectionID, version, infos...)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*pkoracle.BloomFilterSet)
		}
	}

	if rf, ok := ret.Get(1).(func(context.Context, int64, int64, ...*querypb.SegmentLoadInfo) error); ok {
		r1 = rf(ctx, collectionID, version, infos...)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}