MCPcopy
hub / github.com/uber/aresdb / Case

Struct Case

query/expr/ast.go:252–256  ·  view source on GitHub ↗

Case represents a CASE WHEN .. THEN .. ELSE .. THEN expression.

Source from the content-addressed store, hash-verified

250
251// Case represents a CASE WHEN .. THEN .. ELSE .. THEN expression.
252type Case struct {
253 WhenThens []WhenThen
254 Else Expr
255 ExprType Type
256}
257
258// Type returns the type.
259func (c *Case) Type() Type {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected