Predicate is a pushdown predicate that can be applied at the chunk, page, and value levels.
| 13 | // Predicate is a pushdown predicate that can be applied at |
| 14 | // the chunk, page, and value levels. |
| 15 | type Predicate interface { |
| 16 | fmt.Stringer |
| 17 | |
| 18 | KeepColumnChunk(*ColumnChunkHelper) bool |
| 19 | KeepPage(page pq.Page) bool |
| 20 | KeepValue(pq.Value) bool |
| 21 | } |
| 22 | |
| 23 | // NewStringEqualPredicate is just an alias for the equivalent byte predicate |
| 24 | func NewStringEqualPredicate(s string) Predicate { |
no outgoing calls
no test coverage detected