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

Struct filter

pkg/filter/filter.go:137–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137type filter struct {
138 expr ql.Expr
139 seq *ql.Sequence
140 parser *ql.Parser
141 accessors []Accessor
142 fields []Field
143 segments []fields.Segment
144 boundFields []*ql.BoundFieldLiteral
145 // seqBoundFields contains per-sequence bound fields resolved from bound field literals
146 seqBoundFields map[int][]BoundField
147 // stringFields contains filter field names mapped to their string values
148 stringFields map[fields.Field][]string
149 hasFunctions bool
150}
151
152// Compile parsers the filter expression and builds a binary expression tree
153// where leaf nodes represent constants/variables while internal nodes are

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected