subquery

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...Option) *parser.SubqueryExpr

Types

type Builder

type Builder parser.SubqueryExpr

type Option

type Option func(subquery *Builder)

func WithAtEnd

func WithAtEnd() Option

func WithAtSpecificTimeStamp

func WithAtSpecificTimeStamp(timestamp int64) Option

func WithAtStart

func WithAtStart() Option

func WithExpr

func WithExpr(expr parser.Expr) Option

func WithOffset

func WithOffset(duration time.Duration) Option

func WithOffsetAsString

func WithOffsetAsString(d string) Option

func WithRange

func WithRange(duration time.Duration) Option

func WithRangeAndStep added in v0.2.0

func WithRangeAndStep(duration time.Duration, step time.Duration) Option

func WithRangeAsString

func WithRangeAsString(d string) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL