gopilosa_pbuf

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2019 License: BSD-3-Clause Imports: 3 Imported by: 3

Documentation

Overview

Package gopilosa_pbuf is a generated protocol buffer package.

It is generated from these files:

gopilosa_pbuf/public.proto

It has these top-level messages:

Row
RowIdentifiers
Pair
FieldRow
GroupCount
ValCount
ColumnAttrSet
Attr
AttrMap
QueryRequest
QueryResponse
QueryResult
ImportRequest
ImportValueRequest
TranslateKeysRequest
TranslateKeysResponse
ImportRoaringRequestView
ImportRoaringRequest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attr

type Attr struct {
	Key         string  `protobuf:"bytes,1,opt,name=Key" json:"Key,omitempty"`
	Type        uint64  `protobuf:"varint,2,opt,name=Type" json:"Type,omitempty"`
	StringValue string  `protobuf:"bytes,3,opt,name=StringValue" json:"StringValue,omitempty"`
	IntValue    int64   `protobuf:"varint,4,opt,name=IntValue" json:"IntValue,omitempty"`
	BoolValue   bool    `protobuf:"varint,5,opt,name=BoolValue" json:"BoolValue,omitempty"`
	FloatValue  float64 `protobuf:"fixed64,6,opt,name=FloatValue" json:"FloatValue,omitempty"`
}

func (*Attr) Descriptor

func (*Attr) Descriptor() ([]byte, []int)

func (*Attr) GetBoolValue

func (m *Attr) GetBoolValue() bool

func (*Attr) GetFloatValue

func (m *Attr) GetFloatValue() float64

func (*Attr) GetIntValue

func (m *Attr) GetIntValue() int64

func (*Attr) GetKey

func (m *Attr) GetKey() string

func (*Attr) GetStringValue

func (m *Attr) GetStringValue() string

func (*Attr) GetType

func (m *Attr) GetType() uint64

func (*Attr) ProtoMessage

func (*Attr) ProtoMessage()

func (*Attr) Reset

func (m *Attr) Reset()

func (*Attr) String

func (m *Attr) String() string

type AttrMap

type AttrMap struct {
	Attrs []*Attr `protobuf:"bytes,1,rep,name=Attrs" json:"Attrs,omitempty"`
}

func (*AttrMap) Descriptor

func (*AttrMap) Descriptor() ([]byte, []int)

func (*AttrMap) GetAttrs

func (m *AttrMap) GetAttrs() []*Attr

func (*AttrMap) ProtoMessage

func (*AttrMap) ProtoMessage()

func (*AttrMap) Reset

func (m *AttrMap) Reset()

func (*AttrMap) String

func (m *AttrMap) String() string

type ColumnAttrSet

type ColumnAttrSet struct {
	ID    uint64  `protobuf:"varint,1,opt,name=ID" json:"ID,omitempty"`
	Key   string  `protobuf:"bytes,3,opt,name=Key" json:"Key,omitempty"`
	Attrs []*Attr `protobuf:"bytes,2,rep,name=Attrs" json:"Attrs,omitempty"`
}

func (*ColumnAttrSet) Descriptor

func (*ColumnAttrSet) Descriptor() ([]byte, []int)

func (*ColumnAttrSet) GetAttrs

func (m *ColumnAttrSet) GetAttrs() []*Attr

func (*ColumnAttrSet) GetID

func (m *ColumnAttrSet) GetID() uint64

func (*ColumnAttrSet) GetKey added in v0.9.0

func (m *ColumnAttrSet) GetKey() string

func (*ColumnAttrSet) ProtoMessage

func (*ColumnAttrSet) ProtoMessage()

func (*ColumnAttrSet) Reset

func (m *ColumnAttrSet) Reset()

func (*ColumnAttrSet) String

func (m *ColumnAttrSet) String() string

type FieldRow added in v1.2.0

type FieldRow struct {
	Field  string `protobuf:"bytes,1,opt,name=Field" json:"Field,omitempty"`
	RowID  uint64 `protobuf:"varint,2,opt,name=RowID" json:"RowID,omitempty"`
	RowKey string `protobuf:"bytes,3,opt,name=RowKey" json:"RowKey,omitempty"`
}

func (*FieldRow) Descriptor added in v1.2.0

func (*FieldRow) Descriptor() ([]byte, []int)

func (*FieldRow) GetField added in v1.2.0

func (m *FieldRow) GetField() string

func (*FieldRow) GetRowID added in v1.2.0

func (m *FieldRow) GetRowID() uint64

func (*FieldRow) GetRowKey added in v1.3.0

func (m *FieldRow) GetRowKey() string

func (*FieldRow) ProtoMessage added in v1.2.0

func (*FieldRow) ProtoMessage()

func (*FieldRow) Reset added in v1.2.0

func (m *FieldRow) Reset()

func (*FieldRow) String added in v1.2.0

func (m *FieldRow) String() string

type GroupCount added in v1.2.0

type GroupCount struct {
	Group []*FieldRow `protobuf:"bytes,1,rep,name=Group" json:"Group,omitempty"`
	Count uint64      `protobuf:"varint,2,opt,name=Count" json:"Count,omitempty"`
}

func (*GroupCount) Descriptor added in v1.2.0

func (*GroupCount) Descriptor() ([]byte, []int)

func (*GroupCount) GetCount added in v1.2.0

func (m *GroupCount) GetCount() uint64

func (*GroupCount) GetGroup added in v1.2.0

func (m *GroupCount) GetGroup() []*FieldRow

func (*GroupCount) ProtoMessage added in v1.2.0

func (*GroupCount) ProtoMessage()

func (*GroupCount) Reset added in v1.2.0

func (m *GroupCount) Reset()

func (*GroupCount) String added in v1.2.0

func (m *GroupCount) String() string

type ImportRequest

type ImportRequest struct {
	Index      string   `protobuf:"bytes,1,opt,name=Index" json:"Index,omitempty"`
	Field      string   `protobuf:"bytes,2,opt,name=Field" json:"Field,omitempty"`
	Shard      uint64   `protobuf:"varint,3,opt,name=Shard" json:"Shard,omitempty"`
	RowIDs     []uint64 `protobuf:"varint,4,rep,packed,name=RowIDs" json:"RowIDs,omitempty"`
	ColumnIDs  []uint64 `protobuf:"varint,5,rep,packed,name=ColumnIDs" json:"ColumnIDs,omitempty"`
	RowKeys    []string `protobuf:"bytes,7,rep,name=RowKeys" json:"RowKeys,omitempty"`
	ColumnKeys []string `protobuf:"bytes,8,rep,name=ColumnKeys" json:"ColumnKeys,omitempty"`
	Timestamps []int64  `protobuf:"varint,6,rep,packed,name=Timestamps" json:"Timestamps,omitempty"`
}

func (*ImportRequest) Descriptor

func (*ImportRequest) Descriptor() ([]byte, []int)

func (*ImportRequest) GetColumnIDs

func (m *ImportRequest) GetColumnIDs() []uint64

func (*ImportRequest) GetColumnKeys added in v0.9.0

func (m *ImportRequest) GetColumnKeys() []string

func (*ImportRequest) GetField added in v0.10.0

func (m *ImportRequest) GetField() string

func (*ImportRequest) GetIndex

func (m *ImportRequest) GetIndex() string

func (*ImportRequest) GetRowIDs

func (m *ImportRequest) GetRowIDs() []uint64

func (*ImportRequest) GetRowKeys added in v0.9.0

func (m *ImportRequest) GetRowKeys() []string

func (*ImportRequest) GetShard added in v0.10.0

func (m *ImportRequest) GetShard() uint64

func (*ImportRequest) GetTimestamps

func (m *ImportRequest) GetTimestamps() []int64

func (*ImportRequest) ProtoMessage

func (*ImportRequest) ProtoMessage()

func (*ImportRequest) Reset

func (m *ImportRequest) Reset()

func (*ImportRequest) String

func (m *ImportRequest) String() string

type ImportRoaringRequest added in v1.2.0

type ImportRoaringRequest struct {
	Clear bool                        `protobuf:"varint,1,opt,name=Clear" json:"Clear,omitempty"`
	Views []*ImportRoaringRequestView `protobuf:"bytes,2,rep,name=views" json:"views,omitempty"`
}

func (*ImportRoaringRequest) Descriptor added in v1.2.0

func (*ImportRoaringRequest) Descriptor() ([]byte, []int)

func (*ImportRoaringRequest) GetClear added in v1.2.0

func (m *ImportRoaringRequest) GetClear() bool

func (*ImportRoaringRequest) GetViews added in v1.2.0

func (*ImportRoaringRequest) ProtoMessage added in v1.2.0

func (*ImportRoaringRequest) ProtoMessage()

func (*ImportRoaringRequest) Reset added in v1.2.0

func (m *ImportRoaringRequest) Reset()

func (*ImportRoaringRequest) String added in v1.2.0

func (m *ImportRoaringRequest) String() string

type ImportRoaringRequestView added in v1.2.0

type ImportRoaringRequestView struct {
	Name string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"`
	Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
}

func (*ImportRoaringRequestView) Descriptor added in v1.2.0

func (*ImportRoaringRequestView) Descriptor() ([]byte, []int)

func (*ImportRoaringRequestView) GetData added in v1.2.0

func (m *ImportRoaringRequestView) GetData() []byte

func (*ImportRoaringRequestView) GetName added in v1.2.0

func (m *ImportRoaringRequestView) GetName() string

func (*ImportRoaringRequestView) ProtoMessage added in v1.2.0

func (*ImportRoaringRequestView) ProtoMessage()

func (*ImportRoaringRequestView) Reset added in v1.2.0

func (m *ImportRoaringRequestView) Reset()

func (*ImportRoaringRequestView) String added in v1.2.0

func (m *ImportRoaringRequestView) String() string

type ImportValueRequest

type ImportValueRequest struct {
	Index      string   `protobuf:"bytes,1,opt,name=Index" json:"Index,omitempty"`
	Field      string   `protobuf:"bytes,2,opt,name=Field" json:"Field,omitempty"`
	Shard      uint64   `protobuf:"varint,3,opt,name=Shard" json:"Shard,omitempty"`
	ColumnIDs  []uint64 `protobuf:"varint,5,rep,packed,name=ColumnIDs" json:"ColumnIDs,omitempty"`
	ColumnKeys []string `protobuf:"bytes,7,rep,name=ColumnKeys" json:"ColumnKeys,omitempty"`
	Values     []int64  `protobuf:"varint,6,rep,packed,name=Values" json:"Values,omitempty"`
}

func (*ImportValueRequest) Descriptor

func (*ImportValueRequest) Descriptor() ([]byte, []int)

func (*ImportValueRequest) GetColumnIDs

func (m *ImportValueRequest) GetColumnIDs() []uint64

func (*ImportValueRequest) GetColumnKeys added in v0.9.0

func (m *ImportValueRequest) GetColumnKeys() []string

func (*ImportValueRequest) GetField

func (m *ImportValueRequest) GetField() string

func (*ImportValueRequest) GetIndex

func (m *ImportValueRequest) GetIndex() string

func (*ImportValueRequest) GetShard added in v0.10.0

func (m *ImportValueRequest) GetShard() uint64

func (*ImportValueRequest) GetValues

func (m *ImportValueRequest) GetValues() []int64

func (*ImportValueRequest) ProtoMessage

func (*ImportValueRequest) ProtoMessage()

func (*ImportValueRequest) Reset

func (m *ImportValueRequest) Reset()

func (*ImportValueRequest) String

func (m *ImportValueRequest) String() string

type Pair

type Pair struct {
	ID    uint64 `protobuf:"varint,1,opt,name=ID" json:"ID,omitempty"`
	Key   string `protobuf:"bytes,3,opt,name=Key" json:"Key,omitempty"`
	Count uint64 `protobuf:"varint,2,opt,name=Count" json:"Count,omitempty"`
}

func (*Pair) Descriptor

func (*Pair) Descriptor() ([]byte, []int)

func (*Pair) GetCount

func (m *Pair) GetCount() uint64

func (*Pair) GetID added in v0.9.0

func (m *Pair) GetID() uint64

func (*Pair) GetKey

func (m *Pair) GetKey() string

func (*Pair) ProtoMessage

func (*Pair) ProtoMessage()

func (*Pair) Reset

func (m *Pair) Reset()

func (*Pair) String

func (m *Pair) String() string

type QueryRequest

type QueryRequest struct {
	Query           string   `protobuf:"bytes,1,opt,name=Query" json:"Query,omitempty"`
	Shards          []uint64 `protobuf:"varint,2,rep,packed,name=Shards" json:"Shards,omitempty"`
	ColumnAttrs     bool     `protobuf:"varint,3,opt,name=ColumnAttrs" json:"ColumnAttrs,omitempty"`
	Remote          bool     `protobuf:"varint,5,opt,name=Remote" json:"Remote,omitempty"`
	ExcludeRowAttrs bool     `protobuf:"varint,6,opt,name=ExcludeRowAttrs" json:"ExcludeRowAttrs,omitempty"`
	ExcludeColumns  bool     `protobuf:"varint,7,opt,name=ExcludeColumns" json:"ExcludeColumns,omitempty"`
}

func (*QueryRequest) Descriptor

func (*QueryRequest) Descriptor() ([]byte, []int)

func (*QueryRequest) GetColumnAttrs

func (m *QueryRequest) GetColumnAttrs() bool

