# Functions
CheckTime checks that a time is within the safe range.
GetPrecisionMultiplier will return a multiplier for the precision specified.
MakeKey creates a key for a set of tags.
MustNewPoint returns a new point with the given measurement name, tags, fields and timestamp.
NewPoint returns a new point with the given measurement name, tags, fields and timestamp.
NewPointFromBytes returns a new Point from a marshalled Point.
ParseConsistencyLevel converts a consistency level string to the corresponding ConsistencyLevel const.
ParseKey returns the measurement name and tags from a point.
ParsePoints returns a slice of Points from a text representation of a point with each point separated by newlines.
ParsePointsString is identical to ParsePoints but accepts a string buffer.
ParsePointsWithPrecision is similar to ParsePoints, but allows the caller to provide a precision for time.
SafeCalcTime safely calculates the time given.
# Constants
ConsistencyLevelAll requires all data nodes to acknowledge a write.
ConsistencyLevelAny allows for hinted hand off, potentially no write happened yet.
ConsistencyLevelOne requires at least one data node acknowledged a write.
ConsistencyLevelQuorum requires a quorum of data nodes to acknowledge a write.
No description provided by the author
# Variables
ErrInvalidConsistencyLevel is returned when parsing the string version of a consistency level.
No description provided by the author
No description provided by the author
No description provided by the author
ErrTimeOutOfRange gets returned when time is out of the representable range using int64 nanoseconds since the epoch.
MaxNanoTime is the maximum time that can be represented via int64 nanoseconds since the epoch.
MinNanoTime is the minumum time that can be represented via int64 nanoseconds since the epoch.
# Interfaces
Point defines the values that will be written to the database.
# Type aliases
ConsistencyLevel represent a required replication criteria before a write can be returned as successful.
Fields represents a mapping between a Point's field names and their values.
Points represents a sortable list of points by timestamp.
Rows represents a collection of rows.
Tags represents a mapping between a Point's tag names and their values.