featurebase/http
Travis 5cb37834a0 Wrap return types: RowIdentifiers, Pair, and []Pair
This PR adds a field name (string) to the return types
which represent the values from a specific field. For example,
a TopN query on field `x` would be `TopN(x)` and have results
like:
```
[]Pair{
  {ID: 14, Count: 10},
  {ID: 3, Count: 8},
  {ID: 7, Count: 3},
}
```
In order to know what field this result type refers to, we wrap
`[]Pair` in a new struct called `PairsField` which contains an
addition `Field` string where `x` is stored.

This is useful for informing the gRPC server how to construct
more appropriate headers for the result stream (in this case,
the column headers can now be "x" and "count").

Similar logic was applied to `RowIdentifiers` and `Pair` as well.
2019-12-13 15:36:51 -06:00
..
client.go Support import column attrs in client 2019-12-01 07:33:24 -06:00
client_test.go Wrap return types: RowIdentifiers, Pair, and []Pair 2019-12-13 15:36:51 -06:00
error.go Fix linter issues: vet 2018-07-19 11:37:50 -05:00
handler.go Clarify some error messages 2019-12-01 07:33:24 -06:00
handler_internal_test.go v2.0.0 2019-10-08 14:56:17 -06:00
handler_test.go v2.0.0 2019-10-08 14:56:17 -06:00
translator.go test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00
translator_test.go test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00