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.
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 ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type BatchReader
- type Job
- type MemStore
- 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) FetchSchema() error
- func (_m *MemStore) GetMemoryUsageDetails() (map[string]memstore.TableShardMemoryUsage, error)
- func (_m *MemStore) GetScheduler() memstore.Scheduler
- func (_m *MemStore) GetSchema(table string) (*memstore.TableSchema, error)
- func (_m *MemStore) GetSchemas() map[string]*memstore.TableSchema
- func (_m *MemStore) GetTableShard(table string, shardID int) (*memstore.TableShard, error)
- func (_m *MemStore) HandleIngestion(table string, shardID int, upsertBatch *memstore.UpsertBatch) error
- func (_m *MemStore) InitShards(schedulerOff bool)
- 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) Snapshot(table string, shardID int, reporter memstore.SnapshotJobDetailReporter) error
- func (_m *MemStore) Unlock()
- type PrimaryKey
- func (_m *PrimaryKey) AllocatedBytes() uint
- func (_m *PrimaryKey) Capacity() uint
- func (_m *PrimaryKey) Delete(key memstore.Key)
- func (_m *PrimaryKey) Destruct()
- func (_m *PrimaryKey) Find(key memstore.Key) (memstore.RecordID, bool)
- func (_m *PrimaryKey) FindOrInsert(key memstore.Key, value memstore.RecordID, eventTime uint32) (bool, memstore.RecordID, error)
- func (_m *PrimaryKey) GetEventTimeCutoff() uint32
- func (_m *PrimaryKey) LockForTransfer() memstore.PrimaryKeyData
- func (_m *PrimaryKey) Size() uint
- func (_m *PrimaryKey) UnlockAfterTransfer()
- func (_m *PrimaryKey) Update(key memstore.Key, value memstore.RecordID) bool
- func (_m *PrimaryKey) UpdateEventTimeCutoff(eventTimeCutoff uint32)
- type RedoLogBrowser
- type Scheduler
- func (_m *Scheduler) DeleteTable(table string, isFactTable bool)
- func (_m *Scheduler) GetJobDetails(jobType common.JobType) interface{}
- 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) 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) 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) FetchSchema ¶
FetchSchema 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) (*memstore.TableSchema, error)
GetSchema provides a mock function with given fields: table
func (*MemStore) GetSchemas ¶
func (_m *MemStore) GetSchemas() map[string]*memstore.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 *memstore.UpsertBatch) error
HandleIngestion provides a mock function with given fields: table, shardID, upsertBatch
func (*MemStore) InitShards ¶
InitShards provides a mock function with given fields: schedulerOff
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:
type PrimaryKey ¶
PrimaryKey is an autogenerated mock type for the PrimaryKey type
func (*PrimaryKey) AllocatedBytes ¶
func (_m *PrimaryKey) AllocatedBytes() uint
AllocatedBytes provides a mock function with given fields:
func (*PrimaryKey) Capacity ¶
func (_m *PrimaryKey) Capacity() uint
Capacity provides a mock function with given fields:
func (*PrimaryKey) Delete ¶
func (_m *PrimaryKey) Delete(key memstore.Key)
Delete provides a mock function with given fields: key
func (*PrimaryKey) Destruct ¶
func (_m *PrimaryKey) Destruct()
Destruct provides a mock function with given fields:
func (*PrimaryKey) FindOrInsert ¶
func (_m *PrimaryKey) FindOrInsert(key memstore.Key, value memstore.RecordID, eventTime uint32) (bool, memstore.RecordID, error)
FindOrInsert provides a mock function with given fields: key, value, eventTime
func (*PrimaryKey) GetEventTimeCutoff ¶
func (_m *PrimaryKey) GetEventTimeCutoff() uint32
GetEventTimeCutoff provides a mock function with given fields:
func (*PrimaryKey) LockForTransfer ¶
func (_m *PrimaryKey) LockForTransfer() memstore.PrimaryKeyData
LockForTransfer provides a mock function with given fields:
func (*PrimaryKey) Size ¶
func (_m *PrimaryKey) Size() uint
Size provides a mock function with given fields:
func (*PrimaryKey) UnlockAfterTransfer ¶
func (_m *PrimaryKey) UnlockAfterTransfer()
UnlockAfterTransfer provides a mock function with given fields:
func (*PrimaryKey) UpdateEventTimeCutoff ¶
func (_m *PrimaryKey) UpdateEventTimeCutoff(eventTimeCutoff uint32)
UpdateEventTimeCutoff provides a mock function with given fields: eventTimeCutoff
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) GetJobDetails ¶
GetJobDetails 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: