package
2.1.0-alpha.20180416+incompatible
Repository: https://github.com/coyle/cockroach.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package ycsb is the workload specified by the Yahoo! Cloud Serving Benchmark.

# Functions

ApproxDatumSize returns the canonical size of a datum as returned from a call to `Table.InitialRowFn`.
CSVMux returns a mux over http handers for csv data in all tables in the given generators.
Get returns the registered Generator with the given name, if it exists.
HandleCSV configures a Generator with url params and outputs the data for a single Table as a CSV (optionally limiting the rows via `row-start` and `row-end` params).
NewConnFlags returns an initialized ConnFlags.
NewHistogramRegistry returns an initialized HistogramRegistry.
Register is a hook for init-time registration of Generator implementations.
Registered returns all registered Generators.
SanitizeUrls verifies that the give SQL connection strings have the correct SQL database set, rewriting them in place if necessary.
Setup creates the given tables and fills them with initial data via batched INSERTs.
Split creates the range splits defined by the given table.
StringTuple returns the given datums as strings suitable for use in directly in SQL.
Tuples returns a BatchedTuples where each batch has size 1.
WriteCSVRows writes the specified table rows as a csv.

# Structs

BatchedTuples is a generic generator of tuples (SQL rows, PKs to split at, etc).
ConnFlags is helper of common flags that are relevant to QueryLoads.
FlagMeta is metadata about a workload flag.
Flags is a container for flags and associated metadata.
HistogramRegistry is a thread-safe enclosure for a (possibly large) number of named histograms.
Histograms is a thread-local handle for creating and registering NamedHistograms.
HistogramTick is an aggregation of ticking all histograms in a HistogramRegistry with a given name.
Hooks stores functions to be called at points in the workload lifecycle.
Meta is used to register a Generator at init time and holds meta information about this generator, including a name, description, and a function to create instances of it.
NamedHistogram is a named histogram for use in Operations.
QueryLoad represents some SQL query workload performable on a database initialized with the requisite tables.
Table represents a single table in a Generator.

# Interfaces

Flagser returns the flags this Generator is configured with.
Generator represents one or more sql query loads and associated initial data.
Hookser returns any hooks associated with the generator.
Opser returns the work functions for this generator.