cockroach: Index | Files

package bank

import ""


Package Files


func FromConfig Uses

func FromConfig(rows int, batchSize int, payloadBytes int, ranges int) workload.Generator

FromConfig returns a one table testdata with three columns: an `id INT PRIMARY KEY` representing an account number, a `balance` INT, and a `payload` BYTES to pad the size of the rows for various tests.

func FromRows Uses

func FromRows(rows int) workload.Generator

FromRows returns Bank testdata with the given number of rows and default payload size and range count.

Package bank imports 13 packages (graph) and is imported by 15 packages. Updated 2020-08-05. Refresh now. Tools for package owners.