()
| 63 | } |
| 64 | |
| 65 | func (o tsOperator) pgwireEncoding() byte { |
| 66 | switch o { |
| 67 | case not: |
| 68 | return 1 |
| 69 | case and: |
| 70 | return 2 |
| 71 | case or: |
| 72 | return 3 |
| 73 | case followedby: |
| 74 | return 4 |
| 75 | } |
| 76 | panic(errors.AssertionFailedf("no pgwire encoding for operator %d", o)) |
| 77 | } |
| 78 | |
| 79 | func (o tsOperator) String() string { |
| 80 | switch o { |
no outgoing calls
no test coverage detected