Class: Exwiw::BatchScope

Inherits:
Object
  • Object
show all
Includes:
Serdes
Defined in:
lib/exwiw/batch_scope.rb

Overview

Opt-in config for batched extraction (see BatchedExtraction and the batch_scope section of README.md): table is the scoped table whose in-scope primary keys slice this table's extraction, size the ids per batch.

Constant Summary collapse

DEFAULT_SIZE =
1_000

Instance Method Summary collapse

Instance Method Details

#batch_sizeObject



16
17
18
# File 'lib/exwiw/batch_scope.rb', line 16

def batch_size
  size || DEFAULT_SIZE
end