SyncIteratorOptPredicate uses the given predicate to filter column values.
(p Predicate)
| 397 | |
| 398 | // SyncIteratorOptPredicate uses the given predicate to filter column values. |
| 399 | func SyncIteratorOptPredicate(p Predicate) SyncIteratorOpt { |
| 400 | return func(i *SyncIterator) { |
| 401 | i.filter = p |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | // SyncIteratorOptColumnName sets the column name for the iterator. |
| 406 | // This is used for tracing and debugging only. All work is done |
no outgoing calls