Documentation ¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Copyright (c) 2017-2018 Uber Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type BatchReader
- type Job
- type MemStore
- func (_m *MemStore) AddTableShard(table string, shardID int, needPeerCopy bool)
- func (_m *MemStore) Archive(table string, shardID int, cutoff uint32, ...) error
- func (_m *MemStore) Backfill(table string, shardID int, reporter memstore.BackfillJobDetailReporter) error
- func (_m *MemStore) Bootstrap(peerSource client.PeerSource, origin string, topo topology.Topology, ...) error
- func (_m *MemStore) FetchSchema() error
- func (_m *MemStore) GetHostMemoryManager() common.HostMemoryManager
- func (_m *MemStore) GetMemoryUsageDetails() (map[string]memstore.TableShardMemoryUsage, error)
- func (_m *MemStore) GetScheduler() memstore.Scheduler
- func (_m *MemStore) GetSchema(table string) (*common.TableSchema, error)
- func (_m *MemStore) GetSchemas() map[string]*common.TableSchema
- func (_m *MemStore) GetTableShard(table string, shardID int) (*memstore.TableShard, error)
- func (_m *MemStore) HandleIngestion(table string, shardID int, upsertBatch *common.UpsertBatch) error
- func (_m *MemStore) InitShards(schedulerOff bool, shardOwner topology.ShardOwner)
- func (_m *MemStore) Lock()
- func (_m *MemStore) Purge(table string, shardID int, batchIDStart int, batchIDEnd int, ...) error
- func (_m *MemStore) RLock()
- func (_m *MemStore) RUnlock()
- func (_m *MemStore) RemoveTableShard(table string, shardID int)
- func (_m *MemStore) Snapshot(table string, shardID int, reporter memstore.SnapshotJobDetailReporter) error
- func (_m *MemStore) Unlock()
- type RedoLogBrowser
- type Scheduler
- func (_m *Scheduler) DeleteTable(table string, isFactTable bool)
- func (_m *Scheduler) EnableJobType(jobType common.JobType, enable bool)
- func (_m *Scheduler) GetJobDetails(jobType common.JobType) interface{}
- func (_m *Scheduler) IsJobTypeEnabled(jobType common.JobType) bool
- func (_m *Scheduler) Lock()
- func (_m *Scheduler) NewArchivingJob(tableName string, shardID int, cutoff uint32) memstore.Job
- func (_m *Scheduler) NewBackfillJob(tableName string, shardID int) memstore.Job
- func (_m *Scheduler) NewPurgeJob(tableName string, shardID int, batchIDStart int, batchIDEnd int) memstore.Job
- func (_m *Scheduler) NewSnapshotJob(tableName string, shardID int) memstore.Job
- func (_m *Scheduler) RLock()
- func (_m *Scheduler) RUnlock()
- func (_m *Scheduler) Start()
- func (_m *Scheduler) Stop()
- func (_m *Scheduler) SubmitJob(job memstore.Job) (error, chan error)
- func (_m *Scheduler) Unlock()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchReader ¶
BatchReader is an autogenerated mock type for the BatchReader type
func (*BatchReader) GetDataValue ¶
func (_m *BatchReader) GetDataValue(row int, columnID int) common.DataValue
GetDataValue provides a mock function with given fields: row, columnID
func (*BatchReader) GetDataValueWithDefault ¶
func (_m *BatchReader) GetDataValueWithDefault(row int, columnID int, defaultValue common.DataValue) common.DataValue
GetDataValueWithDefault provides a mock function with given fields: row, columnID, defaultValue
type Job ¶
Job is an autogenerated mock type for the Job type
func (*Job) GetIdentifier ¶
GetIdentifier provides a mock function with given fields:
type MemStore ¶
MemStore is an autogenerated mock type for the MemStore type
func (*MemStore) AddTableShard ¶ added in v0.0.2
AddTableShard provides a mock function with given fields: table, shardID, needPeerCopy
func (*MemStore) Archive ¶
func (_m *MemStore) Archive(table string, shardID int, cutoff uint32, reporter memstore.ArchiveJobDetailReporter) error
Archive provides a mock function with given fields: table, shardID, cutoff, reporter
func (*MemStore) Backfill ¶
func (_m *MemStore) Backfill(table string, shardID int, reporter memstore.BackfillJobDetailReporter) error
Backfill provides a mock function with given fields: table, shardID, reporter
func (*MemStore) Bootstrap ¶ added in v0.0.2
func (_m *MemStore) Bootstrap(peerSource client.PeerSource, origin string, topo topology.Topology, topoState *topology.StateSnapshot, options bootstrap.Options) error
Bootstrap provides a mock function with given fields: peerSource, origin, topo, topoState, options
func (*MemStore) FetchSchema ¶
FetchSchema provides a mock function with given fields:
func (*MemStore) GetHostMemoryManager ¶ added in v0.0.2
func (_m *MemStore) GetHostMemoryManager() common.HostMemoryManager
GetHostMemoryManager provides a mock function with given fields:
func (*MemStore) GetMemoryUsageDetails ¶
func (_m *MemStore) GetMemoryUsageDetails() (map[string]memstore.TableShardMemoryUsage, error)
GetMemoryUsageDetails provides a mock function with given fields:
func (*MemStore) GetScheduler ¶
GetScheduler provides a mock function with given fields:
func (*MemStore) GetSchema ¶
func (_m *MemStore) GetSchema(table string) (*common.TableSchema, error)
GetSchema provides a mock function with given fields: table
func (*MemStore) GetSchemas ¶
func (_m *MemStore) GetSchemas() map[string]*common.TableSchema
GetSchemas provides a mock function with given fields:
func (*MemStore) GetTableShard ¶
GetTableShard provides a mock function with given fields: table, shardID
func (*MemStore) HandleIngestion ¶
func (_m *MemStore) HandleIngestion(table string, shardID int, upsertBatch *common.UpsertBatch) error
HandleIngestion provides a mock function with given fields: table, shardID, upsertBatch
func (*MemStore) InitShards ¶
func (_m *MemStore) InitShards(schedulerOff bool, shardOwner topology.ShardOwner)
InitShards provides a mock function with given fields: schedulerOff, shardOwner
func (*MemStore) Purge ¶
func (_m *MemStore) Purge(table string, shardID int, batchIDStart int, batchIDEnd int, reporter memstore.PurgeJobDetailReporter) error
Purge provides a mock function with given fields: table, shardID, batchIDStart, batchIDEnd, reporter
func (*MemStore) RLock ¶
func (_m *MemStore) RLock()
RLock provides a mock function with given fields:
func (*MemStore) RUnlock ¶
func (_m *MemStore) RUnlock()
RUnlock provides a mock function with given fields:
func (*MemStore) RemoveTableShard ¶ added in v0.0.2
RemoveTableShard provides a mock function with given fields: table, shardID
type RedoLogBrowser ¶
RedoLogBrowser is an autogenerated mock type for the RedoLogBrowser type
func (*RedoLogBrowser) ListLogFiles ¶
func (_m *RedoLogBrowser) ListLogFiles() ([]int64, error)
ListLogFiles provides a mock function with given fields:
func (*RedoLogBrowser) ListUpsertBatch ¶
func (_m *RedoLogBrowser) ListUpsertBatch(creationTime int64) ([]int64, error)
ListUpsertBatch provides a mock function with given fields: creationTime
type Scheduler ¶
Scheduler is an autogenerated mock type for the Scheduler type
func (*Scheduler) DeleteTable ¶
DeleteTable provides a mock function with given fields: table, isFactTable
func (*Scheduler) EnableJobType ¶ added in v0.0.2
EnableJobType provides a mock function with given fields: jobType, enable
func (*Scheduler) GetJobDetails ¶
GetJobDetails provides a mock function with given fields: jobType
func (*Scheduler) IsJobTypeEnabled ¶ added in v0.0.2
IsJobTypeEnabled provides a mock function with given fields: jobType
func (*Scheduler) Lock ¶
func (_m *Scheduler) Lock()
Lock provides a mock function with given fields:
func (*Scheduler) NewArchivingJob ¶
NewArchivingJob provides a mock function with given fields: tableName, shardID, cutoff
func (*Scheduler) NewBackfillJob ¶
NewBackfillJob provides a mock function with given fields: tableName, shardID
func (*Scheduler) NewPurgeJob ¶
func (_m *Scheduler) NewPurgeJob(tableName string, shardID int, batchIDStart int, batchIDEnd int) memstore.Job
NewPurgeJob provides a mock function with given fields: tableName, shardID, batchIDStart, batchIDEnd
func (*Scheduler) NewSnapshotJob ¶
NewSnapshotJob provides a mock function with given fields: tableName, shardID
func (*Scheduler) RLock ¶
func (_m *Scheduler) RLock()
RLock provides a mock function with given fields:
func (*Scheduler) RUnlock ¶
func (_m *Scheduler) RUnlock()
RUnlock provides a mock function with given fields:
func (*Scheduler) Start ¶
func (_m *Scheduler) Start()
Start provides a mock function with given fields:
func (*Scheduler) Stop ¶
func (_m *Scheduler) Stop()
Stop provides a mock function with given fields: