MCPcopy Create free account
hub / github.com/Shopify/ghostferry / NewRowBatch

Function NewRowBatch

row_batch.go:16–23  ·  view source on GitHub ↗
(table *TableSchema, values []RowData, paginationKeyIndex int)

Source from the content-addressed store, hash-verified

14}
15
16func NewRowBatch(table *TableSchema, values []RowData, paginationKeyIndex int) *RowBatch {
17 return &RowBatch{
18 values: values,
19 paginationKeyIndex: paginationKeyIndex,
20 table: table,
21 columns: ConvertTableColumnsToStrings(table.Columns),
22 }
23}
24
25func (e *RowBatch) Values() []RowData {
26 return e.values

Calls 1