MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / IsConstrained

Method IsConstrained

pkg/filter/ql/literal.go:424–426  ·  view source on GitHub ↗

IsConstrained determines if the sequence has the global or per-expression `BY` statement.

()

Source from the content-addressed store, hash-verified

422
423// IsConstrained determines if the sequence has the global or per-expression `BY` statement.
424func (s Sequence) IsConstrained() bool {
425 return s.By != nil || s.Expressions[0].By != nil
426}
427
428func (s *Sequence) init() {
429 // determine if the sequence references an event type

Callers 2

runSequenceMethod · 0.80
TestParseSequenceFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestParseSequenceFunction · 0.64