commit | 3833584b9dfb521b861be6f20e740f687349d024 | [log] [tgz] |
---|---|---|
author | Ivan Pilat <ivanpi@google.com> | Fri May 20 12:51:47 2016 -0700 |
committer | Ivan Pilat <ivanpi@google.com> | Fri May 20 13:21:37 2016 -0700 |
tree | 0bcfc84b3c63869ebf83718f153887e20d759873 | |
parent | 94a58823b015d252721786efbabebdac76be46fd [diff] |
syncbase: Enable watching a set of glob patterns. Watch API was changed to accept one or more CollectionRowPattern structures, with separate SQL LIKE-style glob patterns for collection blessing, name, and row key. Helper function allows easily watching a single prefix (as in old functionality). Watch method no longer returns an error; the error can be checked on the returned stream instead, same as in Scan. Refactored LIKE pattern parsing out of internal query packages into a separate package. Collection and row filtering refactored into separate package, can be used for Scan and other RPCs in the future. Implementation is currently inefficient, scanning over all collections and over all rows in matched collections. MultiPart: 1/4 Change-Id: Ia2c9f4311a3c728b58b3f3cea8d9c1fe97e4c800
This repository defines the Go APIs of Vanadium.