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: 4/4
Change-Id: Ifeb995ef9d2aac5f2853343b7af0a3a4d7dab404
2 files changed
tree: 760bad5b868a7437bebf498e2915e39972f816bb
  1. go/
  2. .gitignore
  3. AUTHORS
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. VERSION