mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostMemoryManager

type HostMemoryManager struct {
	mock.Mock
}

HostMemoryManager is an autogenerated mock type for the HostMemoryManager type

func (*HostMemoryManager) GetArchiveMemoryUsageByTableShard

func (_m *HostMemoryManager) GetArchiveMemoryUsageByTableShard() (map[string]map[string]*common.ColumnMemoryUsage, error)

GetArchiveMemoryUsageByTableShard provides a mock function with given fields:

func (*HostMemoryManager) ReportManagedObject

func (_m *HostMemoryManager) ReportManagedObject(table string, shard int, batchID int, columnID int, bytes int64)

ReportManagedObject provides a mock function with given fields: table, shard, batchID, columnID, bytes

func (*HostMemoryManager) ReportUnmanagedSpaceUsageChange

func (_m *HostMemoryManager) ReportUnmanagedSpaceUsageChange(bytes int64)

ReportUnmanagedSpaceUsageChange provides a mock function with given fields: bytes

func (*HostMemoryManager) Start

func (_m *HostMemoryManager) Start()

Start provides a mock function with given fields:

func (*HostMemoryManager) Stop

func (_m *HostMemoryManager) Stop()

Stop provides a mock function with given fields:

func (*HostMemoryManager) TriggerEviction

func (_m *HostMemoryManager) TriggerEviction()

TriggerEviction provides a mock function with given fields:

func (*HostMemoryManager) TriggerPreload

func (_m *HostMemoryManager) TriggerPreload(tableName string, columnID int, oldPreloadingDays int, newPreloadingDays int)

TriggerPreload provides a mock function with given fields: tableName, columnID, oldPreloadingDays, newPreloadingDays

type LiveVectorParty

type LiveVectorParty struct {
	mock.Mock
}

LiveVectorParty is an autogenerated mock type for the LiveVectorParty type

func (*LiveVectorParty) Allocate

func (_m *LiveVectorParty) Allocate(hasCount bool)

Allocate provides a mock function with given fields: hasCount

func (*LiveVectorParty) Equals

func (_m *LiveVectorParty) Equals(other common.VectorParty) bool

Equals provides a mock function with given fields: other

func (*LiveVectorParty) GetBytes

func (_m *LiveVectorParty) GetBytes() int64

GetBytes provides a mock function with given fields:

func (*LiveVectorParty) GetDataType

func (_m *LiveVectorParty) GetDataType() common.DataType

GetDataType provides a mock function with given fields:

func (*LiveVectorParty) GetDataValue

func (_m *LiveVectorParty) GetDataValue(offset int) common.DataValue

GetDataValue provides a mock function with given fields: offset

func (*LiveVectorParty) GetDataValueByRow

func (_m *LiveVectorParty) GetDataValueByRow(row int) common.DataValue

GetDataValueByRow provides a mock function with given fields: row

func (*LiveVectorParty) GetLength

func (_m *LiveVectorParty) GetLength() int

GetLength provides a mock function with given fields:

func (*LiveVectorParty) GetMinMaxValue

func (_m *LiveVectorParty) GetMinMaxValue() (uint32, uint32)

GetMinMaxValue provides a mock function with given fields:

func (*LiveVectorParty) GetNonDefaultValueCount

func (_m *LiveVectorParty) GetNonDefaultValueCount() int

GetNonDefaultValueCount provides a mock function with given fields:

func (*LiveVectorParty) GetValidity

func (_m *LiveVectorParty) GetValidity(offset int) bool

GetValidity provides a mock function with given fields: offset

func (*LiveVectorParty) Read

func (_m *LiveVectorParty) Read(reader io.Reader, serializer common.VectorPartySerializer) error

Read provides a mock function with given fields: reader, serializer

func (*LiveVectorParty) SafeDestruct

func (_m *LiveVectorParty) SafeDestruct()

SafeDestruct provides a mock function with given fields:

func (*LiveVectorParty) SetDataValue

func (_m *LiveVectorParty) SetDataValue(offset int, value common.DataValue, countsUpdateMode common.ValueCountsUpdateMode, counts ...uint32)

SetDataValue provides a mock function with given fields: offset, value, countsUpdateMode, counts

func (*LiveVectorParty) Slice

func (_m *LiveVectorParty) Slice(startRow int, numRows int) common.SlicedVector

Slice provides a mock function with given fields: startRow, numRows

func (*LiveVectorParty) Write

func (_m *LiveVectorParty) Write(writer io.Writer) error

Write provides a mock function with given fields: writer

type VectorParty

type VectorParty struct {
	mock.Mock
}

VectorParty is an autogenerated mock type for the VectorParty type

func (*VectorParty) Allocate

func (_m *VectorParty) Allocate(hasCount bool)

Allocate provides a mock function with given fields: hasCount

func (*VectorParty) Equals

func (_m *VectorParty) Equals(other common.VectorParty) bool

Equals provides a mock function with given fields: other

func (*VectorParty) GetBytes

func (_m *VectorParty) GetBytes() int64

GetBytes provides a mock function with given fields:

func (*VectorParty) GetDataType

func (_m *VectorParty) GetDataType() common.DataType

GetDataType provides a mock function with given fields:

func (*VectorParty) GetDataValue

func (_m *VectorParty) GetDataValue(offset int) common.DataValue

GetDataValue provides a mock function with given fields: offset

func (*VectorParty) GetDataValueByRow

func (_m *VectorParty) GetDataValueByRow(row int) common.DataValue

GetDataValueByRow provides a mock function with given fields: row

func (*VectorParty) GetLength

func (_m *VectorParty) GetLength() int

GetLength provides a mock function with given fields:

func (*VectorParty) GetNonDefaultValueCount

func (_m *VectorParty) GetNonDefaultValueCount() int

GetNonDefaultValueCount provides a mock function with given fields:

func (*VectorParty) GetValidity

func (_m *VectorParty) GetValidity(offset int) bool

GetValidity provides a mock function with given fields: offset

func (*VectorParty) Read

func (_m *VectorParty) Read(reader io.Reader, serializer common.VectorPartySerializer) error

Read provides a mock function with given fields: reader, serializer

func (*VectorParty) SafeDestruct

func (_m *VectorParty) SafeDestruct()

SafeDestruct provides a mock function with given fields:

func (*VectorParty) SetDataValue

func (_m *VectorParty) SetDataValue(offset int, value common.DataValue, countsUpdateMode common.ValueCountsUpdateMode, counts ...uint32)

SetDataValue provides a mock function with given fields: offset, value, countsUpdateMode, counts

func (*VectorParty) Slice

func (_m *VectorParty) Slice(startRow int, numRows int) common.SlicedVector

Slice provides a mock function with given fields: startRow, numRows

func (*VectorParty) Write

func (_m *VectorParty) Write(writer io.Writer) error

Write provides a mock function with given fields: writer

Jump to

Keyboard shortcuts

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