returns a new Cursor with an embedded copy of itself
(table *TableSchema, startPaginationKey, maxPaginationKey PaginationKey)
| 58 | |
| 59 | // returns a new Cursor with an embedded copy of itself |
| 60 | func (c *CursorConfig) NewCursorWithoutRowLock(table *TableSchema, startPaginationKey, maxPaginationKey PaginationKey) *Cursor { |
| 61 | cursor := c.NewCursor(table, startPaginationKey, maxPaginationKey) |
| 62 | cursor.RowLock = false |
| 63 | return cursor |
| 64 | } |
| 65 | |
| 66 | func (c CursorConfig) GetBatchSize(schemaName string, tableName string) uint64 { |
| 67 | if c.BatchSizePerTableOverride != nil { |
no test coverage detected