class NoSE::Loader::LoaderBase

Superclass for all data loaders

Public Class Methods

new(workload = nil, backend = nil) click to toggle source
# File lib/nose/loader.rb, line 8
def initialize(workload = nil, backend = nil)
  @workload = workload
  @backend = backend
end

Public Instance Methods

load(_indexes, _config, _show_progress = false, _limit = nil, _skip_existing = true) click to toggle source

:nocov: @abstract Subclasses should load data for the given list of indexes @return [void]

# File lib/nose/loader.rb, line 24
def load(_indexes, _config, _show_progress = false, _limit = nil,
         _skip_existing = true)
  fail NotImplementedError
end
model(_config) click to toggle source

@abstract Subclasses should generate a model from the external source :nocov:

# File lib/nose/loader.rb, line 32
def model(_config)
  fail NotImplementedError
end
workload(_config) click to toggle source

:nocov: @abstract Subclasses should produce a workload @return [void]

# File lib/nose/loader.rb, line 16
def workload(_config)
  fail NotImplementedError
end