# Functions
GroupOptionNilSortLo configures nil values to be sorted lower than any other value.
IsLastDescendingAggregateOptimization checks two things: If the request passed in is using the `last` aggregate type, and if it doesn't have a window.
IsLastDescendingGroupOptimization checks if this request is using the `last` aggregate type.
TODO(jsternberg): The range is [start, end) for this function which is consistent with the documented interface for datatypes.ReadFilterRequest.
NodeToExpr transforms a predicate node to an influxql.Expr.
ResultSetToLineProtocol transforms rs to line protocol and writes the output to wr.
WindowStart calculates the start time of a window given a timestamp, the window period (every), and the offset starting from the epoch.
WindowStop calculates the stop time of a window given a timestamp, the window period (every), and the offset starting from the epoch.
# Constants
MaxPointsPerBlock is the maximum number of points in an encoded block in a TSM file.
# Variables
nil sorts highest.
nil sorts lowest.
# Interfaces
NodeVisitor can be called by Walk to traverse the Node hierarchy.
Valuer is the interface that wraps the Value() method.