mock_frontend

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_engine is a generated GoMock package.

Package mock_frontend is a generated GoMock package.

Package mock_goetty is a generated GoMock package.

Package mock_moengine is a generated GoMock package.

Package mock_frontend is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockComputationRunner added in v0.5.0

type MockComputationRunner struct {
	// contains filtered or unexported fields
}

MockComputationRunner is a mock of ComputationRunner interface.

func NewMockComputationRunner added in v0.5.0

func NewMockComputationRunner(ctrl *gomock.Controller) *MockComputationRunner

NewMockComputationRunner creates a new mock instance.

func (*MockComputationRunner) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockComputationRunner) Run added in v0.5.0

func (m *MockComputationRunner) Run(ts uint64) error

Run mocks base method.

type MockComputationRunnerMockRecorder added in v0.5.0

type MockComputationRunnerMockRecorder struct {
	// contains filtered or unexported fields
}

MockComputationRunnerMockRecorder is the mock recorder for MockComputationRunner.

func (*MockComputationRunnerMockRecorder) Run added in v0.5.0

func (mr *MockComputationRunnerMockRecorder) Run(ts interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockComputationWrapper

type MockComputationWrapper struct {
	// contains filtered or unexported fields
}

MockComputationWrapper is a mock of ComputationWrapper interface.

func NewMockComputationWrapper

func NewMockComputationWrapper(ctrl *gomock.Controller) *MockComputationWrapper

NewMockComputationWrapper creates a new mock instance.

func (*MockComputationWrapper) Compile

func (m *MockComputationWrapper) Compile(u interface{}, fill func(interface{}, *batch.Batch) error) (interface{}, error)

Compile mocks base method.

func (*MockComputationWrapper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockComputationWrapper) GetAffectedRows

func (m *MockComputationWrapper) GetAffectedRows() uint64

GetAffectedRows mocks base method.

func (*MockComputationWrapper) GetAst

GetAst mocks base method.

func (*MockComputationWrapper) GetColumns

func (m *MockComputationWrapper) GetColumns() ([]interface{}, error)

GetColumns mocks base method.

func (*MockComputationWrapper) Run

func (m *MockComputationWrapper) Run(ts uint64) error

Run mocks base method.

func (*MockComputationWrapper) SetDatabaseName

func (m *MockComputationWrapper) SetDatabaseName(db string) error

SetDatabaseName mocks base method.

type MockComputationWrapperMockRecorder

type MockComputationWrapperMockRecorder struct {
	// contains filtered or unexported fields
}

MockComputationWrapperMockRecorder is the mock recorder for MockComputationWrapper.

func (*MockComputationWrapperMockRecorder) Compile

func (mr *MockComputationWrapperMockRecorder) Compile(u, fill interface{}) *gomock.Call

Compile indicates an expected call of Compile.

func (*MockComputationWrapperMockRecorder) GetAffectedRows

func (mr *MockComputationWrapperMockRecorder) GetAffectedRows() *gomock.Call

GetAffectedRows indicates an expected call of GetAffectedRows.

func (*MockComputationWrapperMockRecorder) GetAst

GetAst indicates an expected call of GetAst.

func (*MockComputationWrapperMockRecorder) GetColumns

GetColumns indicates an expected call of GetColumns.

func (*MockComputationWrapperMockRecorder) Run

func (mr *MockComputationWrapperMockRecorder) Run(ts interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockComputationWrapperMockRecorder) SetDatabaseName

func (mr *MockComputationWrapperMockRecorder) SetDatabaseName(db interface{}) *gomock.Call

SetDatabaseName indicates an expected call of SetDatabaseName.

type MockDatabase

type MockDatabase struct {
	// contains filtered or unexported fields
}

MockDatabase is a mock of Database interface.

func NewMockDatabase

func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase

NewMockDatabase creates a new mock instance.

func (*MockDatabase) Create

func (m *MockDatabase) Create(arg0 uint64, arg1 string, arg2 []engine.TableDef, arg3 engine.Snapshot) error

Create mocks base method.

func (*MockDatabase) Delete

func (m *MockDatabase) Delete(arg0 uint64, arg1 string, arg2 engine.Snapshot) error

Delete mocks base method.

func (*MockDatabase) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDatabase) Relation

func (m *MockDatabase) Relation(arg0 string, arg1 engine.Snapshot) (engine.Relation, error)

Relation mocks base method.

func (*MockDatabase) Relations

func (m *MockDatabase) Relations(arg0 engine.Snapshot) []string

Relations mocks base method.

type MockDatabaseMockRecorder

type MockDatabaseMockRecorder struct {
	// contains filtered or unexported fields
}

MockDatabaseMockRecorder is the mock recorder for MockDatabase.

func (*MockDatabaseMockRecorder) Create

func (mr *MockDatabaseMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockDatabaseMockRecorder) Delete

func (mr *MockDatabaseMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDatabaseMockRecorder) Relation

func (mr *MockDatabaseMockRecorder) Relation(arg0, arg1 interface{}) *gomock.Call

Relation indicates an expected call of Relation.

func (*MockDatabaseMockRecorder) Relations

func (mr *MockDatabaseMockRecorder) Relations(arg0 interface{}) *gomock.Call

Relations indicates an expected call of Relations.

type MockEngine

type MockEngine struct {
	// contains filtered or unexported fields
}

MockEngine is a mock of Engine interface.

func NewMockEngine

func NewMockEngine(ctrl *gomock.Controller) *MockEngine

NewMockEngine creates a new mock instance.

func (*MockEngine) Create

func (m *MockEngine) Create(arg0 uint64, arg1 string, arg2 int, arg3 engine.Snapshot) error

Create mocks base method.

func (*MockEngine) Database

func (m *MockEngine) Database(arg0 string, arg1 engine.Snapshot) (engine.Database, error)

Database mocks base method.

func (*MockEngine) Databases

func (m *MockEngine) Databases(arg0 engine.Snapshot) []string

Databases mocks base method.

func (*MockEngine) Delete

func (m *MockEngine) Delete(arg0 uint64, arg1 string, arg2 engine.Snapshot) error

Delete mocks base method.

func (*MockEngine) EXPECT

func (m *MockEngine) EXPECT() *MockEngineMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEngine) Node

func (m *MockEngine) Node(arg0 string, arg1 engine.Snapshot) *engine.NodeInfo

Node mocks base method.

type MockEngineMockRecorder

type MockEngineMockRecorder struct {
	// contains filtered or unexported fields
}

MockEngineMockRecorder is the mock recorder for MockEngine.

func (*MockEngineMockRecorder) Create

func (mr *MockEngineMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockEngineMockRecorder) Database

func (mr *MockEngineMockRecorder) Database(arg0, arg1 interface{}) *gomock.Call

Database indicates an expected call of Database.

func (*MockEngineMockRecorder) Databases

func (mr *MockEngineMockRecorder) Databases(arg0 interface{}) *gomock.Call

Databases indicates an expected call of Databases.

func (*MockEngineMockRecorder) Delete

func (mr *MockEngineMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockEngineMockRecorder) Node

func (mr *MockEngineMockRecorder) Node(arg0, arg1 interface{}) *gomock.Call

Node indicates an expected call of Node.

type MockFilter

type MockFilter struct {
	// contains filtered or unexported fields
}

MockFilter is a mock of Filter interface.

func NewMockFilter

func NewMockFilter(ctrl *gomock.Controller) *MockFilter

NewMockFilter creates a new mock instance.

func (*MockFilter) Btw

func (m *MockFilter) Btw(arg0 string, arg1, arg2 interface{}) (*roaring64.Bitmap, error)

Btw mocks base method.

func (*MockFilter) EXPECT

func (m *MockFilter) EXPECT() *MockFilterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFilter) Eq

func (m *MockFilter) Eq(arg0 string, arg1 interface{}) (*roaring64.Bitmap, error)

Eq mocks base method.

func (*MockFilter) Ge

func (m *MockFilter) Ge(arg0 string, arg1 interface{}) (*roaring64.Bitmap, error)

Ge mocks base method.

func (*MockFilter) Gt

func (m *MockFilter) Gt(arg0 string, arg1 interface{}) (*roaring64.Bitmap, error)

Gt mocks base method.

func (*MockFilter) Le

func (m *MockFilter) Le(arg0 string, arg1 interface{}) (*roaring64.Bitmap, error)

Le mocks base method.

func (*MockFilter) Lt

func (m *MockFilter) Lt(arg0 string, arg1 interface{}) (*roaring64.Bitmap, error)

Lt mocks base method.

func (*MockFilter) Ne

func (m *MockFilter) Ne(arg0 string, arg1 interface{}) (*roaring64.Bitmap, error)

Ne mocks base method.

type MockFilterMockRecorder

type MockFilterMockRecorder struct {
	// contains filtered or unexported fields
}

MockFilterMockRecorder is the mock recorder for MockFilter.

func (*MockFilterMockRecorder) Btw

func (mr *MockFilterMockRecorder) Btw(arg0, arg1, arg2 interface{}) *gomock.Call

Btw indicates an expected call of Btw.

func (*MockFilterMockRecorder) Eq

func (mr *MockFilterMockRecorder) Eq(arg0, arg1 interface{}) *gomock.Call

Eq indicates an expected call of Eq.

func (*MockFilterMockRecorder) Ge

func (mr *MockFilterMockRecorder) Ge(arg0, arg1 interface{}) *gomock.Call

Ge indicates an expected call of Ge.

func (*MockFilterMockRecorder) Gt

func (mr *MockFilterMockRecorder) Gt(arg0, arg1 interface{}) *gomock.Call

Gt indicates an expected call of Gt.

func (*MockFilterMockRecorder) Le

func (mr *MockFilterMockRecorder) Le(arg0, arg1 interface{}) *gomock.Call

Le indicates an expected call of Le.

func (*MockFilterMockRecorder) Lt

func (mr *MockFilterMockRecorder) Lt(arg0, arg1 interface{}) *gomock.Call

Lt indicates an expected call of Lt.

func (*MockFilterMockRecorder) Ne

func (mr *MockFilterMockRecorder) Ne(arg0, arg1 interface{}) *gomock.Call

Ne indicates an expected call of Ne.

type MockIOPackage

type MockIOPackage struct {
	// contains filtered or unexported fields
}

MockIOPackage is a mock of IOPackage interface.

func NewMockIOPackage

func NewMockIOPackage(ctrl *gomock.Controller) *MockIOPackage

NewMockIOPackage creates a new mock instance.

func (*MockIOPackage) AppendUint8

func (m *MockIOPackage) AppendUint8(arg0 []byte, arg1 uint8) []byte

AppendUint8 mocks base method.

func (*MockIOPackage) AppendUint16

func (m *MockIOPackage) AppendUint16(arg0 []byte, arg1 uint16) []byte

AppendUint16 mocks base method.

func (*MockIOPackage) AppendUint32

func (m *MockIOPackage) AppendUint32(arg0 []byte, arg1 uint32) []byte

AppendUint32 mocks base method.

func (*MockIOPackage) AppendUint64

func (m *MockIOPackage) AppendUint64(arg0 []byte, arg1 uint64) []byte

AppendUint64 mocks base method.

func (*MockIOPackage) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIOPackage) IsLittleEndian

func (m *MockIOPackage) IsLittleEndian() bool

IsLittleEndian mocks base method.

func (*MockIOPackage) ReadUint8

func (m *MockIOPackage) ReadUint8(arg0 []byte, arg1 int) (uint8, int, bool)

ReadUint8 mocks base method.

func (*MockIOPackage) ReadUint16

func (m *MockIOPackage) ReadUint16(arg0 []byte, arg1 int) (uint16, int, bool)

ReadUint16 mocks base method.

func (*MockIOPackage) ReadUint32

func (m *MockIOPackage) ReadUint32(arg0 []byte, arg1 int) (uint32, int, bool)

ReadUint32 mocks base method.

func (*MockIOPackage) ReadUint64

func (m *MockIOPackage) ReadUint64(arg0 []byte, arg1 int) (uint64, int, bool)

ReadUint64 mocks base method.

func (*MockIOPackage) WriteUint8

func (m *MockIOPackage) WriteUint8(arg0 []byte, arg1 int, arg2 uint8) int

WriteUint8 mocks base method.

func (*MockIOPackage) WriteUint16

func (m *MockIOPackage) WriteUint16(arg0 []byte, arg1 int, arg2 uint16) int

WriteUint16 mocks base method.

func (*MockIOPackage) WriteUint32

func (m *MockIOPackage) WriteUint32(arg0 []byte, arg1 int, arg2 uint32) int

WriteUint32 mocks base method.

func (*MockIOPackage) WriteUint64

func (m *MockIOPackage) WriteUint64(arg0 []byte, arg1 int, arg2 uint64) int

WriteUint64 mocks base method.

type MockIOPackageMockRecorder

type MockIOPackageMockRecorder struct {
	// contains filtered or unexported fields
}

MockIOPackageMockRecorder is the mock recorder for MockIOPackage.

func (*MockIOPackageMockRecorder) AppendUint8

func (mr *MockIOPackageMockRecorder) AppendUint8(arg0, arg1 interface{}) *gomock.Call

AppendUint8 indicates an expected call of AppendUint8.

func (*MockIOPackageMockRecorder) AppendUint16

func (mr *MockIOPackageMockRecorder) AppendUint16(arg0, arg1 interface{}) *gomock.Call

AppendUint16 indicates an expected call of AppendUint16.

func (*MockIOPackageMockRecorder) AppendUint32

func (mr *MockIOPackageMockRecorder) AppendUint32(arg0, arg1 interface{}) *gomock.Call

AppendUint32 indicates an expected call of AppendUint32.

func (*MockIOPackageMockRecorder) AppendUint64

func (mr *MockIOPackageMockRecorder) AppendUint64(arg0, arg1 interface{}) *gomock.Call

AppendUint64 indicates an expected call of AppendUint64.

func (*MockIOPackageMockRecorder) IsLittleEndian

func (mr *MockIOPackageMockRecorder) IsLittleEndian() *gomock.Call

IsLittleEndian indicates an expected call of IsLittleEndian.

func (*MockIOPackageMockRecorder) ReadUint8

func (mr *MockIOPackageMockRecorder) ReadUint8(arg0, arg1 interface{}) *gomock.Call

ReadUint8 indicates an expected call of ReadUint8.

func (*MockIOPackageMockRecorder) ReadUint16

func (mr *MockIOPackageMockRecorder) ReadUint16(arg0, arg1 interface{}) *gomock.Call

ReadUint16 indicates an expected call of ReadUint16.

func (*MockIOPackageMockRecorder) ReadUint32

func (mr *MockIOPackageMockRecorder) ReadUint32(arg0, arg1 interface{}) *gomock.Call

ReadUint32 indicates an expected call of ReadUint32.

func (*MockIOPackageMockRecorder) ReadUint64

func (mr *MockIOPackageMockRecorder) ReadUint64(arg0, arg1 interface{}) *gomock.Call

ReadUint64 indicates an expected call of ReadUint64.

func (*MockIOPackageMockRecorder) WriteUint8

func (mr *MockIOPackageMockRecorder) WriteUint8(arg0, arg1, arg2 interface{}) *gomock.Call

WriteUint8 indicates an expected call of WriteUint8.

func (*MockIOPackageMockRecorder) WriteUint16

func (mr *MockIOPackageMockRecorder) WriteUint16(arg0, arg1, arg2 interface{}) *gomock.Call

WriteUint16 indicates an expected call of WriteUint16.

func (*MockIOPackageMockRecorder) WriteUint32

func (mr *MockIOPackageMockRecorder) WriteUint32(arg0, arg1, arg2 interface{}) *gomock.Call

WriteUint32 indicates an expected call of WriteUint32.

func (*MockIOPackageMockRecorder) WriteUint64

func (mr *MockIOPackageMockRecorder) WriteUint64(arg0, arg1, arg2 interface{}) *gomock.Call

WriteUint64 indicates an expected call of WriteUint64.

type MockIOSession

type MockIOSession struct {
	// contains filtered or unexported fields
}

MockIOSession is a mock of IOSession interface.

func NewMockIOSession

func NewMockIOSession(ctrl *gomock.Controller) *MockIOSession

NewMockIOSession creates a new mock instance.

func (*MockIOSession) Close

func (m *MockIOSession) Close() error

Close mocks base method.

func (*MockIOSession) Connect

func (m *MockIOSession) Connect(addr string, timeout time.Duration) (bool, error)

Connect mocks base method.

func (*MockIOSession) Connected

func (m *MockIOSession) Connected() bool

Connected mocks base method.

func (*MockIOSession) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIOSession) Flush

func (m *MockIOSession) Flush() error

Flush mocks base method.

func (*MockIOSession) GetAttr

func (m *MockIOSession) GetAttr(key string) interface{}

GetAttr mocks base method.

func (*MockIOSession) ID

func (m *MockIOSession) ID() uint64

ID mocks base method.

func (*MockIOSession) InBuf

func (m *MockIOSession) InBuf() *buf.ByteBuf

InBuf mocks base method.

func (*MockIOSession) OutBuf

func (m *MockIOSession) OutBuf() *buf.ByteBuf

OutBuf mocks base method.

func (*MockIOSession) RawConn

func (m *MockIOSession) RawConn() (net.Conn, error)

RawConn mocks base method.

func (*MockIOSession) Read

func (m *MockIOSession) Read() (interface{}, error)

Read mocks base method.

func (*MockIOSession) RemoteAddr

func (m *MockIOSession) RemoteAddr() string

RemoteAddr mocks base method.

func (*MockIOSession) RemoteIP

func (m *MockIOSession) RemoteIP() string

RemoteIP mocks base method.

func (*MockIOSession) SetAttr

func (m *MockIOSession) SetAttr(key string, value interface{})

SetAttr mocks base method.

func (*MockIOSession) Write

func (m *MockIOSession) Write(msg interface{}) error

Write mocks base method.

func (*MockIOSession) WriteAndFlush

func (m *MockIOSession) WriteAndFlush(msg interface{}) error

WriteAndFlush mocks base method.

type MockIOSessionMockRecorder

type MockIOSessionMockRecorder struct {
	// contains filtered or unexported fields
}

MockIOSessionMockRecorder is the mock recorder for MockIOSession.

func (*MockIOSessionMockRecorder) Close

func (mr *MockIOSessionMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockIOSessionMockRecorder) Connect

func (mr *MockIOSessionMockRecorder) Connect(addr, timeout interface{}) *gomock.Call

Connect indicates an expected call of Connect.

func (*MockIOSessionMockRecorder) Connected

func (mr *MockIOSessionMockRecorder) Connected() *gomock.Call

Connected indicates an expected call of Connected.

func (*MockIOSessionMockRecorder) Flush

func (mr *MockIOSessionMockRecorder) Flush() *gomock.Call

Flush indicates an expected call of Flush.

func (*MockIOSessionMockRecorder) GetAttr

func (mr *MockIOSessionMockRecorder) GetAttr(key interface{}) *gomock.Call

GetAttr indicates an expected call of GetAttr.

func (*MockIOSessionMockRecorder) ID

ID indicates an expected call of ID.

func (*MockIOSessionMockRecorder) InBuf

func (mr *MockIOSessionMockRecorder) InBuf() *gomock.Call

InBuf indicates an expected call of InBuf.

func (*MockIOSessionMockRecorder) OutBuf

func (mr *MockIOSessionMockRecorder) OutBuf() *gomock.Call

OutBuf indicates an expected call of OutBuf.

func (*MockIOSessionMockRecorder) RawConn added in v0.5.0

func (mr *MockIOSessionMockRecorder) RawConn() *gomock.Call

RawConn indicates an expected call of RawConn.

func (*MockIOSessionMockRecorder) Read

Read indicates an expected call of Read.

func (*MockIOSessionMockRecorder) RemoteAddr

func (mr *MockIOSessionMockRecorder) RemoteAddr() *gomock.Call

RemoteAddr indicates an expected call of RemoteAddr.

func (*MockIOSessionMockRecorder) RemoteIP

func (mr *MockIOSessionMockRecorder) RemoteIP() *gomock.Call

RemoteIP indicates an expected call of RemoteIP.

func (*MockIOSessionMockRecorder) SetAttr

func (mr *MockIOSessionMockRecorder) SetAttr(key, value interface{}) *gomock.Call

SetAttr indicates an expected call of SetAttr.

func (*MockIOSessionMockRecorder) Write

func (mr *MockIOSessionMockRecorder) Write(msg interface{}) *gomock.Call

Write indicates an expected call of Write.

func (*MockIOSessionMockRecorder) WriteAndFlush

func (mr *MockIOSessionMockRecorder) WriteAndFlush(msg interface{}) *gomock.Call

WriteAndFlush indicates an expected call of WriteAndFlush.

type MockReader

type MockReader struct {
	// contains filtered or unexported fields
}

MockReader is a mock of Reader interface.

func NewMockReader

func NewMockReader(ctrl *gomock.Controller) *MockReader

NewMockReader creates a new mock instance.

func (*MockReader) EXPECT

func (m *MockReader) EXPECT() *MockReaderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReader) Read

func (m *MockReader) Read(arg0 []uint64, arg1 []string) (*batch.Batch, error)

Read mocks base method.

type MockReaderMockRecorder

type MockReaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockReaderMockRecorder is the mock recorder for MockReader.

func (*MockReaderMockRecorder) Read

func (mr *MockReaderMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call

Read indicates an expected call of Read.

type MockRelation

type MockRelation struct {
	// contains filtered or unexported fields
}

MockRelation is a mock of Relation interface.

func NewMockRelation

func NewMockRelation(ctrl *gomock.Controller) *MockRelation

NewMockRelation creates a new mock instance.

func (*MockRelation) AddTableDef

func (m *MockRelation) AddTableDef(arg0 uint64, arg1 engine.TableDef, arg2 engine.Snapshot) error

AddTableDef mocks base method.

func (*MockRelation) Close

func (m *MockRelation) Close(arg0 engine.Snapshot)

Close mocks base method.

func (*MockRelation) DelTableDef

func (m *MockRelation) DelTableDef(arg0 uint64, arg1 engine.TableDef, arg2 engine.Snapshot) error

DelTableDef mocks base method.

func (*MockRelation) Delete added in v0.5.0

func (m *MockRelation) Delete(arg0 uint64, arg1 *vector.Vector, arg2 string, arg3 engine.Snapshot) error

Delete mocks base method.

func (*MockRelation) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRelation) GetHideKey added in v0.5.0

func (m *MockRelation) GetHideKey(arg0 engine.Snapshot) *engine.Attribute

GetHideKey mocks base method.

func (*MockRelation) GetPriKeyOrHideKey

func (m *MockRelation) GetPriKeyOrHideKey(arg0 engine.Snapshot) ([]engine.Attribute, bool)

GetPriKeyOrHideKey mocks base method.

func (*MockRelation) GetPrimaryKeys added in v0.5.0

func (m *MockRelation) GetPrimaryKeys(arg0 engine.Snapshot) []*engine.Attribute

GetPrimaryKeys mocks base method.

func (*MockRelation) ID

func (m *MockRelation) ID(arg0 engine.Snapshot) string

ID mocks base method.

func (*MockRelation) NewReader

func (m *MockRelation) NewReader(arg0 int, arg1 *plan.Expr, arg2 []byte, arg3 engine.Snapshot) []engine.Reader

NewReader mocks base method.

func (*MockRelation) Nodes

func (m *MockRelation) Nodes(arg0 engine.Snapshot) engine.Nodes

Nodes mocks base method.

func (*MockRelation) Rows

func (m *MockRelation) Rows() int64

Rows mocks base method.

func (*MockRelation) Size

func (m *MockRelation) Size(arg0 string) int64

Size mocks base method.

func (*MockRelation) TableDefs

func (m *MockRelation) TableDefs(arg0 engine.Snapshot) []engine.TableDef

TableDefs mocks base method.

func (*MockRelation) Truncate added in v0.5.0

func (m *MockRelation) Truncate(arg0 engine.Snapshot) (uint64, error)

Truncate mocks base method.

func (*MockRelation) Update added in v0.5.0

func (m *MockRelation) Update(arg0 uint64, arg1 *batch.Batch, arg2 engine.Snapshot) error

Update mocks base method.

func (*MockRelation) Write

func (m *MockRelation) Write(arg0 uint64, arg1 *batch.Batch, arg2 engine.Snapshot) error

Write mocks base method.

type MockRelationMockRecorder

type MockRelationMockRecorder struct {
	// contains filtered or unexported fields
}

MockRelationMockRecorder is the mock recorder for MockRelation.

func (*MockRelationMockRecorder) AddTableDef

