mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport proto.EncodeValCount
This commit is contained in:
parent
b1d968f95e
commit
c9497ec612
1 changed files with 2 additions and 2 deletions
|
|
@ -352,7 +352,7 @@ func encodeQueryResponse(m *pilosa.QueryResponse) *internal.QueryResponse {
|
|||
pb.Results[i].Pairs = encodePairs(result)
|
||||
case pilosa.ValCount:
|
||||
pb.Results[i].Type = queryResultTypeValCount
|
||||
pb.Results[i].ValCount = EncodeValCount(result)
|
||||
pb.Results[i].ValCount = encodeValCount(result)
|
||||
case uint64:
|
||||
pb.Results[i].Type = queryResultTypeUint64
|
||||
pb.Results[i].N = result
|
||||
|
|
@ -992,7 +992,7 @@ func encodePair(p pilosa.Pair) *internal.Pair {
|
|||
}
|
||||
}
|
||||
|
||||
func EncodeValCount(vc pilosa.ValCount) *internal.ValCount {
|
||||
func encodeValCount(vc pilosa.ValCount) *internal.ValCount {
|
||||
return &internal.ValCount{
|
||||
Val: vc.Val,
|
||||
Count: vc.Count,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue