Skip to content

Commit

Permalink
bigtable: document behavior of passing multiple RowFilters
Browse files Browse the repository at this point in the history
Fixes #263

Change-Id: I25fc2c34f528d177e3c7873b4cf836e6f2a2105c
Reviewed-on: https://code-review.googlesource.com/15771
Reviewed-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
  • Loading branch information
pongad committed Aug 14, 2017
1 parent cfb32ab commit 17070f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bigtable/bigtable.go
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,9 @@ type ReadOption interface {
}

// RowFilter returns a ReadOption that applies f to the contents of read rows.
//
// If multiple RowFilters are provided, only the last is used. To combine filters,
// use ChainFilters or InterleaveFilters instead.
func RowFilter(f Filter) ReadOption { return rowFilter{f} }

type rowFilter struct{ f Filter }
Expand Down

0 comments on commit 17070f2

Please sign in to comment.