func (mr *MockRelationMockRecorder) AddTableDef(arg0, arg1, arg2 interface{}) *gomock.Call

AddTableDef indicates an expected call of AddTableDef.

func (*MockRelationMockRecorder) Close

func (mr *MockRelationMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockRelationMockRecorder) DelTableDef

func (mr *MockRelationMockRecorder) DelTableDef(arg0, arg1, arg2 interface{}) *gomock.Call

DelTableDef indicates an expected call of DelTableDef.

func (*MockRelationMockRecorder) Delete added in v0.5.0

func (mr *MockRelationMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRelationMockRecorder) GetHideKey added in v0.5.0

func (mr *MockRelationMockRecorder) GetHideKey(arg0 interface{}) *gomock.Call

GetHideKey indicates an expected call of GetHideKey.

func (*MockRelationMockRecorder) GetPriKeyOrHideKey added in v0.5.0

func (mr *MockRelationMockRecorder) GetPriKeyOrHideKey(arg0 interface{}) *gomock.Call

GetPriKeyOrHideKey indicates an expected call of GetPriKeyOrHideKey.

func (*MockRelationMockRecorder) GetPrimaryKeys added in v0.5.0

func (mr *MockRelationMockRecorder) GetPrimaryKeys(arg0 interface{}) *gomock.Call

GetPrimaryKeys indicates an expected call of GetPrimaryKeys.

func (*MockRelationMockRecorder) ID

func (mr *MockRelationMockRecorder) ID(arg0 interface{}) *gomock.Call

ID indicates an expected call of ID.

func (*MockRelationMockRecorder) NewReader

func (mr *MockRelationMockRecorder) NewReader(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

NewReader indicates an expected call of NewReader.

func (*MockRelationMockRecorder) Nodes

func (mr *MockRelationMockRecorder) Nodes(arg0 interface{}) *gomock.Call

Nodes indicates an expected call of Nodes.

func (*MockRelationMockRecorder) Rows

func (mr *MockRelationMockRecorder) Rows() *gomock.Call

Rows indicates an expected call of Rows.

func (*MockRelationMockRecorder) Size

func (mr *MockRelationMockRecorder) Size(arg0 interface{}) *gomock.Call

Size indicates an expected call of Size.

func (*MockRelationMockRecorder) TableDefs

func (mr *MockRelationMockRecorder) TableDefs(arg0 interface{}) *gomock.Call

TableDefs indicates an expected call of TableDefs.

func (*MockRelationMockRecorder) Truncate added in v0.5.0

func (mr *MockRelationMockRecorder) Truncate(arg0 interface{}) *gomock.Call

Truncate indicates an expected call of Truncate.

func (*MockRelationMockRecorder) Update added in v0.5.0

func (mr *MockRelationMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockRelationMockRecorder) Write

func (mr *MockRelationMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockSparseFilter

type MockSparseFilter struct {
	// contains filtered or unexported fields
}

MockSparseFilter is a mock of SparseFilter interface.

func NewMockSparseFilter

func NewMockSparseFilter(ctrl *gomock.Controller) *MockSparseFilter

NewMockSparseFilter creates a new mock instance.

func (*MockSparseFilter) Btw

func (m *MockSparseFilter) Btw(arg0 string, arg1, arg2 interface{}) (engine.Reader, error)

Btw mocks base method.

func (*MockSparseFilter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSparseFilter) Eq

func (m *MockSparseFilter) Eq(arg0 string, arg1 interface{}) (engine.Reader, error)

Eq mocks base method.

func (*MockSparseFilter) Ge

func (m *MockSparseFilter) Ge(arg0 string, arg1 interface{}) (engine.Reader, error)

Ge mocks base method.

func (*MockSparseFilter) Gt

func (m *MockSparseFilter) Gt(arg0 string, arg1 interface{}) (engine.Reader, error)

Gt mocks base method.

func (*MockSparseFilter) Le

func (m *MockSparseFilter) Le(arg0 string, arg1 interface{}) (engine.Reader, error)

Le mocks base method.

func (*MockSparseFilter) Lt

func (m *MockSparseFilter) Lt(arg0 string, arg1 interface{}) (engine.Reader, error)

Lt mocks base method.

func (*MockSparseFilter) Ne

func (m *MockSparseFilter) Ne(arg0 string, arg1 interface{}) (engine.Reader, error)

Ne mocks base method.

type MockSparseFilterMockRecorder

type MockSparseFilterMockRecorder struct {
	// contains filtered or unexported fields
}

MockSparseFilterMockRecorder is the mock recorder for MockSparseFilter.

func (*MockSparseFilterMockRecorder) Btw

func (mr *MockSparseFilterMockRecorder) Btw(arg0, arg1, arg2 interface{}) *gomock.Call

Btw indicates an expected call of Btw.

func (*MockSparseFilterMockRecorder) Eq

func (mr *MockSparseFilterMockRecorder) Eq(arg0, arg1 interface{}) *gomock.Call

Eq indicates an expected call of Eq.

func (*MockSparseFilterMockRecorder) Ge

func (mr *MockSparseFilterMockRecorder) Ge(arg0, arg1 interface{}) *gomock.Call

Ge indicates an expected call of Ge.

func (*MockSparseFilterMockRecorder) Gt

func (mr *MockSparseFilterMockRecorder) Gt(arg0, arg1 interface{}) *gomock.Call

Gt indicates an expected call of Gt.

func (*MockSparseFilterMockRecorder) Le

func (mr *MockSparseFilterMockRecorder) Le(arg0, arg1 interface{}) *gomock.Call

Le indicates an expected call of Le.

func (*MockSparseFilterMockRecorder) Lt

func (mr *MockSparseFilterMockRecorder) Lt(arg0, arg1 interface{}) *gomock.Call

Lt indicates an expected call of Lt.

func (*MockSparseFilterMockRecorder) Ne

func (mr *MockSparseFilterMockRecorder) Ne(arg0, arg1 interface{}) *gomock.Call

Ne indicates an expected call of Ne.

type MockStatistics

type MockStatistics struct {
	// contains filtered or unexported fields
}

MockStatistics is a mock of Statistics interface.

func NewMockStatistics

func NewMockStatistics(ctrl *gomock.Controller) *MockStatistics

NewMockStatistics creates a new mock instance.

func (*MockStatistics) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStatistics) Rows

func (m *MockStatistics) Rows() int64

Rows mocks base method.

func (*MockStatistics) Size

func (m *MockStatistics) Size(arg0 string) int64

Size mocks base method.

type MockStatisticsMockRecorder

type MockStatisticsMockRecorder struct {
	// contains filtered or unexported fields
}

MockStatisticsMockRecorder is the mock recorder for MockStatistics.

func (*MockStatisticsMockRecorder) Rows

Rows indicates an expected call of Rows.

func (*MockStatisticsMockRecorder) Size

func (mr *MockStatisticsMockRecorder) Size(arg0 interface{}) *gomock.Call

Size indicates an expected call of Size.

type MockSummarizer

type MockSummarizer struct {
	// contains filtered or unexported fields
}

MockSummarizer is a mock of Summarizer interface.

func NewMockSummarizer

func NewMockSummarizer(ctrl *gomock.Controller) *MockSummarizer

NewMockSummarizer creates a new mock instance.

func (*MockSummarizer) Count

func (m *MockSummarizer) Count(arg0 string, arg1 *roaring64.Bitmap) (uint64, error)

Count mocks base method.

func (*MockSummarizer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSummarizer) Max

func (m *MockSummarizer) Max(arg0 string, arg1 *roaring64.Bitmap) (interface{}, error)

Max mocks base method.

func (*MockSummarizer) Min

func (m *MockSummarizer) Min(arg0 string, arg1 *roaring64.Bitmap) (interface{}, error)

Min mocks base method.

func (*MockSummarizer) NullCount

func (m *MockSummarizer) NullCount(arg0 string, arg1 *roaring64.Bitmap) (uint64, error)

NullCount mocks base method.

func (*MockSummarizer) Sum

func (m *MockSummarizer) Sum(arg0 string, arg1 *roaring64.Bitmap) (int64, uint64, error)

Sum mocks base method.

type MockSummarizerMockRecorder

type MockSummarizerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSummarizerMockRecorder is the mock recorder for MockSummarizer.

func (*MockSummarizerMockRecorder) Count

func (mr *MockSummarizerMockRecorder) Count(arg0, arg1 interface{}) *gomock.Call

Count indicates an expected call of Count.

func (*MockSummarizerMockRecorder) Max

func (mr *MockSummarizerMockRecorder) Max(arg0, arg1 interface{}) *gomock.Call

Max indicates an expected call of Max.

func (*MockSummarizerMockRecorder) Min

func (mr *MockSummarizerMockRecorder) Min(arg0, arg1 interface{}) *gomock.Call

Min indicates an expected call of Min.

func (*MockSummarizerMockRecorder) NullCount

func (mr *MockSummarizerMockRecorder) NullCount(arg0, arg1 interface{}) *gomock.Call

NullCount indicates an expected call of NullCount.

func (*MockSummarizerMockRecorder) Sum

func (mr *MockSummarizerMockRecorder) Sum(arg0, arg1 interface{}) *gomock.Call

Sum indicates an expected call of Sum.

type MockTableDef

type MockTableDef struct {
	// contains filtered or unexported fields
}

MockTableDef is a mock of TableDef interface.

func NewMockTableDef

func NewMockTableDef(ctrl *gomock.Controller) *MockTableDef

NewMockTableDef creates a new mock instance.

func (*MockTableDef) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockTableDefMockRecorder

type MockTableDefMockRecorder struct {
	// contains filtered or unexported fields
}

MockTableDefMockRecorder is the mock recorder for MockTableDef.

type MockTxn added in v0.5.0

type MockTxn struct {
	// contains filtered or unexported fields
}

MockTxn is a mock of Txn interface.

func NewMockTxn added in v0.5.0

func NewMockTxn(ctrl *gomock.Controller) *MockTxn

NewMockTxn creates a new mock instance.

func (*MockTxn) Commit added in v0.5.0

func (m *MockTxn) Commit() error

Commit mocks base method.

func (*MockTxn) EXPECT added in v0.5.0

func (m *MockTxn) EXPECT() *MockTxnMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTxn) GetCtx added in v0.5.0

func (m *MockTxn) GetCtx() []byte

GetCtx mocks base method.

func (*MockTxn) GetError added in v0.5.0

func (m *MockTxn) GetError() error

GetError mocks base method.

func (*MockTxn) GetID added in v0.5.0

func (m *MockTxn) GetID() uint64

GetID mocks base method.

func (*MockTxn) Repr added in v0.5.0

func (m *MockTxn) Repr() string

Repr mocks base method.

func (*MockTxn) Rollback added in v0.5.0

func (m *MockTxn) Rollback() error

Rollback mocks base method.

func (*MockTxn) String added in v0.5.0

func (m *MockTxn) String() string

String mocks base method.

type MockTxnEngine added in v0.5.0

type MockTxnEngine struct {
	// contains filtered or unexported fields
}

MockTxnEngine is a mock of TxnEngine interface.

func NewMockTxnEngine added in v0.5.0

func NewMockTxnEngine(ctrl *gomock.Controller) *MockTxnEngine

NewMockTxnEngine creates a new mock instance.

func (*MockTxnEngine) Create added in v0.5.0

func (m *MockTxnEngine) Create(arg0 uint64, arg1 string, arg2 int, arg3 engine.Snapshot) error

Create mocks base method.

func (*MockTxnEngine) Database added in v0.5.0

func (m *MockTxnEngine) Database(arg0 string, arg1 engine.Snapshot) (engine.Database, error)

Database mocks base method.

func (*MockTxnEngine) Databases added in v0.5.0

func (m *MockTxnEngine) Databases(arg0 engine.Snapshot) []string

Databases mocks base method.

func (*MockTxnEngine) Delete added in v0.5.0

func (m *MockTxnEngine) Delete(arg0 uint64, arg1 string, arg2 engine.Snapshot) error

Delete mocks base method.

func (*MockTxnEngine) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTxnEngine) Node added in v0.5.0

func (m *MockTxnEngine) Node(arg0 string, arg1 engine.Snapshot) *engine.NodeInfo

Node mocks base method.

func (*MockTxnEngine) StartTxn added in v0.5.0

func (m *MockTxnEngine) StartTxn(info []byte) (moengine.Txn, error)

StartTxn mocks base method.

type MockTxnEngineMockRecorder added in v0.5.0

type MockTxnEngineMockRecorder struct {
	// contains filtered or unexported fields
}

MockTxnEngineMockRecorder is the mock recorder for MockTxnEngine.

func (*MockTxnEngineMockRecorder) Create added in v0.5.0

func (mr *MockTxnEngineMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockTxnEngineMockRecorder) Database added in v0.5.0

func (mr *MockTxnEngineMockRecorder) Database(arg0, arg1 interface{}) *gomock.Call

Database indicates an expected call of Database.

func (*MockTxnEngineMockRecorder) Databases added in v0.5.0

func (mr *MockTxnEngineMockRecorder) Databases(arg0 interface{}) *gomock.Call

Databases indicates an expected call of Databases.

func (*MockTxnEngineMockRecorder) Delete added in v0.5.0

func (mr *MockTxnEngineMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockTxnEngineMockRecorder) Node added in v0.5.0

func (mr *MockTxnEngineMockRecorder) Node(arg0, arg1 interface{}) *gomock.Call

Node indicates an expected call of Node.

func (*MockTxnEngineMockRecorder) StartTxn added in v0.5.0

func (mr *MockTxnEngineMockRecorder) StartTxn(info interface{}) *gomock.Call

StartTxn indicates an expected call of StartTxn.

type MockTxnMockRecorder added in v0.5.0

type MockTxnMockRecorder struct {
	// contains filtered or unexported fields
}

MockTxnMockRecorder is the mock recorder for MockTxn.

func (*MockTxnMockRecorder) Commit added in v0.5.0

func (mr *MockTxnMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockTxnMockRecorder) GetCtx added in v0.5.0

func (mr *MockTxnMockRecorder) GetCtx() *gomock.Call

GetCtx indicates an expected call of GetCtx.

func (*MockTxnMockRecorder) GetError added in v0.5.0

func (mr *MockTxnMockRecorder) GetError() *gomock.Call

GetError indicates an expected call of GetError.

func (*MockTxnMockRecorder) GetID added in v0.5.0

func (mr *MockTxnMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID.

func (*MockTxnMockRecorder) Repr added in v0.5.0

func (mr *MockTxnMockRecorder) Repr() *gomock.Call

Repr indicates an expected call of Repr.

func (*MockTxnMockRecorder) Rollback added in v0.5.0

func (mr *MockTxnMockRecorder) Rollback() *gomock.Call

Rollback indicates an expected call of Rollback.

func (*MockTxnMockRecorder) String added in v0.5.0

func (mr *MockTxnMockRecorder) String() *gomock.Call

String indicates an expected call of String.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL