Documentation
¶
Overview ¶
Package cubecompose validates and renders bounded compositions of typed cube queries. Runtime execution and contract derivation remain report-owned.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithFrameContext ¶
func WithFrameContext(ctx context.Context, frame FrameContext) context.Context
Types ¶
type Column ¶
type Column struct {
Name string `json:"name"`
Type string `json:"type"`
Role Role `json:"role"`
// contains filtered or unexported fields
}
func (Column) RuntimeType ¶
RuntimeType returns the projected scalar type, or nil for a computed expression.
type Frame ¶
type Frame struct {
SQL string
Args []interface{}
}
Frame is one trusted, parameterized cube projection supplied to Render.
type FrameContext ¶
FrameContext lets period-aware source predicates interpret elapsed alignment. All frames in a request share Snapshot; Datly does not infer business time rules.
func FrameContextFrom ¶
func FrameContextFrom(ctx context.Context) (FrameContext, bool)
Click to show internal directories.
Click to hide internal directories.