package
19.1.0-beta.20190304+incompatible
Repository: https://github.com/darinpp/cockroach.git
Documentation: pkg.go.dev

# Functions

CleanEncodingName sanitizes the string meant to represent a recognized encoding.
EmptyGenerator returns a new, empty generator.
GenerateUniqueID encapsulates the logic to generate a unique number from a nodeID and timestamp.
GenerateUniqueInt creates a unique int composed of the current time at a 10-microsecond granularity and the node-id.
GetBuiltinProperties provides low-level access to a built-in function's properties.
NewAggregateWindowFunc creates a constructor of aggregateWindowFunc with agg initialized by provided aggConstructor.
NewAnyNotNullAggregate returns an aggregate function that returns an arbitrary not-NULL value passed to Add (or NULL if no such value).
PGIOBuiltinPrefix returns the string prefix to a type's IO functions.
ShouldReset sets shouldReset to true if w is framableAggregateWindowFunc.

# Constants

AnyNotNull is the name of the aggregate returned by NewAnyNotNullAggregate.
NodeIDBits is the number of bits stored in the lower portion of GenerateUniqueInt.

# Variables

AllAggregateBuiltinNames is an array containing the subset of AllBuiltinNames that corresponds to aggregate functions.
AllBuiltinNames is an array containing all the built-in function names, sorted in alphabetical order.
AllWindowBuiltinNames is an array containing the subset of AllBuiltinNames that corresponds to window functions.
DatEncodingEnUTF8 is the encoding name for our only supported database encoding, UTF8.
DatEncodingUTFId is the encoding ID for our only supported database encoding, UTF8.
EvalFollowerReadOffset is a function used often with AS OF SYSTEM TIME queries to determine the appropriate offset from now which is likely to be safe for follower reads.

# Structs

MaxAggregate keeps track of the largest value passed to Add.
MinAggregate keeps track of the smallest value passed to Add.