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

# Functions

AsJSON converts a datum into our standard json representation.
EmptyDTable returns a new, empty tree.DTable.
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.
NewIdentAggregate returns an identAggregate (see comment on struct).
PGIOBuiltinPrefix returns the string prefix to a type's IO functions.

# Constants

NodeIDBits is the number of bits stored in the lower portion of GenerateUniqueInt.

# Variables

Aggregates are a special class of builtin functions that are wrapped at execution in a bucketing layer to combine (aggregate) the result of the function being run over many rows.
AllBuiltinNames is an array containing all the built-in function names, sorted in alphabetical order.
Builtins contains the built-in functions indexed by name.
DatEncodingEnUTF8 is the encoding name for our only supported database encoding, UTF8.
DatEncodingUTFId is the encoding ID for our only supported database encoding, UTF8.
Generators is a map from name to slice of Builtins for all built-in generators.

# Structs

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