mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 20:07:51 +00:00
Move internals proto files into separate package (pb)
This commit is contained in:
parent
8131e807bf
commit
1e5388dbe9
35 changed files with 1057 additions and 1448 deletions
2
Makefile
2
Makefile
|
|
@ -163,7 +163,7 @@ upgrade-lattice: lattice
|
|||
|
||||
# `go generate` protocol buffers
|
||||
generate-protoc: require-protoc require-protoc-gen-gofast
|
||||
$(GO) generate github.com/pilosa/pilosa/v2/internal
|
||||
$(GO) generate github.com/pilosa/pilosa/v2/pb
|
||||
|
||||
# `go generate` statik assets (lattice UI)
|
||||
generate-statik: build-lattice require-statik
|
||||
|
|
|
|||
22
attr.go
22
attr.go
|
|
@ -19,7 +19,7 @@ import (
|
|||
"sort"
|
||||
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/pilosa/pilosa/v2/internal"
|
||||
"github.com/pilosa/pilosa/v2/pb"
|
||||
)
|
||||
|
||||
// Attribute data type enum.
|
||||
|
|
@ -119,21 +119,21 @@ func (a attrBlocks) Diff(other []AttrBlock) []uint64 {
|
|||
}
|
||||
}
|
||||
|
||||
func encodeAttrs(m map[string]interface{}) []*internal.Attr {
|
||||
func encodeAttrs(m map[string]interface{}) []*pb.Attr {
|
||||
keys := make([]string, 0, len(m))
|
||||
for k := range m {
|
||||
keys = append(keys, k)
|
||||
}
|
||||
sort.Strings(keys)
|
||||
|
||||
a := make([]*internal.Attr, len(keys))
|
||||
a := make([]*pb.Attr, len(keys))
|
||||
for i := range keys {
|
||||
a[i] = encodeAttr(keys[i], m[keys[i]])
|
||||
}
|
||||
return a
|
||||
}
|
||||
|
||||
func decodeAttrs(pb []*internal.Attr) map[string]interface{} {
|
||||
func decodeAttrs(pb []*pb.Attr) map[string]interface{} {
|
||||
m := make(map[string]interface{}, len(pb))
|
||||
for i := range pb {
|
||||
key, value := decodeAttr(pb[i])
|
||||
|
|
@ -142,9 +142,9 @@ func decodeAttrs(pb []*internal.Attr) map[string]interface{} {
|
|||
return m
|
||||
}
|
||||
|
||||
// encodeAttr converts a key/value pair into an Attr internal representation.
|
||||
func encodeAttr(key string, value interface{}) *internal.Attr {
|
||||
pb := &internal.Attr{Key: key}
|
||||
// encodeAttr converts a key/value pair into an Attr pb.representation.
|
||||
func encodeAttr(key string, value interface{}) *pb.Attr {
|
||||
pb := &pb.Attr{Key: key}
|
||||
switch value := value.(type) {
|
||||
case string:
|
||||
pb.Type = attrTypeString
|
||||
|
|
@ -165,8 +165,8 @@ func encodeAttr(key string, value interface{}) *internal.Attr {
|
|||
return pb
|
||||
}
|
||||
|
||||
// decodeAttr converts from an Attr internal representation to a key/value pair.
|
||||
func decodeAttr(attr *internal.Attr) (key string, value interface{}) {
|
||||
// decodeAttr converts from an Attr pb.representation to a key/value pair.
|
||||
func decodeAttr(attr *pb.Attr) (key string, value interface{}) {
|
||||
switch attr.Type {
|
||||
case attrTypeString:
|
||||
return attr.Key, attr.StringValue
|
||||
|
|
@ -192,12 +192,12 @@ func cloneAttrs(m map[string]interface{}) map[string]interface{} {
|
|||
|
||||
// EncodeAttrs encodes an attribute map into a byte slice.
|
||||
func EncodeAttrs(attr map[string]interface{}) ([]byte, error) {
|
||||
return proto.Marshal(&internal.AttrMap{Attrs: encodeAttrs(attr)})
|
||||
return proto.Marshal(&pb.AttrMap{Attrs: encodeAttrs(attr)})
|
||||
}
|
||||
|
||||
// DecodeAttrs decodes a byte slice into an attribute map.
|
||||
func DecodeAttrs(v []byte) (map[string]interface{}, error) {
|
||||
var pb internal.AttrMap
|
||||
var pb pb.AttrMap
|
||||
if err := proto.Unmarshal(v, &pb); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
//+build integration
|
||||
|
||||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
|
@ -14,6 +12,8 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//+build integration
|
||||
|
||||
package client
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,35 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
package client
|
||||
|
||||
import (
|
||||
|
|
@ -53,8 +37,8 @@ import (
|
|||
"github.com/golang/protobuf/proto" //nolint:staticcheck
|
||||
"github.com/opentracing/opentracing-go"
|
||||
"github.com/pilosa/pilosa/v2"
|
||||
"github.com/pilosa/pilosa/v2/internal"
|
||||
pnet "github.com/pilosa/pilosa/v2/net"
|
||||
"github.com/pilosa/pilosa/v2/pb"
|
||||
"github.com/pilosa/pilosa/v2/pql"
|
||||
"github.com/pilosa/pilosa/v2/roaring"
|
||||
"github.com/pilosa/pilosa/v2/stats"
|
||||
|
|
@ -323,7 +307,7 @@ func (c *Client) Query(query PQLQuery, options ...interface{}) (*QueryResponse,
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
iqr := &internal.QueryResponse{}
|
||||
iqr := &pb.QueryResponse{}
|
||||
err = proto.Unmarshal(respData, iqr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
@ -541,7 +525,7 @@ func (c *Client) Import(field *Field, shard uint64, vals, ids []uint64, clear bo
|
|||
// EncodeImport computes the HTTP path and payload for an import
|
||||
// request. It is typically followed by a call to DoImport.
|
||||
func (c *Client) EncodeImport(field *Field, shard uint64, vals, ids []uint64, clear bool) (path string, data []byte, err error) {
|
||||
msg := &internal.ImportRequest{
|
||||
msg := &pb.ImportRequest{
|
||||
Index: field.index.Name(),
|
||||
IndexCreatedAt: field.index.CreatedAt(),
|
||||
Field: field.Name(),
|
||||
|
|
@ -588,7 +572,7 @@ func (c *Client) DoImport(index string, shard uint64, path string, data []byte)
|
|||
// import-values request. It is typically followed by a call to
|
||||
// DoImportValues.
|
||||
func (c *Client) EncodeImportValues(field *Field, shard uint64, vals []int64, ids []uint64, clear bool) (path string, data []byte, err error) {
|
||||
msg := &internal.ImportValueRequest{
|
||||
msg := &pb.ImportValueRequest{
|
||||
Index: field.index.Name(),
|
||||
IndexCreatedAt: field.index.CreatedAt(),
|
||||
Field: field.Name(),
|
||||
|
|
@ -632,7 +616,7 @@ func (c *Client) fetchFragmentNodes(indexName string, shard uint64) ([]fragmentN
|
|||
if c.manualFragmentNode != nil {
|
||||
return []fragmentNode{*c.manualFragmentNode}, nil
|
||||
}
|
||||
path := fmt.Sprintf("/internal/fragment/nodes?shard=%d&index=%s", shard, indexName)
|
||||
path := fmt.Sprintf("/pb.fragment/nodes?shard=%d&index=%s", shard, indexName)
|
||||
_, body, err := c.HTTPRequest("GET", path, []byte{}, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
@ -693,14 +677,14 @@ func (c *Client) ImportRoaringBitmap(field *Field, shard uint64, views map[strin
|
|||
}
|
||||
|
||||
func (c *Client) importRoaringBitmap(uri *pnet.URI, field *Field, shard uint64, views viewImports, options *ImportOptions) error {
|
||||
protoViews := []*internal.ImportRoaringRequestView{}
|
||||
protoViews := []*pb.ImportRoaringRequestView{}
|
||||
for name, bmp := range views {
|
||||
buf := &bytes.Buffer{}
|
||||
_, err := bmp.WriteTo(buf)
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "marshalling bitmap")
|
||||
}
|
||||
protoViews = append(protoViews, &internal.ImportRoaringRequestView{
|
||||
protoViews = append(protoViews, &pb.ImportRoaringRequestView{
|
||||
Name: name,
|
||||
Data: buf.Bytes(),
|
||||
})
|
||||
|
|
@ -708,7 +692,7 @@ func (c *Client) importRoaringBitmap(uri *pnet.URI, field *Field, shard uint64,
|
|||
params := url.Values{}
|
||||
params.Add("clear", strconv.FormatBool(options.clear))
|
||||
path := makeRoaringImportPath(field, shard, params)
|
||||
req := &internal.ImportRoaringRequest{
|
||||
req := &pb.ImportRoaringRequest{
|
||||
Clear: options.clear,
|
||||
Views: protoViews,
|
||||
IndexCreatedAt: field.index.CreatedAt(),
|
||||
|
|
@ -803,14 +787,14 @@ func (c *Client) readSchema() ([]SchemaIndex, error) {
|
|||
}
|
||||
|
||||
func (c *Client) shardsMax() (map[string]uint64, error) {
|
||||
_, data, err := c.HTTPRequest("GET", "/internal/shards/max", nil, nil)
|
||||
_, data, err := c.HTTPRequest("GET", "/pb.shards/max", nil, nil)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "requesting /internal/shards/max")
|
||||
return nil, errors.Wrap(err, "requesting /pb.shards/max")
|
||||
}
|
||||
m := map[string]map[string]uint64{}
|
||||
err = json.Unmarshal(data, &m)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "unmarshaling /internal/shards/max data")
|
||||
return nil, errors.Wrap(err, "unmarshaling /pb.shards/max data")
|
||||
}
|
||||
return m["standard"], nil
|
||||
}
|
||||
|
|
@ -1033,7 +1017,7 @@ func (c *Client) augmentHeaders(headers map[string]string) map[string]string {
|
|||
}
|
||||
|
||||
func (c *Client) TranslateRowKeys(field *Field, keys []string) ([]uint64, error) {
|
||||
req := &internal.TranslateKeysRequest{
|
||||
req := &pb.TranslateKeysRequest{
|
||||
Index: field.index.name,
|
||||
Field: field.name,
|
||||
Keys: keys,
|
||||
|
|
@ -1046,7 +1030,7 @@ func (c *Client) TranslateColumnKeys(index *Index, keys []string) ([]uint64, err
|
|||
// point in partitioning the translation request on the client
|
||||
// because every request is going to be sent to the manual URI.
|
||||
if c.manualServerURI != nil {
|
||||
req := &internal.TranslateKeysRequest{
|
||||
req := &pb.TranslateKeysRequest{
|
||||
Index: index.name,
|
||||
Keys: keys,
|
||||
}
|
||||
|
|
@ -1084,7 +1068,7 @@ func (c *Client) TranslateColumnKeys(index *Index, keys []string) ([]uint64, err
|
|||
uri := uri
|
||||
keys := keys
|
||||
eg.Go(func() error {
|
||||
req := &internal.TranslateKeysRequest{
|
||||
req := &pb.TranslateKeysRequest{
|
||||
Index: index.name,
|
||||
Keys: keys,
|
||||
}
|
||||
|
|
@ -1150,7 +1134,7 @@ func keyPartition(index, key string, partitionN int) int {
|
|||
return int(h.Sum64() % uint64(partitionN))
|
||||
}
|
||||
|
||||
func (c *Client) translateKeys(req *internal.TranslateKeysRequest, uris ...pnet.URI) ([]uint64, error) {
|
||||
func (c *Client) translateKeys(req *pb.TranslateKeysRequest, uris ...pnet.URI) ([]uint64, error) {
|
||||
if len(req.Keys) == 0 {
|
||||
return []uint64{}, nil
|
||||
}
|
||||
|
|
@ -1161,16 +1145,16 @@ func (c *Client) translateKeys(req *internal.TranslateKeysRequest, uris ...pnet.
|
|||
|
||||
var respData []byte
|
||||
if len(uris) == 0 {
|
||||
if _, respData, err = c.httpRequest("POST", "/internal/translate/keys", reqData, defaultProtobufHeaders(), true); err != nil {
|
||||
if _, respData, err = c.httpRequest("POST", "/pb.translate/keys", reqData, defaultProtobufHeaders(), true); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
} else {
|
||||
if _, respData, err = c.doRequest(&uris[0], "POST", "/internal/translate/keys", defaultProtobufHeaders(), reqData); err != nil {
|
||||
return nil, errors.Wrapf(err, "reading response body of /internal/translate/keys request to %v", uris[0])
|
||||
if _, respData, err = c.doRequest(&uris[0], "POST", "/pb.translate/keys", defaultProtobufHeaders(), reqData); err != nil {
|
||||
return nil, errors.Wrapf(err, "reading response body of /pb.translate/keys request to %v", uris[0])
|
||||
}
|
||||
}
|
||||
|
||||
idsResp := &internal.TranslateKeysResponse{}
|
||||
idsResp := &pb.TranslateKeysResponse{}
|
||||
err = proto.Unmarshal(respData, idsResp)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "unmarshalling traslate keys response")
|
||||
|
|
@ -1332,7 +1316,7 @@ func newHTTPClient(options *ClientOptions) *http.Client {
|
|||
}
|
||||
|
||||
func makeRequestData(query string, options *QueryOptions) ([]byte, error) {
|
||||
request := &internal.QueryRequest{
|
||||
request := &pb.QueryRequest{
|
||||
Query: query,
|
||||
Shards: options.Shards,
|
||||
ColumnAttrs: options.ColumnAttrs,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
//+build integration
|
||||
|
||||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
|
@ -14,6 +12,8 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//+build integration
|
||||
|
||||
package client
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
//+build integration
|
||||
|
||||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
|
@ -14,6 +12,8 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//+build integration
|
||||
|
||||
package client
|
||||
|
||||
import (
|
||||
|
|
@ -33,8 +33,8 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/golang/protobuf/proto" //nolint:staticcheck
|
||||
"github.com/pilosa/pilosa/v2/internal"
|
||||
pnet "github.com/pilosa/pilosa/v2/net"
|
||||
"github.com/pilosa/pilosa/v2/pb"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
|
@ -1323,7 +1323,7 @@ func TestImportNodeFails(t *testing.T) {
|
|||
defer server.Close()
|
||||
uri, _ := pnet.NewURIFromAddress(server.URL)
|
||||
client, _ := NewClient(uri, OptClientRetries(0))
|
||||
importRequest := &internal.ImportRequest{
|
||||
importRequest := &pb.ImportRequest{
|
||||
ColumnIDs: []uint64{},
|
||||
RowIDs: []uint64{},
|
||||
Timestamps: []int64{},
|
||||
|
|
@ -1353,12 +1353,12 @@ func TestQueryUnmarshalFails(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestResponseWithInvalidType(t *testing.T) {
|
||||
qr := &internal.QueryResponse{
|
||||
qr := &pb.QueryResponse{
|
||||
Err: "",
|
||||
ColumnAttrSets: []*internal.ColumnAttrSet{
|
||||
ColumnAttrSets: []*pb.ColumnAttrSet{
|
||||
{
|
||||
ID: 0,
|
||||
Attrs: []*internal.Attr{
|
||||
Attrs: []*pb.Attr{
|
||||
{
|
||||
Type: 9999,
|
||||
StringValue: "NOVAL",
|
||||
|
|
@ -1366,7 +1366,7 @@ func TestResponseWithInvalidType(t *testing.T) {
|
|||
},
|
||||
},
|
||||
},
|
||||
Results: []*internal.QueryResult{},
|
||||
Results: []*pb.QueryResult{},
|
||||
}
|
||||
data, err := proto.Marshal(qr)
|
||||
if err != nil {
|
||||
|
|
@ -1473,7 +1473,7 @@ func TestExportFieldFailure(t *testing.T) {
|
|||
statusCode: 404,
|
||||
contentLength: -1,
|
||||
},
|
||||
"/internal/shards/max": {
|
||||
"/pb.shards/max": {
|
||||
content: []byte(`{"standard":{"go-testindex": 0}}`),
|
||||
statusCode: 404,
|
||||
contentLength: -1,
|
||||
|
|
@ -1493,9 +1493,9 @@ func TestExportFieldFailure(t *testing.T) {
|
|||
if err == nil {
|
||||
t.Fatal("should have failed")
|
||||
}
|
||||
statusItem = paths["/internal/shards/max"]
|
||||
statusItem = paths["/pb.shards/max"]
|
||||
statusItem.statusCode = 200
|
||||
paths["/internal/shards/max"] = statusItem
|
||||
paths["/pb.shards/max"] = statusItem
|
||||
_, err = client.ExportField(testField)
|
||||
if err == nil {
|
||||
t.Fatal("should have failed")
|
||||
|
|
@ -1616,7 +1616,7 @@ func TestServerWarning(t *testing.T) {
|
|||
}
|
||||
}()
|
||||
handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
content, err := proto.Marshal(&internal.QueryResponse{})
|
||||
content, err := proto.Marshal(&pb.QueryResponse{})
|
||||
if err != nil {
|
||||
// Cannot directly interact with t from another goroutine.
|
||||
herr = err
|
||||
|
|
@ -1963,14 +1963,14 @@ func TestImportAtomicRecord(t *testing.T) {
|
|||
transferUSD := int64(100)
|
||||
|
||||
setBal := func(bal0, bal1 int64) (data []byte, err error) {
|
||||
ivr0 := &internal.ImportValueRequest{
|
||||
ivr0 := &pb.ImportValueRequest{
|
||||
Index: indexARname,
|
||||
Field: fieldAcct0,
|
||||
Shard: shard,
|
||||
ColumnIDs: []uint64{acctOwnerID},
|
||||
Values: []int64{bal0},
|
||||
}
|
||||
ivr1 := &internal.ImportValueRequest{
|
||||
ivr1 := &pb.ImportValueRequest{
|
||||
Index: indexARname,
|
||||
Field: fieldAcct1,
|
||||
Shard: shard,
|
||||
|
|
@ -1978,10 +1978,10 @@ func TestImportAtomicRecord(t *testing.T) {
|
|||
Values: []int64{bal1},
|
||||
}
|
||||
|
||||
ar := &internal.AtomicRecord{
|
||||
ar := &pb.AtomicRecord{
|
||||
Index: indexARname,
|
||||
Shard: shard,
|
||||
Ivr: []*internal.ImportValueRequest{
|
||||
Ivr: []*pb.ImportValueRequest{
|
||||
ivr0, ivr1,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
@ -38,7 +23,6 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/pilosa/pilosa/v2"
|
||||
pnet "github.com/pilosa/pilosa/v2/net"
|
||||
)
|
||||
|
||||
|
|
@ -161,8 +145,8 @@ func TestNewClientWithInvalidAddr(t *testing.T) {
|
|||
t.Fatalf("should have failed: %+v", err)
|
||||
}
|
||||
_, err = NewClient([]string{"valid:8000", ":invalid"})
|
||||
if err != pilosa.ErrInvalidAddress {
|
||||
t.Fatalf("Should have failed '%v', got '%v'", pilosa.ErrInvalidAddress, err)
|
||||
if err != pnet.ErrInvalidAddress {
|
||||
t.Fatalf("Should have failed '%v, got '%v'", pnet.ErrInvalidAddress, err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -1,36 +1,18 @@
|
|||
//+build integration
|
||||
|
||||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//+build integration
|
||||
|
||||
package csv_test
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
/*
|
||||
Package pilosa enables querying a Pilosa server.
|
||||
|
|
|
|||
|
|
@ -1,34 +1,16 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client_test
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
@ -37,7 +22,7 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/pilosa/pilosa/v2/internal"
|
||||
"github.com/pilosa/pilosa/v2/pb"
|
||||
)
|
||||
|
||||
// QueryResponse types.
|
||||
|
|
@ -65,7 +50,7 @@ type QueryResponse struct {
|
|||
Success bool `json:"success,omitempty"`
|
||||
}
|
||||
|
||||
func newQueryResponseFromInternal(response *internal.QueryResponse) (*QueryResponse, error) {
|
||||
func newQueryResponseFromInternal(response *pb.QueryResponse) (*QueryResponse, error) {
|
||||
if response.Err != "" {
|
||||
return &QueryResponse{
|
||||
ErrorMessage: response.Err,
|
||||
|
|
@ -142,7 +127,7 @@ type QueryResult interface {
|
|||
RowIdentifiers() RowIdentifiersResult
|
||||
}
|
||||
|
||||
func newQueryResultFromInternal(result *internal.QueryResult) (QueryResult, error) {
|
||||
func newQueryResultFromInternal(result *pb.QueryResult) (QueryResult, error) {
|
||||
switch result.Type {
|
||||
case QueryResultTypeNil:
|
||||
return NilResult{}, nil
|
||||
|
|
@ -222,11 +207,11 @@ func (CountItem) GroupCounts() []GroupCount { return nil }
|
|||
// RowIdentifiers returns the result of a Rows call.
|
||||
func (CountItem) RowIdentifiers() RowIdentifiersResult { return RowIdentifiersResult{} }
|
||||
|
||||
func countItemFromInternal(item *internal.Pair) CountResultItem {
|
||||
func countItemFromInternal(item *pb.Pair) CountResultItem {
|
||||
return CountResultItem{ID: item.ID, Key: item.Key, Count: item.Count}
|
||||
}
|
||||
|
||||
func countItemsFromInternal(items []*internal.Pair) TopNResult {
|
||||
func countItemsFromInternal(items []*pb.Pair) TopNResult {
|
||||
result := make([]CountResultItem, 0, len(items))
|
||||
for _, v := range items {
|
||||
result = append(result, countItemFromInternal(v))
|
||||
|
|
@ -276,7 +261,7 @@ type RowResult struct {
|
|||
Keys []string `json:"keys"`
|
||||
}
|
||||
|
||||
func newRowResultFromInternal(row *internal.Row) (*RowResult, error) {
|
||||
func newRowResultFromInternal(row *pb.Row) (*RowResult, error) {
|
||||
attrs, err := convertInternalAttrsToMap(row.Attrs)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
@ -538,7 +523,7 @@ func (RowIdentifiersResult) GroupCounts() []GroupCount { return nil }
|
|||
// RowIdentifiers returns the result of a Rows call.
|
||||
func (r RowIdentifiersResult) RowIdentifiers() RowIdentifiersResult { return r }
|
||||
|
||||
func groupCountsFromInternal(items *internal.GroupCounts) GroupCountResult {
|
||||
func groupCountsFromInternal(items *pb.GroupCounts) GroupCountResult {
|
||||
result := make([]GroupCount, 0, len(items.Groups))
|
||||
for _, g := range items.Groups {
|
||||
groups := make([]FieldRow, 0, len(g.Group))
|
||||
|
|
@ -569,7 +554,7 @@ const (
|
|||
floatType = 4
|
||||
)
|
||||
|
||||
func convertInternalAttrsToMap(attrs []*internal.Attr) (attrsMap map[string]interface{}, err error) {
|
||||
func convertInternalAttrsToMap(attrs []*pb.Attr) (attrsMap map[string]interface{}, err error) {
|
||||
attrsMap = make(map[string]interface{}, len(attrs))
|
||||
for _, attr := range attrs {
|
||||
switch attr.Type {
|
||||
|
|
@ -597,7 +582,7 @@ type ColumnItem struct {
|
|||
Attributes map[string]interface{} `json:"attributes,omitempty"`
|
||||
}
|
||||
|
||||
func newColumnItemFromInternal(column *internal.ColumnAttrSet) (ColumnItem, error) {
|
||||
func newColumnItemFromInternal(column *pb.ColumnAttrSet) (ColumnItem, error) {
|
||||
attrs, err := convertInternalAttrsToMap(column.Attrs)
|
||||
if err != nil {
|
||||
return ColumnItem{}, err
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
@ -39,7 +24,7 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/pilosa/pilosa/v2/internal"
|
||||
"github.com/pilosa/pilosa/v2/pb"
|
||||
)
|
||||
|
||||
func TestNewRowResultFromInternal(t *testing.T) {
|
||||
|
|
@ -50,13 +35,13 @@ func TestNewRowResultFromInternal(t *testing.T) {
|
|||
"height": 1.83,
|
||||
}
|
||||
targetColumns := []uint64{5, 10}
|
||||
attrs := []*internal.Attr{
|
||||
attrs := []*pb.Attr{
|
||||
{Key: "name", StringValue: "some string", Type: 1},
|
||||
{Key: "age", IntValue: 95, Type: 2},
|
||||
{Key: "registered", BoolValue: true, Type: 3},
|
||||
{Key: "height", FloatValue: 1.83, Type: 4},
|
||||
}
|
||||
row := &internal.Row{
|
||||
row := &pb.Row{
|
||||
Attrs: attrs,
|
||||
Columns: []uint64{5, 10},
|
||||
}
|
||||
|
|
@ -84,21 +69,21 @@ func TestNewQueryResponseFromInternal(t *testing.T) {
|
|||
targetCountItems := []CountResultItem{
|
||||
{ID: 10, Count: 100},
|
||||
}
|
||||
attrs := []*internal.Attr{
|
||||
attrs := []*pb.Attr{
|
||||
{Key: "name", StringValue: "some string", Type: 1},
|
||||
{Key: "age", IntValue: 95, Type: 2},
|
||||
{Key: "registered", BoolValue: true, Type: 3},
|
||||
{Key: "height", FloatValue: 1.83, Type: 4},
|
||||
}
|
||||
row := &internal.Row{
|
||||
row := &pb.Row{
|
||||
Attrs: attrs,
|
||||
Columns: []uint64{5, 10},
|
||||
}
|
||||
pairs := []*internal.Pair{
|
||||
pairs := []*pb.Pair{
|
||||
{ID: 10, Count: 100},
|
||||
}
|
||||
response := &internal.QueryResponse{
|
||||
Results: []*internal.QueryResult{
|
||||
response := &pb.QueryResponse{
|
||||
Results: []*pb.QueryResult{
|
||||
{Type: QueryResultTypeRow, Row: row},
|
||||
{Type: QueryResultTypePairs, Pairs: pairs},
|
||||
},
|
||||
|
|
@ -134,7 +119,7 @@ func TestNewQueryResponseFromInternal(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestNewQueryResponseWithErrorFromInternal(t *testing.T) {
|
||||
response := &internal.QueryResponse{
|
||||
response := &pb.QueryResponse{
|
||||
Err: "some error",
|
||||
}
|
||||
qr, err := newQueryResponseFromInternal(response)
|
||||
|
|
@ -153,21 +138,21 @@ func TestNewQueryResponseWithErrorFromInternal(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestNewQueryResponseFromInternalFailure(t *testing.T) {
|
||||
attrs := []*internal.Attr{
|
||||
attrs := []*pb.Attr{
|
||||
{Key: "name", StringValue: "some string", Type: 99},
|
||||
}
|
||||
row := &internal.Row{
|
||||
row := &pb.Row{
|
||||
Attrs: attrs,
|
||||
}
|
||||
response := &internal.QueryResponse{
|
||||
Results: []*internal.QueryResult{{Type: QueryResultTypeRow, Row: row}},
|
||||
response := &pb.QueryResponse{
|
||||
Results: []*pb.QueryResult{{Type: QueryResultTypeRow, Row: row}},
|
||||
}
|
||||
qr, err := newQueryResponseFromInternal(response)
|
||||
if qr != nil && err == nil {
|
||||
t.Fatalf("Should have failed")
|
||||
}
|
||||
response = &internal.QueryResponse{
|
||||
ColumnAttrSets: []*internal.ColumnAttrSet{{ID: 1, Attrs: attrs}},
|
||||
response = &pb.QueryResponse{
|
||||
ColumnAttrSets: []*pb.ColumnAttrSet{{ID: 1, Attrs: attrs}},
|
||||
}
|
||||
qr, err = newQueryResponseFromInternal(response)
|
||||
if qr != nil && err == nil {
|
||||
|
|
@ -197,20 +182,20 @@ func TestCountResultItemToString(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestMarshalResults(t *testing.T) {
|
||||
attrs := []*internal.Attr{
|
||||
attrs := []*pb.Attr{
|
||||
{Key: "name", StringValue: "some string", Type: 1},
|
||||
{Key: "age", IntValue: 95, Type: 2},
|
||||
{Key: "registered", BoolValue: true, Type: 3},
|
||||
{Key: "height", FloatValue: 1.83, Type: 4},
|
||||
}
|
||||
row := &internal.Row{
|
||||
row := &pb.Row{
|
||||
Attrs: attrs,
|
||||
Columns: []uint64{5, 10},
|
||||
}
|
||||
pairs := []*internal.Pair{
|
||||
pairs := []*pb.Pair{
|
||||
{ID: 10, Count: 100},
|
||||
}
|
||||
pbufResults := []*internal.QueryResult{
|
||||
pbufResults := []*pb.QueryResult{
|
||||
{Type: QueryResultTypeRow, Row: row},
|
||||
{Type: QueryResultTypePairs, Pairs: pairs},
|
||||
}
|
||||
|
|
@ -239,7 +224,7 @@ func TestMarshalResults(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestUnknownQueryResultType(t *testing.T) {
|
||||
result := &internal.QueryResult{
|
||||
result := &pb.QueryResult{
|
||||
Type: 999,
|
||||
}
|
||||
_, err := newQueryResultFromInternal(result)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,20 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +1,19 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions
|
||||
// are met:
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// 1. Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// 2. Redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution.
|
||||
//
|
||||
// 3. Neither the name of the copyright holder nor the names of its
|
||||
// contributors may be used to endorse or promote products derived
|
||||
// from this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
// CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
// DAMAGE.
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,20 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
package client
|
||||
|
||||
// Version is the client version.
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import (
|
|||
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/pilosa/pilosa/v2"
|
||||
"github.com/pilosa/pilosa/v2/internal"
|
||||
"github.com/pilosa/pilosa/v2/pb"
|
||||
"github.com/pilosa/pilosa/v2/roaring"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
|
@ -234,7 +234,7 @@ func (cmd *InspectCommand) Run(ctx context.Context) error {
|
|||
}
|
||||
|
||||
// loadTopology is copied almost exactly from pilosa/cluster.go.
|
||||
func loadTopology(path string) (topology internal.Topology, myID string, err error) {
|
||||
func loadTopology(path string) (topology pb.Topology, myID string, err error) {
|
||||
buf, err := ioutil.ReadFile(filepath.Join(path, ".topology"))
|
||||
if os.IsNotExist(err) {
|
||||
return topology, myID, err
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
180
executor.go
180
executor.go
|
|
@ -30,7 +30,7 @@ import (
|
|||
|
||||
"github.com/pilosa/pilosa/v2/disco"
|
||||
"github.com/pilosa/pilosa/v2/pql"
|
||||
pb "github.com/pilosa/pilosa/v2/proto"
|
||||
"github.com/pilosa/pilosa/v2/proto"
|
||||
"github.com/pilosa/pilosa/v2/roaring"
|
||||
"github.com/pilosa/pilosa/v2/shardwidth"
|
||||
"github.com/pilosa/pilosa/v2/testhook"
|
||||
|
|
@ -2734,37 +2734,37 @@ func (r *RowIdentifiers) Clone() (clone *RowIdentifiers) {
|
|||
}
|
||||
|
||||
// ToTable implements the ToTabler interface.
|
||||
func (r RowIdentifiers) ToTable() (*pb.TableResponse, error) {
|
||||
func (r RowIdentifiers) ToTable() (*proto.TableResponse, error) {
|
||||
var n int
|
||||
if len(r.Keys) > 0 {
|
||||
n = len(r.Keys)
|
||||
} else {
|
||||
n = len(r.Rows)
|
||||
}
|
||||
return pb.RowsToTable(&r, n)
|
||||
return proto.RowsToTable(&r, n)
|
||||
}
|
||||
|
||||
// ToRows implements the ToRowser interface.
|
||||
func (r RowIdentifiers) ToRows(callback func(*pb.RowResponse) error) error {
|
||||
func (r RowIdentifiers) ToRows(callback func(*proto.RowResponse) error) error {
|
||||
if len(r.Keys) > 0 {
|
||||
ci := []*pb.ColumnInfo{{Name: r.Field(), Datatype: "string"}}
|
||||
ci := []*proto.ColumnInfo{{Name: r.Field(), Datatype: "string"}}
|
||||
for _, key := range r.Keys {
|
||||
if err := callback(&pb.RowResponse{
|
||||
if err := callback(&proto.RowResponse{
|
||||
Headers: ci,
|
||||
Columns: []*pb.ColumnResponse{
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_StringVal{StringVal: key}},
|
||||
Columns: []*proto.ColumnResponse{
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_StringVal{StringVal: key}},
|
||||
}}); err != nil {
|
||||
return errors.Wrap(err, "calling callback")
|
||||
}
|
||||
ci = nil
|
||||
}
|
||||
} else {
|
||||
ci := []*pb.ColumnInfo{{Name: r.Field(), Datatype: "uint64"}}
|
||||
ci := []*proto.ColumnInfo{{Name: r.Field(), Datatype: "uint64"}}
|
||||
for _, id := range r.Rows {
|
||||
if err := callback(&pb.RowResponse{
|
||||
if err := callback(&proto.RowResponse{
|
||||
Headers: ci,
|
||||
Columns: []*pb.ColumnResponse{
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Uint64Val{Uint64Val: uint64(id)}},
|
||||
Columns: []*proto.ColumnResponse{
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Uint64Val{Uint64Val: uint64(id)}},
|
||||
}}); err != nil {
|
||||
return errors.Wrap(err, "calling callback")
|
||||
}
|
||||
|
|
@ -3282,50 +3282,50 @@ func NewGroupCounts(agg string, groups ...GroupCount) *GroupCounts {
|
|||
}
|
||||
|
||||
// ToTable implements the ToTabler interface.
|
||||
func (g *GroupCounts) ToTable() (*pb.TableResponse, error) {
|
||||
return pb.RowsToTable(g, len(g.Groups()))
|
||||
func (g *GroupCounts) ToTable() (*proto.TableResponse, error) {
|
||||
return proto.RowsToTable(g, len(g.Groups()))
|
||||
}
|
||||
|
||||
// ToRows implements the ToRowser interface.
|
||||
func (g *GroupCounts) ToRows(callback func(*pb.RowResponse) error) error {
|
||||
func (g *GroupCounts) ToRows(callback func(*proto.RowResponse) error) error {
|
||||
agg := g.AggregateColumn()
|
||||
for i, gc := range g.Groups() {
|
||||
var ci []*pb.ColumnInfo
|
||||
var ci []*proto.ColumnInfo
|
||||
if i == 0 {
|
||||
for _, fieldRow := range gc.Group {
|
||||
if fieldRow.RowKey != "" {
|
||||
ci = append(ci, &pb.ColumnInfo{Name: fieldRow.Field, Datatype: "string"})
|
||||
ci = append(ci, &proto.ColumnInfo{Name: fieldRow.Field, Datatype: "string"})
|
||||
} else if fieldRow.Value != nil {
|
||||
ci = append(ci, &pb.ColumnInfo{Name: fieldRow.Field, Datatype: "int64"})
|
||||
ci = append(ci, &proto.ColumnInfo{Name: fieldRow.Field, Datatype: "int64"})
|
||||
} else {
|
||||
ci = append(ci, &pb.ColumnInfo{Name: fieldRow.Field, Datatype: "uint64"})
|
||||
ci = append(ci, &proto.ColumnInfo{Name: fieldRow.Field, Datatype: "uint64"})
|
||||
}
|
||||
}
|
||||
ci = append(ci, &pb.ColumnInfo{Name: "count", Datatype: "uint64"})
|
||||
ci = append(ci, &proto.ColumnInfo{Name: "count", Datatype: "uint64"})
|
||||
if agg != "" {
|
||||
ci = append(ci, &pb.ColumnInfo{Name: agg, Datatype: "int64"})
|
||||
ci = append(ci, &proto.ColumnInfo{Name: agg, Datatype: "int64"})
|
||||
}
|
||||
|
||||
}
|
||||
rowResp := &pb.RowResponse{
|
||||
rowResp := &proto.RowResponse{
|
||||
Headers: ci,
|
||||
Columns: []*pb.ColumnResponse{},
|
||||
Columns: []*proto.ColumnResponse{},
|
||||
}
|
||||
|
||||
for _, fieldRow := range gc.Group {
|
||||
if fieldRow.RowKey != "" {
|
||||
rowResp.Columns = append(rowResp.Columns, &pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_StringVal{StringVal: fieldRow.RowKey}})
|
||||
rowResp.Columns = append(rowResp.Columns, &proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_StringVal{StringVal: fieldRow.RowKey}})
|
||||
} else if fieldRow.Value != nil {
|
||||
rowResp.Columns = append(rowResp.Columns, &pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Int64Val{Int64Val: *fieldRow.Value}})
|
||||
rowResp.Columns = append(rowResp.Columns, &proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Int64Val{Int64Val: *fieldRow.Value}})
|
||||
} else {
|
||||
rowResp.Columns = append(rowResp.Columns, &pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Uint64Val{Uint64Val: fieldRow.RowID}})
|
||||
rowResp.Columns = append(rowResp.Columns, &proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Uint64Val{Uint64Val: fieldRow.RowID}})
|
||||
}
|
||||
}
|
||||
rowResp.Columns = append(rowResp.Columns,
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Uint64Val{Uint64Val: gc.Count}})
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Uint64Val{Uint64Val: gc.Count}})
|
||||
if agg != "" {
|
||||
rowResp.Columns = append(rowResp.Columns,
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Int64Val{Int64Val: gc.Agg}})
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Int64Val{Int64Val: gc.Agg}})
|
||||
}
|
||||
if err := callback(rowResp); err != nil {
|
||||
return errors.Wrap(err, "calling callback")
|
||||
|
|
@ -3861,93 +3861,93 @@ type ExtractedTable struct {
|
|||
}
|
||||
|
||||
// ToRows implements the ToRowser interface.
|
||||
func (t ExtractedTable) ToRows(callback func(*pb.RowResponse) error) error {
|
||||
func (t ExtractedTable) ToRows(callback func(*proto.RowResponse) error) error {
|
||||
if len(t.Columns) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
headers := make([]*pb.ColumnInfo, len(t.Fields)+1)
|
||||
headers := make([]*proto.ColumnInfo, len(t.Fields)+1)
|
||||
colType := "uint64"
|
||||
if t.Columns[0].Column.Keyed {
|
||||
colType = "string"
|
||||
}
|
||||
headers[0] = &pb.ColumnInfo{
|
||||
headers[0] = &proto.ColumnInfo{
|
||||
Name: "_id",
|
||||
Datatype: colType,
|
||||
}
|
||||
dataHeaders := headers[1:]
|
||||
for i, f := range t.Fields {
|
||||
dataHeaders[i] = &pb.ColumnInfo{
|
||||
dataHeaders[i] = &proto.ColumnInfo{
|
||||
Name: f.Name,
|
||||
Datatype: f.Type,
|
||||
}
|
||||
}
|
||||
|
||||
for _, c := range t.Columns {
|
||||
cols := make([]*pb.ColumnResponse, len(c.Rows)+1)
|
||||
cols := make([]*proto.ColumnResponse, len(c.Rows)+1)
|
||||
if c.Column.Keyed {
|
||||
cols[0] = &pb.ColumnResponse{
|
||||
ColumnVal: &pb.ColumnResponse_StringVal{
|
||||
cols[0] = &proto.ColumnResponse{
|
||||
ColumnVal: &proto.ColumnResponse_StringVal{
|
||||
StringVal: c.Column.Key,
|
||||
},
|
||||
}
|
||||
} else {
|
||||
cols[0] = &pb.ColumnResponse{
|
||||
ColumnVal: &pb.ColumnResponse_Uint64Val{
|
||||
cols[0] = &proto.ColumnResponse{
|
||||
ColumnVal: &proto.ColumnResponse_Uint64Val{
|
||||
Uint64Val: c.Column.ID,
|
||||
},
|
||||
}
|
||||
}
|
||||
valCols := cols[1:]
|
||||
for i, r := range c.Rows {
|
||||
var col *pb.ColumnResponse
|
||||
var col *proto.ColumnResponse
|
||||
switch r := r.(type) {
|
||||
case nil:
|
||||
col = &pb.ColumnResponse{}
|
||||
col = &proto.ColumnResponse{}
|
||||
case bool:
|
||||
col = &pb.ColumnResponse{
|
||||
ColumnVal: &pb.ColumnResponse_BoolVal{
|
||||
col = &proto.ColumnResponse{
|
||||
ColumnVal: &proto.ColumnResponse_BoolVal{
|
||||
BoolVal: r,
|
||||
},
|
||||
}
|
||||
case int64:
|
||||
col = &pb.ColumnResponse{
|
||||
ColumnVal: &pb.ColumnResponse_Int64Val{
|
||||
col = &proto.ColumnResponse{
|
||||
ColumnVal: &proto.ColumnResponse_Int64Val{
|
||||
Int64Val: r,
|
||||
},
|
||||
}
|
||||
case uint64:
|
||||
col = &pb.ColumnResponse{
|
||||
ColumnVal: &pb.ColumnResponse_Uint64Val{
|
||||
col = &proto.ColumnResponse{
|
||||
ColumnVal: &proto.ColumnResponse_Uint64Val{
|
||||
Uint64Val: r,
|
||||
},
|
||||
}
|
||||
case string:
|
||||
col = &pb.ColumnResponse{
|
||||
ColumnVal: &pb.ColumnResponse_StringVal{
|
||||
col = &proto.ColumnResponse{
|
||||
ColumnVal: &proto.ColumnResponse_StringVal{
|
||||
StringVal: r,
|
||||
},
|
||||
}
|
||||
case []uint64:
|
||||
col = &pb.ColumnResponse{
|
||||
ColumnVal: &pb.ColumnResponse_Uint64ArrayVal{
|
||||
Uint64ArrayVal: &pb.Uint64Array{
|
||||
col = &proto.ColumnResponse{
|
||||
ColumnVal: &proto.ColumnResponse_Uint64ArrayVal{
|
||||
Uint64ArrayVal: &proto.Uint64Array{
|
||||
Vals: r,
|
||||
},
|
||||
},
|
||||
}
|
||||
case []string:
|
||||
col = &pb.ColumnResponse{
|
||||
ColumnVal: &pb.ColumnResponse_StringArrayVal{
|
||||
StringArrayVal: &pb.StringArray{
|
||||
col = &proto.ColumnResponse{
|
||||
ColumnVal: &proto.ColumnResponse_StringArrayVal{
|
||||
StringArrayVal: &proto.StringArray{
|
||||
Vals: r,
|
||||
},
|
||||
},
|
||||
}
|
||||
case pql.Decimal:
|
||||
col = &pb.ColumnResponse{
|
||||
ColumnVal: &pb.ColumnResponse_DecimalVal{
|
||||
DecimalVal: &pb.Decimal{
|
||||
col = &proto.ColumnResponse{
|
||||
ColumnVal: &proto.ColumnResponse_DecimalVal{
|
||||
DecimalVal: &proto.Decimal{
|
||||
Value: r.Value,
|
||||
Scale: r.Scale,
|
||||
},
|
||||
|
|
@ -3958,7 +3958,7 @@ func (t ExtractedTable) ToRows(callback func(*pb.RowResponse) error) error {
|
|||
}
|
||||
valCols[i] = col
|
||||
}
|
||||
err := callback(&pb.RowResponse{
|
||||
err := callback(&proto.RowResponse{
|
||||
Headers: headers,
|
||||
Columns: cols,
|
||||
})
|
||||
|
|
@ -3971,8 +3971,8 @@ func (t ExtractedTable) ToRows(callback func(*pb.RowResponse) error) error {
|
|||
}
|
||||
|
||||
// ToTable converts the table to protobuf format.
|
||||
func (t ExtractedTable) ToTable() (*pb.TableResponse, error) {
|
||||
return pb.RowsToTable(t, len(t.Columns))
|
||||
func (t ExtractedTable) ToTable() (*proto.TableResponse, error) {
|
||||
return proto.RowsToTable(t, len(t.Columns))
|
||||
}
|
||||
|
||||
type ExtractedIDColumn struct {
|
||||
|
|
@ -5633,12 +5633,12 @@ func (e *executor) remoteExec(ctx context.Context, node *topology.Node, index st
|
|||
EmbeddedData: embed,
|
||||
}
|
||||
|
||||
pb, err := e.client.QueryNode(ctx, &node.URI, index, pbreq)
|
||||
resp, err := e.client.QueryNode(ctx, &node.URI, index, pbreq)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return pb.Results, pb.Err
|
||||
return resp.Results, resp.Err
|
||||
}
|
||||
|
||||
// shardsByNode returns a mapping of nodes to shards.
|
||||
|
|
@ -7305,7 +7305,7 @@ func (s *SignedRow) Field() string {
|
|||
}
|
||||
|
||||
// ToTable implements the ToTabler interface.
|
||||
func (s SignedRow) ToTable() (*pb.TableResponse, error) {
|
||||
func (s SignedRow) ToTable() (*proto.TableResponse, error) {
|
||||
var n uint64
|
||||
if s.Neg != nil {
|
||||
n += s.Neg.Count()
|
||||
|
|
@ -7313,13 +7313,13 @@ func (s SignedRow) ToTable() (*pb.TableResponse, error) {
|
|||
if s.Pos != nil {
|
||||
n += s.Pos.Count()
|
||||
}
|
||||
return pb.RowsToTable(&s, int(n))
|
||||
return proto.RowsToTable(&s, int(n))
|
||||
}
|
||||
|
||||
// ToRows implements the ToRowser interface.
|
||||
func (s SignedRow) ToRows(callback func(*pb.RowResponse) error) error {
|
||||
func (s SignedRow) ToRows(callback func(*proto.RowResponse) error) error {
|
||||
|
||||
ci := []*pb.ColumnInfo{{Name: s.Field(), Datatype: "int64"}}
|
||||
ci := []*proto.ColumnInfo{{Name: s.Field(), Datatype: "int64"}}
|
||||
if s.Neg != nil {
|
||||
negs := s.Neg.Columns()
|
||||
for i := len(negs) - 1; i >= 0; i-- {
|
||||
|
|
@ -7328,10 +7328,10 @@ func (s SignedRow) ToRows(callback func(*pb.RowResponse) error) error {
|
|||
return errors.Wrap(err, "converting uint64 to int64 (negative)")
|
||||
}
|
||||
|
||||
if err := callback(&pb.RowResponse{
|
||||
if err := callback(&proto.RowResponse{
|
||||
Headers: ci,
|
||||
Columns: []*pb.ColumnResponse{
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Int64Val{Int64Val: val}},
|
||||
Columns: []*proto.ColumnResponse{
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Int64Val{Int64Val: val}},
|
||||
},
|
||||
}); err != nil {
|
||||
return errors.Wrap(err, "calling callback")
|
||||
|
|
@ -7346,10 +7346,10 @@ func (s SignedRow) ToRows(callback func(*pb.RowResponse) error) error {
|
|||
return errors.Wrap(err, "converting uint64 to int64 (positive)")
|
||||
}
|
||||
|
||||
if err := callback(&pb.RowResponse{
|
||||
if err := callback(&proto.RowResponse{
|
||||
Headers: ci,
|
||||
Columns: []*pb.ColumnResponse{
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Int64Val{Int64Val: val}},
|
||||
Columns: []*proto.ColumnResponse{
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Int64Val{Int64Val: val}},
|
||||
},
|
||||
}); err != nil {
|
||||
return errors.Wrap(err, "calling callback")
|
||||
|
|
@ -7430,51 +7430,51 @@ func (v *ValCount) Clone() (r *ValCount) {
|
|||
}
|
||||
|
||||
// ToTable implements the ToTabler interface.
|
||||
func (v ValCount) ToTable() (*pb.TableResponse, error) {
|
||||
return pb.RowsToTable(&v, 1)
|
||||
func (v ValCount) ToTable() (*proto.TableResponse, error) {
|
||||
return proto.RowsToTable(&v, 1)
|
||||
}
|
||||
|
||||
// ToRows implements the ToRowser interface.
|
||||
func (v ValCount) ToRows(callback func(*pb.RowResponse) error) error {
|
||||
var ci []*pb.ColumnInfo
|
||||
func (v ValCount) ToRows(callback func(*proto.RowResponse) error) error {
|
||||
var ci []*proto.ColumnInfo
|
||||
// ValCount can have a decimal, float, or integer value, but
|
||||
// not more than one (as of this writing).
|
||||
if v.DecimalVal != nil {
|
||||
ci = []*pb.ColumnInfo{
|
||||
ci = []*proto.ColumnInfo{
|
||||
{Name: "value", Datatype: "decimal"},
|
||||
{Name: "count", Datatype: "int64"},
|
||||
}
|
||||
if err := callback(&pb.RowResponse{
|
||||
if err := callback(&proto.RowResponse{
|
||||
Headers: ci,
|
||||
Columns: []*pb.ColumnResponse{
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_DecimalVal{DecimalVal: &pb.Decimal{Value: v.DecimalVal.Value, Scale: v.DecimalVal.Scale}}},
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Int64Val{Int64Val: v.Count}},
|
||||
Columns: []*proto.ColumnResponse{
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_DecimalVal{DecimalVal: &proto.Decimal{Value: v.DecimalVal.Value, Scale: v.DecimalVal.Scale}}},
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Int64Val{Int64Val: v.Count}},
|
||||
}}); err != nil {
|
||||
return errors.Wrap(err, "calling callback")
|
||||
}
|
||||
} else if v.FloatVal != 0 {
|
||||
ci = []*pb.ColumnInfo{
|
||||
ci = []*proto.ColumnInfo{
|
||||
{Name: "value", Datatype: "float64"},
|
||||
{Name: "count", Datatype: "int64"},
|
||||
}
|
||||
if err := callback(&pb.RowResponse{
|
||||
if err := callback(&proto.RowResponse{
|
||||
Headers: ci,
|
||||
Columns: []*pb.ColumnResponse{
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Float64Val{Float64Val: v.FloatVal}},
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Int64Val{Int64Val: v.Count}},
|
||||
Columns: []*proto.ColumnResponse{
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Float64Val{Float64Val: v.FloatVal}},
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Int64Val{Int64Val: v.Count}},
|
||||
}}); err != nil {
|
||||
return errors.Wrap(err, "calling callback")
|
||||
}
|
||||
} else {
|
||||
ci = []*pb.ColumnInfo{
|
||||
ci = []*proto.ColumnInfo{
|
||||
{Name: "value", Datatype: "int64"},
|
||||
{Name: "count", Datatype: "int64"},
|
||||
}
|
||||
if err := callback(&pb.RowResponse{
|
||||
if err := callback(&proto.RowResponse{
|
||||
Headers: ci,
|
||||
Columns: []*pb.ColumnResponse{
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Int64Val{Int64Val: v.Val}},
|
||||
&pb.ColumnResponse{ColumnVal: &pb.ColumnResponse_Int64Val{Int64Val: v.Count}},
|
||||
Columns: []*proto.ColumnResponse{
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Int64Val{Int64Val: v.Val}},
|
||||
&proto.ColumnResponse{ColumnVal: &proto.ColumnResponse_Int64Val{Int64Val: v.Count}},
|
||||
}}); err != nil {
|
||||
return errors.Wrap(err, "calling callback")
|
||||
}
|
||||
|
|
|
|||
10
fragment.go
10
fragment.go
|
|
@ -40,9 +40,9 @@ import (
|
|||
|
||||
"github.com/cespare/xxhash"
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/pilosa/pilosa/v2/internal"
|
||||
"github.com/pilosa/pilosa/v2/logger"
|
||||
pnet "github.com/pilosa/pilosa/v2/net"
|
||||
"github.com/pilosa/pilosa/v2/pb"
|
||||
"github.com/pilosa/pilosa/v2/pql"
|
||||
"github.com/pilosa/pilosa/v2/roaring"
|
||||
"github.com/pilosa/pilosa/v2/shardwidth"
|
||||
|
|
@ -533,7 +533,7 @@ func (f *fragment) openCache() error {
|
|||
}
|
||||
|
||||
// Unmarshal cache data.
|
||||
var pb internal.Cache
|
||||
var pb pb.Cache
|
||||
if err := proto.Unmarshal(buf, &pb); err != nil {
|
||||
f.holder.Logger.Printf("error unmarshaling cache data, skipping: path=%s, err=%s", path, err)
|
||||
return nil
|
||||
|
|
@ -696,7 +696,7 @@ func (f *fragment) setBit(tx Tx, rowID, columnID uint64) (changed bool, err erro
|
|||
err = f.gen.Transaction(wp, doSetFunc)
|
||||
} else {
|
||||
if tx.Type() == RoaringTxn {
|
||||
panic("internal error: f.gen was nil. should never happen under roaring b/c storage should be open")
|
||||
panic("pb.error: f.gen was nil. should never happen under roaring b/c storage should be open")
|
||||
}
|
||||
// else blue green or transactional backend. Just do it.
|
||||
err = doSetFunc()
|
||||
|
|
@ -2535,7 +2535,7 @@ func (f *fragment) importPositions(tx Tx, set, clear []uint64, rowSet map[uint64
|
|||
err = f.gen.Transaction(wp, doFunc)
|
||||
} else {
|
||||
if tx.Type() == RoaringTxn {
|
||||
panic("internal error: 2nd place, f.gen was nil. should never happen under roaring b/c storage should be open")
|
||||
panic("pb.error: 2nd place, f.gen was nil. should never happen under roaring b/c storage should be open")
|
||||
}
|
||||
// else blue green or transactional backend. Just do it.
|
||||
err = doFunc()
|
||||
|
|
@ -2992,7 +2992,7 @@ func (f *fragment) flushCache() error {
|
|||
ids := f.cache.IDs()
|
||||
|
||||
// Marshal cache data to bytes.
|
||||
buf, err := proto.Marshal(&internal.Cache{IDs: ids})
|
||||
buf, err := proto.Marshal(&pb.Cache{IDs: ids})
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "marshalling")
|
||||
}
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -23,7 +23,6 @@ require (
|
|||
github.com/gorilla/handlers v1.3.0
|
||||
github.com/gorilla/mux v1.7.0
|
||||
github.com/improbable-eng/grpc-web v0.13.0
|
||||
github.com/kisielk/errcheck v1.5.0 // indirect
|
||||
github.com/lib/pq v1.8.0
|
||||
github.com/molecula/apophenia v0.0.0-20190827192002-68b7a14a478b
|
||||
github.com/opentracing/opentracing-go v1.1.0
|
||||
|
|
@ -51,7 +50,6 @@ require (
|
|||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
||||
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4 // indirect
|
||||
golang.org/x/text v0.3.5 // indirect
|
||||
golang.org/x/tools v0.0.0-20210106214847-113979e3529a // indirect
|
||||
google.golang.org/grpc v1.28.0
|
||||
gopkg.in/yaml.v2 v2.3.0 // indirect
|
||||
modernc.org/mathutil v1.0.0
|
||||
|
|
|
|||
4
go.sum
4
go.sum
|
|
@ -138,12 +138,8 @@ github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00 h1:l5lAOZEym3oK3
|
|||
github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
|
||||
github.com/gorilla/handlers v1.3.0 h1:tsg9qP3mjt1h4Roxp+M1paRjrVBfPSOpBuVclh6YluI=
|
||||
github.com/gorilla/handlers v1.3.0/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ=
|
||||
github.com/gorilla/handlers v1.4.1 h1:BHvcRGJe/TrL+OqFxoKQGddTgeibiOjaBssV5a/N9sw=
|
||||
github.com/gorilla/handlers v1.4.1/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ=
|
||||
github.com/gorilla/mux v1.7.0 h1:tOSd0UKHQd6urX6ApfOn4XdBMY6Sh1MfxV3kmaazO+U=
|
||||
github.com/gorilla/mux v1.7.0/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
|
||||
github.com/gorilla/mux v1.7.3 h1:gnP5JzjVOuiZD07fKKToCAOjS0yOpj/qPETTXCCS6hw=
|
||||
github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
|
||||
github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
|
||||
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
|
||||
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
||||
|
|
|
|||
202
internal/LICENSE
202
internal/LICENSE
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package internal
|
||||
package pb
|
||||
|
||||
import (
|
||||
"io"
|
||||
|
|
@ -1,7 +1,24 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: private.proto
|
||||
|
||||
package internal
|
||||
package pb
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
|
|
@ -2472,143 +2489,142 @@ func (m *ResizeNodeMessage) GetAction() string {
|
|||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*IndexMeta)(nil), "internal.IndexMeta")
|
||||
proto.RegisterType((*FieldOptions)(nil), "internal.FieldOptions")
|
||||
proto.RegisterType((*ImportResponse)(nil), "internal.ImportResponse")
|
||||
proto.RegisterType((*BlockDataRequest)(nil), "internal.BlockDataRequest")
|
||||
proto.RegisterType((*BlockDataResponse)(nil), "internal.BlockDataResponse")
|
||||
proto.RegisterType((*Cache)(nil), "internal.Cache")
|
||||
proto.RegisterType((*MaxShards)(nil), "internal.MaxShards")
|
||||
proto.RegisterMapType((map[string]uint64)(nil), "internal.MaxShards.StandardEntry")
|
||||
proto.RegisterType((*CreateShardMessage)(nil), "internal.CreateShardMessage")
|
||||
proto.RegisterType((*DeleteIndexMessage)(nil), "internal.DeleteIndexMessage")
|
||||
proto.RegisterType((*CreateIndexMessage)(nil), "internal.CreateIndexMessage")
|
||||
proto.RegisterType((*CreateFieldMessage)(nil), "internal.CreateFieldMessage")
|
||||
proto.RegisterType((*DeleteFieldMessage)(nil), "internal.DeleteFieldMessage")
|
||||
proto.RegisterType((*DeleteAvailableShardMessage)(nil), "internal.DeleteAvailableShardMessage")
|
||||
proto.RegisterType((*Field)(nil), "internal.Field")
|
||||
proto.RegisterType((*Schema)(nil), "internal.Schema")
|
||||
proto.RegisterType((*Index)(nil), "internal.Index")
|
||||
proto.RegisterType((*URI)(nil), "internal.URI")
|
||||
proto.RegisterType((*Node)(nil), "internal.Node")
|
||||
proto.RegisterType((*NodeStateMessage)(nil), "internal.NodeStateMessage")
|
||||
proto.RegisterType((*NodeEventMessage)(nil), "internal.NodeEventMessage")
|
||||
proto.RegisterType((*NodeStatus)(nil), "internal.NodeStatus")
|
||||
proto.RegisterType((*IndexStatus)(nil), "internal.IndexStatus")
|
||||
proto.RegisterType((*FieldStatus)(nil), "internal.FieldStatus")
|
||||
proto.RegisterType((*ClusterStatus)(nil), "internal.ClusterStatus")
|
||||
proto.RegisterType((*BSIGroup)(nil), "internal.BSIGroup")
|
||||
proto.RegisterType((*CreateViewMessage)(nil), "internal.CreateViewMessage")
|
||||
proto.RegisterType((*DeleteViewMessage)(nil), "internal.DeleteViewMessage")
|
||||
proto.RegisterType((*ResizeInstruction)(nil), "internal.ResizeInstruction")
|
||||
proto.RegisterType((*ResizeSource)(nil), "internal.ResizeSource")
|
||||
proto.RegisterType((*TranslationResizeSource)(nil), "internal.TranslationResizeSource")
|
||||
proto.RegisterType((*ResizeInstructionComplete)(nil), "internal.ResizeInstructionComplete")
|
||||
proto.RegisterType((*Topology)(nil), "internal.Topology")
|
||||
proto.RegisterType((*RecalculateCaches)(nil), "internal.RecalculateCaches")
|
||||
proto.RegisterType((*LoadSchemaMessage)(nil), "internal.LoadSchemaMessage")
|
||||
proto.RegisterType((*TransactionMessage)(nil), "internal.TransactionMessage")
|
||||
proto.RegisterType((*Transaction)(nil), "internal.Transaction")
|
||||
proto.RegisterType((*TransactionStats)(nil), "internal.TransactionStats")
|
||||
proto.RegisterType((*ResizeAbortMessage)(nil), "internal.ResizeAbortMessage")
|
||||
proto.RegisterType((*ResizeNodeMessage)(nil), "internal.ResizeNodeMessage")
|
||||
proto.RegisterType((*IndexMeta)(nil), "pb.IndexMeta")
|
||||
proto.RegisterType((*FieldOptions)(nil), "pb.FieldOptions")
|
||||
proto.RegisterType((*ImportResponse)(nil), "pb.ImportResponse")
|
||||
proto.RegisterType((*BlockDataRequest)(nil), "pb.BlockDataRequest")
|
||||
proto.RegisterType((*BlockDataResponse)(nil), "pb.BlockDataResponse")
|
||||
proto.RegisterType((*Cache)(nil), "pb.Cache")
|
||||
proto.RegisterType((*MaxShards)(nil), "pb.MaxShards")
|
||||
proto.RegisterMapType((map[string]uint64)(nil), "pb.MaxShards.StandardEntry")
|
||||
proto.RegisterType((*CreateShardMessage)(nil), "pb.CreateShardMessage")
|
||||
proto.RegisterType((*DeleteIndexMessage)(nil), "pb.DeleteIndexMessage")
|
||||
proto.RegisterType((*CreateIndexMessage)(nil), "pb.CreateIndexMessage")
|
||||
proto.RegisterType((*CreateFieldMessage)(nil), "pb.CreateFieldMessage")
|
||||
proto.RegisterType((*DeleteFieldMessage)(nil), "pb.DeleteFieldMessage")
|
||||
proto.RegisterType((*DeleteAvailableShardMessage)(nil), "pb.DeleteAvailableShardMessage")
|
||||
proto.RegisterType((*Field)(nil), "pb.Field")
|
||||
proto.RegisterType((*Schema)(nil), "pb.Schema")
|
||||
proto.RegisterType((*Index)(nil), "pb.Index")
|
||||
proto.RegisterType((*URI)(nil), "pb.URI")
|
||||
proto.RegisterType((*Node)(nil), "pb.Node")
|
||||
proto.RegisterType((*NodeStateMessage)(nil), "pb.NodeStateMessage")
|
||||
proto.RegisterType((*NodeEventMessage)(nil), "pb.NodeEventMessage")
|
||||
proto.RegisterType((*NodeStatus)(nil), "pb.NodeStatus")
|
||||
proto.RegisterType((*IndexStatus)(nil), "pb.IndexStatus")
|
||||
proto.RegisterType((*FieldStatus)(nil), "pb.FieldStatus")
|
||||
proto.RegisterType((*ClusterStatus)(nil), "pb.ClusterStatus")
|
||||
proto.RegisterType((*BSIGroup)(nil), "pb.BSIGroup")
|
||||
proto.RegisterType((*CreateViewMessage)(nil), "pb.CreateViewMessage")
|
||||
proto.RegisterType((*DeleteViewMessage)(nil), "pb.DeleteViewMessage")
|
||||
proto.RegisterType((*ResizeInstruction)(nil), "pb.ResizeInstruction")
|
||||
proto.RegisterType((*ResizeSource)(nil), "pb.ResizeSource")
|
||||
proto.RegisterType((*TranslationResizeSource)(nil), "pb.TranslationResizeSource")
|
||||
proto.RegisterType((*ResizeInstructionComplete)(nil), "pb.ResizeInstructionComplete")
|
||||
proto.RegisterType((*Topology)(nil), "pb.Topology")
|
||||
proto.RegisterType((*RecalculateCaches)(nil), "pb.RecalculateCaches")
|
||||
proto.RegisterType((*LoadSchemaMessage)(nil), "pb.LoadSchemaMessage")
|
||||
proto.RegisterType((*TransactionMessage)(nil), "pb.TransactionMessage")
|
||||
proto.RegisterType((*Transaction)(nil), "pb.Transaction")
|
||||
proto.RegisterType((*TransactionStats)(nil), "pb.TransactionStats")
|
||||
proto.RegisterType((*ResizeAbortMessage)(nil), "pb.ResizeAbortMessage")
|
||||
proto.RegisterType((*ResizeNodeMessage)(nil), "pb.ResizeNodeMessage")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("private.proto", fileDescriptor_d2a91b51c7bdc125) }
|
||||
|
||||
var fileDescriptor_d2a91b51c7bdc125 = []byte{
|
||||
// 1456 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x6e, 0x1b, 0xc5,
|
||||
0x17, 0xff, 0xaf, 0xd7, 0x8e, 0xed, 0xe3, 0x38, 0x75, 0xa6, 0x69, 0xba, 0xcd, 0xbf, 0x0a, 0x66,
|
||||
0x40, 0xd4, 0x54, 0x6a, 0xa8, 0x5a, 0x24, 0x10, 0xa8, 0x52, 0x93, 0x38, 0x2d, 0x86, 0xa6, 0x4d,
|
||||
0x27, 0x69, 0xef, 0x27, 0xeb, 0x51, 0xb3, 0xca, 0x7a, 0xd7, 0xdd, 0x8f, 0xd4, 0x2e, 0x12, 0xb7,
|
||||
0x20, 0xb8, 0x42, 0x70, 0xc1, 0x25, 0xef, 0xc1, 0x0b, 0x70, 0xc9, 0x23, 0xa0, 0xf2, 0x04, 0xbc,
|
||||
0x01, 0x9a, 0x33, 0x33, 0xbb, 0x6b, 0xc7, 0xa9, 0x43, 0xcb, 0xdd, 0x9e, 0xef, 0xdf, 0xf9, 0x98,
|
||||
0x33, 0x63, 0x43, 0x73, 0x18, 0x79, 0x27, 0x3c, 0x11, 0x1b, 0xc3, 0x28, 0x4c, 0x42, 0x52, 0xf3,
|
||||
0x82, 0x44, 0x44, 0x01, 0xf7, 0xd7, 0x16, 0x87, 0xe9, 0xa1, 0xef, 0xb9, 0x8a, 0x4f, 0xef, 0x43,
|
||||
0xbd, 0x17, 0xf4, 0xc5, 0x68, 0x57, 0x24, 0x9c, 0x10, 0x28, 0x7f, 0x25, 0xc6, 0xb1, 0x63, 0xb7,
|
||||
0xad, 0x4e, 0x8d, 0xe1, 0x37, 0xf9, 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0x71, 0xeb, 0xdd, 0xbc, 0x82, 0x99, 0xda, 0x86, 0xd1, 0xd9, 0x09, 0x92, 0x68,
|
||||
0xcc, 0x32, 0x93, 0xb5, 0xcf, 0xa1, 0x39, 0x21, 0x92, 0xf1, 0x8e, 0xc5, 0xd8, 0x54, 0xf5, 0x58,
|
||||
0x8c, 0x65, 0xae, 0x27, 0xdc, 0x4f, 0x05, 0xd6, 0xaa, 0xcc, 0x14, 0xf1, 0x59, 0xe9, 0x53, 0x8b,
|
||||
0x3e, 0x05, 0xb2, 0x1d, 0x09, 0x9e, 0x08, 0x0c, 0xb2, 0x2b, 0xe2, 0x98, 0x3f, 0x13, 0xf3, 0x2a,
|
||||
0x6e, 0x17, 0x2b, 0x9e, 0x55, 0xb7, 0x54, 0xa8, 0x2e, 0xbd, 0x0e, 0xa4, 0x2b, 0x7c, 0x91, 0x08,
|
||||
0x7d, 0xba, 0x5f, 0xe3, 0x97, 0x3e, 0x37, 0x18, 0xe6, 0xeb, 0x92, 0x6b, 0x50, 0x96, 0xab, 0x02,
|
||||
0x83, 0x35, 0x6e, 0x5d, 0xcc, 0xeb, 0x94, 0x6d, 0x11, 0x86, 0x0a, 0xd8, 0x1b, 0x74, 0xda, 0xdf,
|
||||
0x4c, 0x10, 0xb0, 0xcd, 0x72, 0x06, 0xfd, 0xde, 0x32, 0x31, 0x31, 0x89, 0x73, 0xe6, 0x3d, 0x31,
|
||||
0x69, 0xd7, 0x35, 0x12, 0x1b, 0x91, 0xac, 0xe6, 0x48, 0x8a, 0x5b, 0x68, 0x16, 0x98, 0xf2, 0x34,
|
||||
0x98, 0xbb, 0xa6, 0x56, 0x6f, 0x8a, 0x85, 0xba, 0xf0, 0x7f, 0xe5, 0x61, 0xf3, 0x84, 0x7b, 0x3e,
|
||||
0x3f, 0xf4, 0xff, 0x55, 0x3b, 0x27, 0xd2, 0x72, 0xa0, 0x8a, 0xb6, 0xbd, 0xae, 0x3e, 0x18, 0x86,
|
||||
0xa4, 0x5f, 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0xbd,
|
||||
0xfb, 0x51, 0x98, 0x0e, 0x67, 0x66, 0x6f, 0xde, 0x88, 0xa5, 0xc2, 0x1b, 0xb1, 0xa5, 0xde, 0x3b,
|
||||
0x2a, 0x43, 0x7c, 0xdc, 0xb4, 0xd4, 0xe3, 0xa6, 0xac, 0x39, 0x7c, 0x44, 0xf7, 0x61, 0x59, 0xa5,
|
||||
0x2e, 0x57, 0xd7, 0x9b, 0x6c, 0x59, 0xf3, 0x4c, 0xb1, 0xf3, 0x67, 0x8a, 0x74, 0xaa, 0x96, 0xf8,
|
||||
0x7f, 0xe9, 0xf4, 0xef, 0x12, 0x2c, 0x33, 0x11, 0x7b, 0x2f, 0x45, 0x2f, 0x88, 0x93, 0x28, 0x75,
|
||||
0xe5, 0xba, 0x92, 0xf6, 0x5f, 0x86, 0x87, 0xba, 0x2f, 0x36, 0x53, 0xc4, 0x79, 0x0e, 0x14, 0xe9,
|
||||
0x40, 0xb5, 0xb8, 0x3b, 0x4e, 0xab, 0x19, 0x31, 0xb9, 0x09, 0xd5, 0xfd, 0x30, 0x8d, 0xdc, 0xec,
|
||||
0x74, 0x14, 0x2e, 0x05, 0x85, 0x48, 0x89, 0x99, 0x51, 0x23, 0x8f, 0x81, 0x1c, 0x44, 0x3c, 0x88,
|
||||
0x7d, 0x2e, 0x41, 0x1a, 0xe3, 0xda, 0xf4, 0x8b, 0xa8, 0xa0, 0x33, 0xe1, 0x67, 0x86, 0x31, 0xf9,
|
||||
0xb8, 0x78, 0xfc, 0x9d, 0x2a, 0x22, 0x5e, 0x99, 0x44, 0xac, 0x4f, 0x54, 0x71, 0x4d, 0xdc, 0x99,
|
||||
0x9a, 0x65, 0x67, 0x01, 0x0d, 0x2f, 0xe7, 0x86, 0x13, 0x62, 0x36, 0xa9, 0x4d, 0xbf, 0xb3, 0x60,
|
||||
0xb1, 0x88, 0xec, 0x5c, 0x6b, 0x27, 0x6b, 0x74, 0x69, 0xfe, 0x93, 0xcb, 0x34, 0xba, 0x3c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1, 0xe4, 0xa6,
|
||||
0xda, 0xd5, 0xe6, 0x18, 0xac, 0xcd, 0x84, 0x8f, 0x1a, 0x6a, 0x8f, 0xc7, 0x94, 0x40, 0x6b, 0x5a,
|
||||
0x44, 0x57, 0x80, 0xa8, 0x99, 0xd8, 0x3c, 0x0c, 0x23, 0x73, 0xb5, 0xd3, 0x6d, 0xb3, 0x9e, 0x64,
|
||||
0x27, 0xe6, 0xbd, 0x18, 0xf2, 0x2a, 0x97, 0x8a, 0x55, 0xde, 0x6a, 0xfd, 0xfe, 0x6a, 0xdd, 0xfa,
|
||||
0xe3, 0xd5, 0xba, 0xf5, 0xe7, 0xab, 0x75, 0xeb, 0x97, 0xbf, 0xd6, 0xff, 0x77, 0xb8, 0x80, 0xff,
|
||||
0x2e, 0xdc, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0x17, 0x40, 0x19, 0xfb, 0x86, 0x10, 0x00, 0x00,
|
||||
// 1436 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x6e, 0x1b, 0xc5,
|
||||
0x17, 0xff, 0xef, 0x87, 0x63, 0xfb, 0x38, 0x4e, 0x9c, 0xf9, 0x47, 0x65, 0xfb, 0x41, 0xe4, 0x0e,
|
||||
0x88, 0x86, 0x4a, 0x44, 0xa2, 0x5c, 0x14, 0xc1, 0x4d, 0x93, 0x38, 0x2d, 0xa6, 0xa4, 0x0d, 0xe3,
|
||||
0xb4, 0xb7, 0x68, 0xbc, 0x1e, 0x35, 0xab, 0xac, 0x77, 0xcd, 0x7e, 0xa4, 0x76, 0x2f, 0x90, 0x40,
|
||||
0x20, 0x78, 0x00, 0x2e, 0x78, 0x11, 0xde, 0x81, 0x1b, 0x24, 0x1e, 0x01, 0x95, 0x17, 0x41, 0x73,
|
||||
0x66, 0x66, 0x77, 0xed, 0xba, 0x35, 0x44, 0xdc, 0xed, 0xf9, 0x9d, 0x99, 0x73, 0x7e, 0xe7, 0x63,
|
||||
0xce, 0xcc, 0x42, 0x7b, 0x92, 0x04, 0x17, 0x3c, 0x13, 0x7b, 0x93, 0x24, 0xce, 0x62, 0x62, 0x4f,
|
||||
0x86, 0xd7, 0xd6, 0x27, 0xf9, 0x30, 0x0c, 0x7c, 0x85, 0xd0, 0x07, 0xd0, 0xec, 0x47, 0x23, 0x31,
|
||||
0x3d, 0x16, 0x19, 0x27, 0x04, 0xdc, 0x87, 0x62, 0x96, 0x7a, 0x4e, 0xd7, 0xda, 0x6d, 0x30, 0xfc,
|
||||
0x26, 0xef, 0xc1, 0xc6, 0x69, 0xc2, 0xfd, 0xf3, 0xa3, 0x69, 0x90, 0x66, 0x22, 0xf2, 0x85, 0xe7,
|
||||
0xa2, 0x76, 0x01, 0xa5, 0x3f, 0x3b, 0xb0, 0x7e, 0x3f, 0x10, 0xe1, 0xe8, 0xf1, 0x24, 0x0b, 0xe2,
|
||||
0x28, 0x95, 0xc6, 0x4e, 0x67, 0x13, 0xe1, 0x35, 0xba, 0xd6, 0x6e, 0x93, 0xe1, 0x37, 0xb9, 0x01,
|
||||
0xcd, 0x43, 0xee, 0x9f, 0x09, 0x54, 0x38, 0xa8, 0x28, 0x81, 0x42, 0x3b, 0x08, 0x5e, 0x28, 0x2f,
|
||||
0x6d, 0x56, 0x02, 0xa4, 0x0b, 0xad, 0xd3, 0x60, 0x2c, 0xbe, 0xcc, 0x79, 0x94, 0xe5, 0x63, 0xaf,
|
||||
0x86, 0xbb, 0xab, 0x10, 0xb9, 0x02, 0x6b, 0x8f, 0xc3, 0xd1, 0x71, 0x10, 0x79, 0xcd, 0xae, 0xb5,
|
||||
0xeb, 0x30, 0x2d, 0x19, 0x9c, 0x4f, 0x3d, 0x28, 0x71, 0x3e, 0x2d, 0xc2, 0x6d, 0xcd, 0x87, 0xfb,
|
||||
0x28, 0x1e, 0x64, 0x3c, 0x1a, 0xf1, 0x64, 0xf4, 0x34, 0x10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, 0xe6, 0x15, 0x58, 0x63, 0xf1, 0xf3, 0x7e, 0x2f,
|
||||
0xf5, 0xac, 0xae, 0xb3, 0xeb, 0x32, 0x2d, 0x61, 0x93, 0xc4, 0x61, 0x3e, 0x8e, 0xa4, 0xca, 0x46,
|
||||
0x55, 0x09, 0xd0, 0xab, 0x50, 0xc3, 0x8e, 0x91, 0x51, 0x96, 0x7b, 0xe5, 0x27, 0xfd, 0xd6, 0x82,
|
||||
0xe6, 0x31, 0x9f, 0x22, 0x91, 0x94, 0xdc, 0x85, 0x86, 0xa9, 0x27, 0x2e, 0x6a, 0xdd, 0xb9, 0x2e,
|
||||
0x73, 0x57, 0x2c, 0xd8, 0x33, 0xda, 0xa3, 0x28, 0x4b, 0x66, 0xac, 0x58, 0x7c, 0xed, 0x53, 0x68,
|
||||
0xcf, 0xa9, 0xa4, 0xa7, 0x73, 0x31, 0x33, 0xf9, 0x3c, 0x17, 0x33, 0x19, 0xe5, 0x05, 0x0f, 0x73,
|
||||
0x81, 0x59, 0x72, 0x99, 0x12, 0x3e, 0xb1, 0x3f, 0xb6, 0xe8, 0x53, 0x20, 0x87, 0x89, 0xe0, 0x99,
|
||||
0x40, 0x27, 0xc7, 0x22, 0x4d, 0xf9, 0x33, 0xb1, 0x2a, 0xd7, 0x4e, 0x35, 0xd7, 0x45, 0x5e, 0xed,
|
||||
0x4a, 0x5e, 0xe9, 0x6d, 0x20, 0x3d, 0x11, 0x8a, 0x4c, 0xe8, 0xb3, 0xfc, 0x06, 0xbb, 0xf4, 0xdc,
|
||||
0x70, 0x58, 0xbd, 0x96, 0xdc, 0x04, 0x57, 0x0e, 0x06, 0x74, 0xd6, 0xba, 0xd3, 0x96, 0x19, 0x2a,
|
||||
0xa6, 0x05, 0x43, 0x15, 0xd6, 0x03, 0xcd, 0x8d, 0xf6, 0x33, 0xa4, 0xea, 0xb0, 0x12, 0xa0, 0xdf,
|
||||
0x5b, 0xc6, 0x1b, 0xd2, 0xff, 0x87, 0x11, 0xc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0x57, 0xb8, 0xfa, 0xd1, 0x82, 0xf6, 0x61, 0x98, 0xa7, 0x99, 0x48, 0x8a,
|
||||
0x9c, 0x36, 0x35, 0x50, 0x94, 0xb6, 0x04, 0x96, 0x57, 0x97, 0xec, 0x40, 0x4d, 0x66, 0x5c, 0x1d,
|
||||
0xee, 0x6a, 0x21, 0x14, 0x5c, 0xa9, 0x84, 0xfb, 0xba, 0x4a, 0xd0, 0xa7, 0xd0, 0x38, 0x18, 0xf4,
|
||||
0x1f, 0x24, 0x71, 0x3e, 0x59, 0x1a, 0xb1, 0x79, 0xb6, 0xd9, 0x95, 0x67, 0x5b, 0x47, 0x3d, 0x41,
|
||||
0x54, 0x54, 0xf8, 0xea, 0xe8, 0xa8, 0x57, 0x87, 0xab, 0x11, 0x3e, 0xa5, 0x03, 0xd8, 0x52, 0xe1,
|
||||
0xca, 0x89, 0x73, 0x99, 0xb1, 0x68, 0x5e, 0x11, 0x4e, 0xf9, 0x8a, 0x90, 0x46, 0xd5, 0xd4, 0xfd,
|
||||
0x2f, 0x8d, 0xfe, 0x6e, 0xc3, 0x16, 0x13, 0x69, 0xf0, 0x42, 0xf4, 0xa3, 0x34, 0x4b, 0x72, 0x5f,
|
||||
0x4e, 0x1c, 0xb9, 0xff, 0xf3, 0x78, 0xa8, 0x6b, 0xe1, 0x30, 0x25, 0xbc, 0xf9, 0x94, 0x10, 0x0a,
|
||||
0xf5, 0xea, 0x10, 0xa8, 0x2e, 0x30, 0x0a, 0x72, 0x1b, 0xea, 0x83, 0x38, 0x4f, 0xfc, 0xa2, 0xf3,
|
||||
0x71, 0x72, 0x2b, 0xff, 0x4a, 0xc1, 0xcc, 0x02, 0xf2, 0x10, 0xc8, 0x69, 0xc2, 0xa3, 0x34, 0xe4,
|
||||
0x92, 0x92, 0xd9, 0xd6, 0x28, 0x9f, 0x27, 0x15, 0xed, 0x9c, 0x85, 0x25, 0xdb, 0xc8, 0x5e, 0xf5,
|
||||
0x08, 0x7b, 0x75, 0xe4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75, 0xa1, 0x92, 0xd4, 0x60, 0x5a, 0x92, 0xa1, 0x1f, 0x4d, 0xfd, 0x30, 0x4f, 0xa5, 0x4a,
|
||||
0x5f, 0xb8, 0x05, 0x20, 0x43, 0x97, 0xff, 0x81, 0x71, 0x6e, 0x1e, 0x37, 0x46, 0x94, 0xbf, 0x64,
|
||||
0x3d, 0xc1, 0x47, 0x61, 0x10, 0x09, 0xec, 0x17, 0x87, 0x15, 0x32, 0xb9, 0xad, 0x66, 0xac, 0x69,
|
||||
0xf4, 0xed, 0x05, 0xe2, 0xa8, 0x53, 0x93, 0x37, 0xa5, 0x04, 0x3a, 0x8b, 0x2a, 0xba, 0x0d, 0x44,
|
||||
0x75, 0xc0, 0xfe, 0x30, 0x4e, 0xcc, 0x6d, 0x4b, 0x0f, 0xcd, 0x70, 0x91, 0xd9, 0x5f, 0x75, 0x89,
|
||||
0x97, 0x99, 0xb5, 0xab, 0x99, 0x3d, 0xe8, 0xfc, 0xf6, 0x72, 0xc7, 0xfa, 0xe3, 0xe5, 0x8e, 0xf5,
|
||||
0xe7, 0xcb, 0x1d, 0xeb, 0x97, 0xbf, 0x76, 0xfe, 0x37, 0x5c, 0xc3, 0xdf, 0xf5, 0x8f, 0xfe, 0x0e,
|
||||
0x00, 0x00, 0xff, 0xff, 0x77, 0x8c, 0x9b, 0xf7, 0xd1, 0x0f, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (m *IndexMeta) Marshal() (dAtA []byte, err error) {
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package internal;
|
||||
package pb;
|
||||
|
||||
import "public.proto";
|
||||
|
||||
|
|
@ -1,7 +1,24 @@
|
|||
// Copyright 2017 Pilosa Corp.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// package ctl contains all pilosa subcommands other than 'server'. These are
|
||||
// generally administration, testing, and debugging tools.
|
||||
|
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: public.proto
|
||||
|
||||
package internal
|
||||
package pb
|
||||
|
||||
import (
|
||||
encoding_binary "encoding/binary"
|
||||
|
|
@ -2726,162 +2743,160 @@ func (m *GroupCounts) GetGroups() []*GroupCount {
|
|||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Row)(nil), "internal.Row")
|
||||
proto.RegisterType((*RowMatrix)(nil), "internal.RowMatrix")
|
||||
proto.RegisterType((*SignedRow)(nil), "internal.SignedRow")
|
||||
proto.RegisterType((*RowIdentifiers)(nil), "internal.RowIdentifiers")
|
||||
proto.RegisterType((*IDList)(nil), "internal.IDList")
|
||||
proto.RegisterType((*ExtractedIDColumn)(nil), "internal.ExtractedIDColumn")
|
||||
proto.RegisterType((*ExtractedIDMatrix)(nil), "internal.ExtractedIDMatrix")
|
||||
proto.RegisterType((*KeyList)(nil), "internal.KeyList")
|
||||
proto.RegisterType((*ExtractedTableValue)(nil), "internal.ExtractedTableValue")
|
||||
proto.RegisterType((*ExtractedTableColumn)(nil), "internal.ExtractedTableColumn")
|
||||
proto.RegisterType((*ExtractedTableField)(nil), "internal.ExtractedTableField")
|
||||
proto.RegisterType((*ExtractedTable)(nil), "internal.ExtractedTable")
|
||||
proto.RegisterType((*Pair)(nil), "internal.Pair")
|
||||
proto.RegisterType((*PairField)(nil), "internal.PairField")
|
||||
proto.RegisterType((*PairsField)(nil), "internal.PairsField")
|
||||
proto.RegisterType((*Int64)(nil), "internal.Int64")
|
||||
proto.RegisterType((*FieldRow)(nil), "internal.FieldRow")
|
||||
proto.RegisterType((*GroupCount)(nil), "internal.GroupCount")
|
||||
proto.RegisterType((*ValCount)(nil), "internal.ValCount")
|
||||
proto.RegisterType((*Decimal)(nil), "internal.Decimal")
|
||||
proto.RegisterType((*ColumnAttrSet)(nil), "internal.ColumnAttrSet")
|
||||
proto.RegisterType((*Attr)(nil), "internal.Attr")
|
||||
proto.RegisterType((*AttrMap)(nil), "internal.AttrMap")
|
||||
proto.RegisterType((*QueryRequest)(nil), "internal.QueryRequest")
|
||||
proto.RegisterType((*QueryResponse)(nil), "internal.QueryResponse")
|
||||
proto.RegisterType((*QueryResult)(nil), "internal.QueryResult")
|
||||
proto.RegisterType((*ImportRequest)(nil), "internal.ImportRequest")
|
||||
proto.RegisterType((*ImportValueRequest)(nil), "internal.ImportValueRequest")
|
||||
proto.RegisterType((*AtomicRecord)(nil), "internal.AtomicRecord")
|
||||
proto.RegisterType((*AtomicImportResponse)(nil), "internal.AtomicImportResponse")
|
||||
proto.RegisterType((*TranslateKeysRequest)(nil), "internal.TranslateKeysRequest")
|
||||
proto.RegisterType((*TranslateKeysResponse)(nil), "internal.TranslateKeysResponse")
|
||||
proto.RegisterType((*TranslateIDsRequest)(nil), "internal.TranslateIDsRequest")
|
||||
proto.RegisterType((*TranslateIDsResponse)(nil), "internal.TranslateIDsResponse")
|
||||
proto.RegisterType((*ImportRoaringRequestView)(nil), "internal.ImportRoaringRequestView")
|
||||
proto.RegisterType((*ImportRoaringRequest)(nil), "internal.ImportRoaringRequest")
|
||||
proto.RegisterType((*ImportColumnAttrsRequest)(nil), "internal.ImportColumnAttrsRequest")
|
||||
proto.RegisterType((*GroupCounts)(nil), "internal.GroupCounts")
|
||||
proto.RegisterType((*Row)(nil), "pb.Row")
|
||||
proto.RegisterType((*RowMatrix)(nil), "pb.RowMatrix")
|
||||
proto.RegisterType((*SignedRow)(nil), "pb.SignedRow")
|
||||
proto.RegisterType((*RowIdentifiers)(nil), "pb.RowIdentifiers")
|
||||
proto.RegisterType((*IDList)(nil), "pb.IDList")
|
||||
proto.RegisterType((*ExtractedIDColumn)(nil), "pb.ExtractedIDColumn")
|
||||
proto.RegisterType((*ExtractedIDMatrix)(nil), "pb.ExtractedIDMatrix")
|
||||
proto.RegisterType((*KeyList)(nil), "pb.KeyList")
|
||||
proto.RegisterType((*ExtractedTableValue)(nil), "pb.ExtractedTableValue")
|
||||
proto.RegisterType((*ExtractedTableColumn)(nil), "pb.ExtractedTableColumn")
|
||||
proto.RegisterType((*ExtractedTableField)(nil), "pb.ExtractedTableField")
|
||||
proto.RegisterType((*ExtractedTable)(nil), "pb.ExtractedTable")
|
||||
proto.RegisterType((*Pair)(nil), "pb.Pair")
|
||||
proto.RegisterType((*PairField)(nil), "pb.PairField")
|
||||
proto.RegisterType((*PairsField)(nil), "pb.PairsField")
|
||||
proto.RegisterType((*Int64)(nil), "pb.Int64")
|
||||
proto.RegisterType((*FieldRow)(nil), "pb.FieldRow")
|
||||
proto.RegisterType((*GroupCount)(nil), "pb.GroupCount")
|
||||
proto.RegisterType((*ValCount)(nil), "pb.ValCount")
|
||||
proto.RegisterType((*Decimal)(nil), "pb.Decimal")
|
||||
proto.RegisterType((*ColumnAttrSet)(nil), "pb.ColumnAttrSet")
|
||||
proto.RegisterType((*Attr)(nil), "pb.Attr")
|
||||
proto.RegisterType((*AttrMap)(nil), "pb.AttrMap")
|
||||
proto.RegisterType((*QueryRequest)(nil), "pb.QueryRequest")
|
||||
proto.RegisterType((*QueryResponse)(nil), "pb.QueryResponse")
|
||||
proto.RegisterType((*QueryResult)(nil), "pb.QueryResult")
|
||||
proto.RegisterType((*ImportRequest)(nil), "pb.ImportRequest")
|
||||
proto.RegisterType((*ImportValueRequest)(nil), "pb.ImportValueRequest")
|
||||
proto.RegisterType((*AtomicRecord)(nil), "pb.AtomicRecord")
|
||||
proto.RegisterType((*AtomicImportResponse)(nil), "pb.AtomicImportResponse")
|
||||
proto.RegisterType((*TranslateKeysRequest)(nil), "pb.TranslateKeysRequest")
|
||||
proto.RegisterType((*TranslateKeysResponse)(nil), "pb.TranslateKeysResponse")
|
||||
proto.RegisterType((*TranslateIDsRequest)(nil), "pb.TranslateIDsRequest")
|
||||
proto.RegisterType((*TranslateIDsResponse)(nil), "pb.TranslateIDsResponse")
|
||||
proto.RegisterType((*ImportRoaringRequestView)(nil), "pb.ImportRoaringRequestView")
|
||||
proto.RegisterType((*ImportRoaringRequest)(nil), "pb.ImportRoaringRequest")
|
||||
proto.RegisterType((*ImportColumnAttrsRequest)(nil), "pb.ImportColumnAttrsRequest")
|
||||
proto.RegisterType((*GroupCounts)(nil), "pb.GroupCounts")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("public.proto", fileDescriptor_413a91106d7bcce8) }
|
||||
|
||||
var fileDescriptor_413a91106d7bcce8 = []byte{
|
||||
// 1779 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4f, 0x6f, 0x23, 0x49,
|
||||
0x15, 0x4f, 0xbb, 0xdb, 0xb1, 0xfd, 0xec, 0x64, 0xb2, 0x35, 0x9e, 0xa5, 0x35, 0xcc, 0x64, 0x43,
|
||||
0x2b, 0xb0, 0x06, 0xad, 0xb2, 0xca, 0xb0, 0x03, 0x73, 0xe0, 0xcf, 0x26, 0xe3, 0x2c, 0x69, 0x0d,
|
||||
0x93, 0x1d, 0x2a, 0x43, 0x56, 0x5c, 0x90, 0x3a, 0x76, 0xe1, 0x6d, 0xd1, 0x76, 0x9b, 0x76, 0x79,
|
||||
0x9d, 0x5c, 0x90, 0xf8, 0x02, 0x5c, 0xf6, 0xc2, 0x0d, 0x71, 0xe3, 0x73, 0x70, 0x81, 0x23, 0x47,
|
||||
0x24, 0x2e, 0x68, 0x38, 0xf3, 0x1d, 0xd0, 0x7b, 0xd5, 0xd5, 0x55, 0xdd, 0xee, 0x64, 0xa3, 0xd1,
|
||||
0xde, 0xea, 0xfd, 0xa9, 0x57, 0xf5, 0x7e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, 0x31, 0x09, 0x9e, 0xc1, 0x36, 0x4f, 0x57, 0xe1, 0x58, 0xcc, 0x64,
|
||||
0xfc, 0x9b, 0x58, 0x64, 0x04, 0x48, 0x71, 0x07, 0x4f, 0x1d, 0x5a, 0x80, 0xd4, 0x30, 0x20, 0x05,
|
||||
0x0f, 0x61, 0x33, 0x1c, 0xfe, 0x3c, 0x5e, 0x48, 0xb6, 0x03, 0x6e, 0x38, 0xd4, 0x1b, 0x70, 0x19,
|
||||
0x84, 0xf0, 0xce, 0xc9, 0x95, 0xcc, 0xa2, 0x91, 0x14, 0xe3, 0x70, 0xa8, 0xa0, 0x66, 0xdb, 0xd0,
|
||||
0x08, 0x87, 0x74, 0x57, 0x8f, 0x37, 0xc2, 0x21, 0xdb, 0x07, 0xef, 0x22, 0x4a, 0x34, 0xc8, 0x3b,
|
||||
0xe6, 0x72, 0xca, 0x2c, 0x27, 0x69, 0x70, 0x59, 0x32, 0x95, 0xe3, 0xf4, 0x2e, 0x6c, 0x12, 0x7a,
|
||||
0xea, 0xd0, 0x0e, 0xcf, 0x29, 0xf6, 0xd4, 0x84, 0x59, 0x59, 0xfd, 0xa6, 0xb1, 0xba, 0x76, 0xa1,
|
||||
0x22, 0x07, 0x82, 0xc7, 0xd0, 0x7a, 0x21, 0xae, 0xc9, 0x17, 0xed, 0xa9, 0x63, 0x79, 0xfa, 0x6f,
|
||||
0x07, 0xee, 0x17, 0xbb, 0x5f, 0x47, 0x97, 0x89, 0xb8, 0x88, 0x92, 0xa5, 0x60, 0xfb, 0xda, 0x6f,
|
||||
0xa7, 0xee, 0xfe, 0xa7, 0x1b, 0x84, 0x05, 0x7b, 0xbf, 0xc0, 0x0e, 0xd5, 0xde, 0x31, 0x6a, 0xf9,
|
||||
0x91, 0xa7, 0x1b, 0x79, 0xd6, 0x3d, 0x82, 0xf6, 0xf1, 0x79, 0x48, 0xa6, 0x7d, 0x77, 0xcf, 0x19,
|
||||
0xb8, 0xa7, 0x1b, 0xbc, 0xe0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 0x95, 0xe3, 0x81, 0x32, 0x96, 0xa7, 0x95, 0x55, 0x7b, 0x90, 0xcb, 0xd5, 0x41, 0x45, 0x29,
|
||||
0x69, 0xd8, 0xa5, 0xe4, 0x14, 0x00, 0xa5, 0x0b, 0x65, 0x67, 0x1f, 0x9a, 0x44, 0xe5, 0x20, 0x54,
|
||||
0x0d, 0x29, 0xe1, 0x0d, 0x96, 0x1e, 0x63, 0x01, 0x93, 0x3f, 0xf8, 0x08, 0xc5, 0x2a, 0x21, 0xf1,
|
||||
0x36, 0x2e, 0xcf, 0x53, 0x66, 0x09, 0x6d, 0x05, 0x5d, 0xba, 0x32, 0x06, 0x1c, 0xcb, 0x00, 0x72,
|
||||
0xb1, 0xac, 0x0c, 0xb5, 0x9f, 0x44, 0xe0, 0xb3, 0xe5, 0xe9, 0xca, 0x40, 0x92, 0x53, 0xec, 0xdb,
|
||||
0xfa, 0x14, 0x8f, 0x7c, 0xbe, 0x67, 0x3d, 0x25, 0xbc, 0x85, 0x3e, 0xf6, 0xd7, 0x00, 0x3f, 0xcb,
|
||||
0xd2, 0xe5, 0x9c, 0x40, 0x63, 0x03, 0x68, 0x12, 0x95, 0xfb, 0xc7, 0xcc, 0x26, 0x7d, 0x37, 0xae,
|
||||
0x14, 0xea, 0x41, 0xc7, 0xe0, 0x1c, 0x4d, 0x26, 0xea, 0xa5, 0x71, 0x5c, 0x62, 0x2a, 0xb5, 0x2f,
|
||||
0xa2, 0xa4, 0x10, 0x5f, 0x44, 0x49, 0xee, 0x37, 0x2e, 0xcb, 0x66, 0x5c, 0x6d, 0xe6, 0x21, 0xb4,
|
||||
0x3f, 0x49, 0xd2, 0x48, 0xa2, 0x32, 0xda, 0x72, 0x78, 0x41, 0xb3, 0x43, 0x80, 0xa1, 0x18, 0xc5,
|
||||
0xd3, 0x28, 0x41, 0xa9, 0x57, 0x2d, 0x00, 0xb9, 0x8c, 0x5b, 0x4a, 0xc1, 0x53, 0x68, 0xe5, 0x54,
|
||||
0x3d,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, 0xb8, 0x2a, 0x3b, 0xf8, 0x9b, 0xa3, 0x51, 0xb5, 0x46, 0xc8, 0xaf, 0x8c,
|
||||
0xad, 0x79, 0x4a, 0xae, 0x7e, 0x4a, 0xbe, 0x9a, 0x83, 0xcd, 0xb8, 0xaf, 0x49, 0x9c, 0xbd, 0x71,
|
||||
0x49, 0x7f, 0x5d, 0x3c, 0x8a, 0x67, 0x41, 0x7f, 0x45, 0xfd, 0x5a, 0x87, 0x65, 0xb3, 0x0e, 0x96,
|
||||
0xe0, 0x57, 0xa5, 0x0e, 0x87, 0x46, 0x8f, 0x26, 0x93, 0x4c, 0x4c, 0x22, 0xa9, 0x33, 0xc2, 0x30,
|
||||
0xd8, 0x07, 0xb0, 0x49, 0xca, 0x3a, 0xa8, 0xf5, 0x23, 0x4e, 0xae, 0x73, 0xbc, 0xf3, 0x8f, 0x37,
|
||||
0xbb, 0xce, 0x3f, 0xdf, 0xec, 0x3a, 0xff, 0x79, 0xb3, 0xeb, 0xfc, 0xe9, 0xbf, 0xbb, 0x1b, 0x97,
|
||||
0x9b, 0xf4, 0xb7, 0xef, 0xfb, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x8c, 0xa8, 0x3e, 0x99, 0xfd,
|
||||
0x13, 0x00, 0x00,
|
||||
// 1754 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x5f, 0x6f, 0x23, 0x49,
|
||||
0x11, 0xcf, 0xfc, 0xf1, 0xbf, 0xb2, 0xe3, 0xe4, 0xfa, 0x72, 0xcb, 0xdc, 0x92, 0x33, 0xbe, 0x11,
|
||||
0x3a, 0x79, 0x09, 0xca, 0x89, 0x00, 0x27, 0x38, 0x09, 0x50, 0x1c, 0xe7, 0xc8, 0x68, 0xd9, 0xdc,
|
||||
0x5e, 0x3b, 0x04, 0x1e, 0x78, 0x99, 0xd8, 0x8d, 0x6f, 0xc4,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 0x27, 0xf2, 0x64, 0xc3, 0x89, 0xe9, 0x9f, 0x43,
|
||||
0x6b, 0x1c, 0xcd, 0x16, 0x62, 0x8a, 0xae, 0xbc, 0x0b, 0xce, 0xf3, 0x04, 0x15, 0x2d, 0x53, 0x11,
|
||||
0x79, 0x28, 0xba, 0x16, 0x33, 0xcf, 0xae, 0x88, 0xae, 0xc5, 0xcc, 0xff, 0x11, 0x74, 0x79, 0xb2,
|
||||
0x09, 0xa6, 0x62, 0x91, 0x45, 0xbf, 0x8d, 0x44, 0x4a, 0x8e, 0xe7, 0x27, 0xba, 0xf2, 0xa0, 0x1c,
|
||||
0x0c, 0xbb, 0x00, 0xc3, 0x7f, 0x0c, 0xf5, 0x60, 0xf4, 0x8b, 0x68, 0x95, 0xb1, 0x43, 0x70, 0x82,
|
||||
0x91, 0xde, 0x80, 0x4b, 0xff, 0x02, 0xde, 0xba, 0xbc, 0xcf, 0xd2, 0x70, 0x92, 0x89, 0x69, 0x30,
|
||||
0x92, 0x90, 0xb2, 0x2e, 0xd8, 0xc1, 0x88, 0xee, 0xe7, 0x72, 0x3b, 0x18, 0xb1, 0x1e, 0xb8, 0xb7,
|
||||
0x61, 0xac, 0xc1, 0x04, 0xbc, 0x96, 0x34, 0xc8, 0x89, 0xef, 0xff, 0xa6, 0x64, 0x44, 0xe1, 0xf1,
|
||||
0x08, 0xea, 0x84, 0x92, 0x3c, 0xae, 0xc5, 0x15, 0xc5, 0x3e, 0x2c, 0x02, 0x29, 0xed, 0xbd, 0x83,
|
||||
0xf6, 0xb6, 0x2e, 0x91, 0xc7, 0xd7, 0x7f, 0x0f, 0x1a, 0x4f, 0xc5, 0x03, 0xdd, 0x5f, 0x7b, 0x67,
|
||||
0x19, 0xde, 0xfd, 0xcb, 0x82, 0xb7, 0xf3, 0xdd, 0x37, 0xe1, 0x5d, 0x2c, 0x6e, 0xc3, 0x78, 0x2d,
|
||||
0x58, 0x4f, 0xfb, 0x6a, 0x95, 0xef, 0x7c, 0xb5,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, 0xc3, 0x28, 0xdd, 0x4a, 0xdb, 0x43, 0x89, 0x97, 0x43, 0x37, 0x74,
|
||||
0x24, 0xf0, 0xb5, 0x8b, 0x64, 0xbd, 0xc8, 0x24, 0x60, 0x5c, 0x12, 0xfe, 0xcf, 0xa0, 0x85, 0xfb,
|
||||
0xa5, 0xaf, 0xc7, 0xd2, 0x98, 0xca, 0x1b, 0x2a, 0x1c, 0x48, 0x73, 0x79, 0x44, 0x5e, 0x07, 0x6c,
|
||||
0xb3, 0x0e, 0x0c, 0x01, 0x50, 0xba, 0x92, 0x16, 0x7a, 0x50, 0x23, 0x4a, 0xb9, 0x5c, 0x98, 0x90,
|
||||
0xec, 0x97, 0xd8, 0x78, 0x0f, 0xeb, 0x4e, 0xf6, 0xd1, 0x0f, 0x50, 0x2c, 0x33, 0x0e, 0x6f, 0xe0,
|
||||
0x70, 0x95, 0x13, 0x09, 0x34, 0x25, 0x50, 0xc9, 0xa6, 0x30, 0x60, 0x19, 0x06, 0x90, 0x8b, 0xf5,
|
||||
0x61, 0xa4, 0x7d, 0x23, 0x02, 0x5f, 0x21, 0x4f, 0x36, 0x05, 0x0c, 0x8a, 0x62, 0xdf, 0xd2, 0xa7,
|
||||
0xb8, 0xe4, 0x67, 0x8b, 0xde, 0x07, 0x9e, 0xaf, 0x0f, 0xfc, 0x35, 0xc0, 0xcf, 0xd3, 0x64, 0xbd,
|
||||
0x24, 0x88, 0x98, 0x0f, 0x35, 0xa2, 0x94, 0x4f, 0x1d, 0x54, 0xd7, 0xf7, 0xe1, 0x52, 0xb4, 0x1b,
|
||||
0x5c, 0x0c, 0xc2, 0xf9, 0x6c, 0x26, 0x9f, 0x0f, 0xc7, 0xa5, 0xff, 0x07, 0x68, 0xde, 0x86, 0x71,
|
||||
0x2e, 0xbd, 0x0d, 0x63, 0xe5, 0x2a, 0x2e, 0xcb, 0x56, 0x1c, 0x6d, 0xe5, 0x31, 0x34, 0x3f, 0x89,
|
||||
0x93, 0x30, 0x43, 0x65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0x1b, 0xc0, 0xc1, 0xe5, 0xfd, 0x24, 0x5e, 0x4f, 0x05, 0x4f, 0x36, 0x72, 0x37, 0x95,
|
||||
0x57, 0x5e, 0x65, 0xb3, 0x0f, 0xb0, 0x4a, 0x11, 0x4b, 0x57, 0x9a, 0x06, 0x29, 0x56, 0xb8, 0xec,
|
||||
0x04, 0x3a, 0x97, 0xf3, 0x3b, 0x31, 0x9d, 0x8a, 0xe9, 0x28, 0xcc, 0x42, 0xaf, 0x59, 0x6e, 0xec,
|
||||
0x25, 0x21, 0xfb, 0x36, 0xec, 0x3f, 0x4f, 0xc5, 0x4d, 0x1a, 0x2e, 0x56, 0x71, 0x98, 0x89, 0xa9,
|
||||
0xd7, 0x22, 0x9b, 0x65, 0xa6, 0xff, 0xa5, 0x05, 0xfb, 0x0a, 0x9d, 0xd5, 0x32, 0x59, 0xac, 0x04,
|
||||
0x06, 0xff, 0x32, 0x4d, 0x75, 0xf0, 0x2f, 0xd3, 0x94, 0x3d, 0x81, 0x06, 0x17, 0xab, 0x75, 0x9c,
|
||||
0xe9, 0xcc, 0x39, 0xc0, 0x13, 0xf5, 0xae, 0x75, 0x9c, 0x71, 0x2d, 0x67, 0x3f, 0x86, 0x6e, 0x29,
|
||||
0x2b, 0x75, 0xc9, 0x7f, 0x0b, 0x77, 0x94, 0x24, 0xbc, 0xa2, 0xe8, 0xff, 0xb5, 0x06, 0x6d, 0xc3,
|
||||
0x66, 0x9e, 0x72, 0x88, 0xd9, 0xbe, 0x4a, 0xb9, 0x77, 0x69, 0xf2, 0xda, 0x9a, 0x53, 0xb0, 0x04,
|
||||
0x75, 0xc0, 0xba, 0x56, 0xe9, 0x69, 0x5d, 0x17, 0x15, 0xcf, 0xd9, 0x5d, 0xf1, 0x70, 0x76, 0xfb,
|
||||
0x3c, 0x5c, 0xcc, 0xc4, 0x94, 0x12, 0xb3, 0xc9, 0x35, 0xc9, 0x06, 0x45, 0x2d, 0xa0, 0x78, 0xaa,
|
||||
0xd2, 0x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0xf2, 0x95, 0xa0, 0xa8, 0x46, 0xa2, 0x82, 0x21, 0x3f, 0x19, 0x36, 0x34, 0x32, 0x36, 0x68, 0xfc,
|
||||
0xd4, 0x24, 0x96, 0x4f, 0xa9, 0x46, 0xc2, 0x26, 0x09, 0x0d, 0x0e, 0xca, 0x6f, 0xa2, 0xb9, 0x58,
|
||||
0x65, 0xe1, 0x7c, 0x89, 0x55, 0xc9, 0x19, 0x38, 0xdc, 0xe0, 0x60, 0x41, 0x22, 0x27, 0x2e, 0x52,
|
||||
0x81, 0x55, 0xe2, 0x3c, 0xa3, 0x54, 0x74, 0x78, 0x85, 0x8b, 0x7a, 0xe4, 0x56, 0xa1, 0x07, 0x52,
|
||||
0xaf, 0xcc, 0xa5, 0x16, 0x1a, 0x8b, 0x30, 0xa5, 0x64, 0x6b, 0x72, 0x49, 0xf8, 0xff, 0xb1, 0x81,
|
||||
0x49, 0x24, 0xe5, 0xf8, 0xf7, 0xb5, 0xc1, 0xf9, 0xd5, 0xb0, 0x95, 0xc1, 0x69, 0x6c, 0x81, 0xf3,
|
||||
0x28, 0x1f, 0x57, 0x25, 0x30, 0x8a, 0xc2, 0x4e, 0x50, 0x74, 0x20, 0x89, 0xaa, 0xc5, 0x4d, 0x16,
|
||||
0xf3, 0xa1, 0x63, 0xb4, 0x3f, 0x7c, 0xbf, 0x68, 0xbb, 0xc4, 0xdb, 0x01, 0x2d, 0xbc, 0x26, 0xb4,
|
||||
0xed, 0xaf, 0x86, 0xb6, 0x63, 0x42, 0xfb, 0xa5, 0x05, 0x9d, 0xf3, 0x2c, 0x99, 0x47, 0x13, 0x2e,
|
||||
0x26, 0x49, 0x3a, 0x7d, 0x39, 0xa8, 0x12, 0x3e, 0xdb, 0x84, 0x6f, 0x00, 0x4e, 0xf0, 0x45, 0xaa,
|
||||
0x4a, 0xe7, 0x23, 0x9a, 0xc3, 0xb6, 0xa2, 0xc4, 0x51, 0x85, 0xbd, 0x0f, 0x76, 0x90, 0x52, 0xce,
|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 0x2e,
|
||||
0xa7, 0x61, 0x26, 0x2e, 0xef, 0xa3, 0x55, 0x26, 0x16, 0x13, 0xa1, 0xa6, 0xaa, 0x2a, 0xdb, 0xff,
|
||||
0xbb, 0xa5, 0xf1, 0x34, 0xc6, 0xba, 0x57, 0x46, 0xb5, 0x78, 0x38, 0x8e, 0x7e, 0x38, 0x9e, 0x9c,
|
||||
0x4a, 0x8b, 0xb1, 0x5b, 0x93, 0x38, 0x09, 0xe3, 0x92, 0xfe, 0x59, 0xb8, 0x14, 0xc9, 0x9c, 0x7e,
|
||||
0x45, 0xb5, 0xda, 0x86, 0xa5, 0xbe, 0x0b, 0x16, 0x7f, 0x5c, 0xea, 0x64, 0x68, 0xf4, 0x7c, 0x36,
|
||||
0x4b, 0xc5, 0x2c, 0xcc, 0x74, 0x2e, 0x14, 0x0c, 0xf6, 0x01, 0xd4, 0x49, 0x59, 0x87, 0xb3, 0x3a,
|
||||
0x9a, 0x28, 0xe9, 0xf0, 0xf0, 0x9f, 0x2f, 0x7a, 0xd6, 0xbf, 0x5f, 0xf4, 0xac, 0xff, 0xbe, 0xe8,
|
||||
0x59, 0x7f, 0xfa, 0x5f, 0x6f, 0xef, 0xae, 0x4e, 0xff, 0xc1, 0xbe, 0xff, 0xff, 0x00, 0x00, 0x00,
|
||||
0xff, 0xff, 0x7b, 0x22, 0x9e, 0xfd, 0x17, 0x13, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (m *Row) Marshal() (dAtA []byte, err error) {
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package internal;
|
||||
package pb;
|
||||
|
||||
message Row {
|
||||
repeated uint64 Columns = 1;
|
||||
Loading…
Add table
Reference in a new issue