package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

GetIntQueryStringVal gets the int value of a Query String parameter, param, from the provided url query string values.
GetIntQueryStringVals gets all int values of a Query String parameter, param, from the provided url query string values.
GetRangeIndexMappings translates a set of ordered ranges into a RangeID -> IndexNamesList mapping.
MapRangesToIndexes is a utility function which iterates over two lists, one consisting of ordered ranges, and the other consisting of ordered index names and outputs a mapping from range to index.
RangeToTableSpans converts a set of ranges to a set of spans bound to the codec's SQL table space, and removed if the bound span is zero length.
SpansToOrderedTableDescriptors uses the transaction's collection to turn a set of spans to a set of descriptors which describe the table space in which those spans lie.
TableDescriptorsToIndexNames maps a set of descriptors to the database, table, index combinations within.
WriteJSONResponse returns a payload as JSON to the HTTP client.

# Structs

IndexNames and IndexNamesList are utilities for representing an index span by its corresponding identifiers.

# Type aliases