func (*QueryRequest) GetExcludeColumns added in v0.10.0

func (m *QueryRequest) GetExcludeColumns() bool

func (*QueryRequest) GetExcludeRowAttrs added in v0.10.0

func (m *QueryRequest) GetExcludeRowAttrs() bool

func (*QueryRequest) GetQuery

func (m *QueryRequest) GetQuery() string

func (*QueryRequest) GetRemote

func (m *QueryRequest) GetRemote() bool

func (*QueryRequest) GetShards added in v0.10.0

func (m *QueryRequest) GetShards() []uint64

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) Reset

func (m *QueryRequest) Reset()

func (*QueryRequest) String

func (m *QueryRequest) String() string

type QueryResponse

type QueryResponse struct {
	Err            string           `protobuf:"bytes,1,opt,name=Err" json:"Err,omitempty"`
	Results        []*QueryResult   `protobuf:"bytes,2,rep,name=Results" json:"Results,omitempty"`
	ColumnAttrSets []*ColumnAttrSet `protobuf:"bytes,3,rep,name=ColumnAttrSets" json:"ColumnAttrSets,omitempty"`
}

func (*QueryResponse) Descriptor

func (*QueryResponse) Descriptor() ([]byte, []int)

func (*QueryResponse) GetColumnAttrSets

func (m *QueryResponse) GetColumnAttrSets() []*ColumnAttrSet

func (*QueryResponse) GetErr

func (m *QueryResponse) GetErr() string

func (*QueryResponse) GetResults

func (m *QueryResponse) GetResults() []*QueryResult

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) Reset

func (m *QueryResponse) Reset()

func (*QueryResponse) String

func (m *QueryResponse) String() string

type QueryResult

type QueryResult struct {
	Type           uint32          `protobuf:"varint,6,opt,name=Type" json:"Type,omitempty"`
	Row            *Row            `protobuf:"bytes,1,opt,name=Row" json:"Row,omitempty"`
	N              uint64          `protobuf:"varint,2,opt,name=N" json:"N,omitempty"`
	Pairs          []*Pair         `protobuf:"bytes,3,rep,name=Pairs" json:"Pairs,omitempty"`
	Changed        bool            `protobuf:"varint,4,opt,name=Changed" json:"Changed,omitempty"`
	ValCount       *ValCount       `protobuf:"bytes,5,opt,name=ValCount" json:"ValCount,omitempty"`
	RowIDs         []uint64        `protobuf:"varint,7,rep,packed,name=RowIDs" json:"RowIDs,omitempty"`
	GroupCounts    []*GroupCount   `protobuf:"bytes,8,rep,name=GroupCounts" json:"GroupCounts,omitempty"`
	RowIdentifiers *RowIdentifiers `protobuf:"bytes,9,opt,name=RowIdentifiers" json:"RowIdentifiers,omitempty"`
}

func (*QueryResult) Descriptor

func (*QueryResult) Descriptor() ([]byte, []int)

func (*QueryResult) GetChanged

func (m *QueryResult) GetChanged() bool

func (*QueryResult) GetGroupCounts added in v1.2.0

func (m *QueryResult) GetGroupCounts() []*GroupCount

func (*QueryResult) GetN

func (m *QueryResult) GetN() uint64

func (*QueryResult) GetPairs

func (m *QueryResult) GetPairs() []*Pair

func (*QueryResult) GetRow added in v0.10.0

func (m *QueryResult) GetRow() *Row

func (*QueryResult) GetRowIDs added in v1.2.0

func (m *QueryResult) GetRowIDs() []uint64

func (*QueryResult) GetRowIdentifiers added in v1.2.0

func (m *QueryResult) GetRowIdentifiers() *RowIdentifiers

func (*QueryResult) GetType added in v0.9.0

func (m *QueryResult) GetType() uint32

func (*QueryResult) GetValCount added in v0.9.0

func (m *QueryResult) GetValCount() *ValCount

func (*QueryResult) ProtoMessage

func (*QueryResult) ProtoMessage()

func (*QueryResult) Reset

func (m *QueryResult) Reset()

func (*QueryResult) String

func (m *QueryResult) String() string

type Row added in v0.10.0

type Row struct {
	Columns []uint64 `protobuf:"varint,1,rep,packed,name=Columns" json:"Columns,omitempty"`
	Keys    []string `protobuf:"bytes,3,rep,name=Keys" json:"Keys,omitempty"`
	Attrs   []*Attr  `protobuf:"bytes,2,rep,name=Attrs" json:"Attrs,omitempty"`
}

func (*Row) Descriptor added in v0.10.0

func (*Row) Descriptor() ([]byte, []int)

func (*Row) GetAttrs added in v0.10.0

func (m *Row) GetAttrs() []*Attr

func (*Row) GetColumns added in v0.10.0

func (m *Row) GetColumns() []uint64

func (*Row) GetKeys added in v0.10.0

func (m *Row) GetKeys() []string

func (*Row) ProtoMessage added in v0.10.0

func (*Row) ProtoMessage()

func (*Row) Reset added in v0.10.0

func (m *Row) Reset()

func (*Row) String added in v0.10.0

func (m *Row) String() string

type RowIdentifiers added in v1.2.0

type RowIdentifiers struct {
	Rows []uint64 `protobuf:"varint,1,rep,packed,name=Rows" json:"Rows,omitempty"`
	Keys []string `protobuf:"bytes,2,rep,name=Keys" json:"Keys,omitempty"`
}

func (*RowIdentifiers) Descriptor added in v1.2.0

func (*RowIdentifiers) Descriptor() ([]byte, []int)

func (*RowIdentifiers) GetKeys added in v1.2.0

func (m *RowIdentifiers) GetKeys() []string

func (*RowIdentifiers) GetRows added in v1.2.0

func (m *RowIdentifiers) GetRows() []uint64

func (*RowIdentifiers) ProtoMessage added in v1.2.0

func (*RowIdentifiers) ProtoMessage()

func (*RowIdentifiers) Reset added in v1.2.0

func (m *RowIdentifiers) Reset()

func (*RowIdentifiers) String added in v1.2.0

func (m *RowIdentifiers) String() string

type TranslateKeysRequest added in v1.3.0

type TranslateKeysRequest struct {
	Index string   `protobuf:"bytes,1,opt,name=Index" json:"Index,omitempty"`
	Field string   `protobuf:"bytes,2,opt,name=Field" json:"Field,omitempty"`
	Keys  []string `protobuf:"bytes,3,rep,name=Keys" json:"Keys,omitempty"`
}

func (*TranslateKeysRequest) Descriptor added in v1.3.0

func (*TranslateKeysRequest) Descriptor() ([]byte, []int)

func (*TranslateKeysRequest) GetField added in v1.3.0

func (m *TranslateKeysRequest) GetField() string

func (*TranslateKeysRequest) GetIndex added in v1.3.0

func (m *TranslateKeysRequest) GetIndex() string

func (*TranslateKeysRequest) GetKeys added in v1.3.0

func (m *TranslateKeysRequest) GetKeys() []string

func (*TranslateKeysRequest) ProtoMessage added in v1.3.0

func (*TranslateKeysRequest) ProtoMessage()

func (*TranslateKeysRequest) Reset added in v1.3.0

func (m *TranslateKeysRequest) Reset()

func (*TranslateKeysRequest) String added in v1.3.0

func (m *TranslateKeysRequest) String() string

type TranslateKeysResponse added in v1.3.0

type TranslateKeysResponse struct {
	IDs []uint64 `protobuf:"varint,3,rep,packed,name=IDs" json:"IDs,omitempty"`
}

func (*TranslateKeysResponse) Descriptor added in v1.3.0

func (*TranslateKeysResponse) Descriptor() ([]byte, []int)

func (*TranslateKeysResponse) GetIDs added in v1.3.0

func (m *TranslateKeysResponse) GetIDs() []uint64

func (*TranslateKeysResponse) ProtoMessage added in v1.3.0

func (*TranslateKeysResponse) ProtoMessage()

func (*TranslateKeysResponse) Reset added in v1.3.0

func (m *TranslateKeysResponse) Reset()

func (*TranslateKeysResponse) String added in v1.3.0

func (m *TranslateKeysResponse) String() string

type ValCount added in v0.9.0

type ValCount struct {
	Val   int64 `protobuf:"varint,1,opt,name=Val" json:"Val,omitempty"`
	Count int64 `protobuf:"varint,2,opt,name=Count" json:"Count,omitempty"`
}

func (*ValCount) Descriptor added in v0.9.0

func (*ValCount) Descriptor() ([]byte, []int)

func (*ValCount) GetCount added in v0.9.0

func (m *ValCount) GetCount() int64

func (*ValCount) GetVal added in v0.9.0

func (m *ValCount) GetVal() int64

func (*ValCount) ProtoMessage added in v0.9.0

func (*ValCount) ProtoMessage()

func (*ValCount) Reset added in v0.9.0

func (m *ValCount) Reset()

func (*ValCount) String added in v0.9.0

func (m *ValCount) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL