mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
461 lines
14 KiB
Go
461 lines
14 KiB
Go
// Code generated by protoc-gen-go.
|
|
// source: internal.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package internal is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
internal.proto
|
|
|
|
It has these top-level messages:
|
|
Bitmap
|
|
Chunk
|
|
Pair
|
|
Bit
|
|
Profile
|
|
Attr
|
|
AttrMap
|
|
QueryRequest
|
|
QueryResponse
|
|
ImportRequest
|
|
ImportResponse
|
|
Cache
|
|
*/
|
|
package internal
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
type Bitmap struct {
|
|
Chunks []*Chunk `protobuf:"bytes,1,rep,name=Chunks" json:"Chunks,omitempty"`
|
|
Attrs []*Attr `protobuf:"bytes,2,rep,name=Attrs" json:"Attrs,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Bitmap) Reset() { *m = Bitmap{} }
|
|
func (m *Bitmap) String() string { return proto.CompactTextString(m) }
|
|
func (*Bitmap) ProtoMessage() {}
|
|
func (*Bitmap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
func (m *Bitmap) GetChunks() []*Chunk {
|
|
if m != nil {
|
|
return m.Chunks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Bitmap) GetAttrs() []*Attr {
|
|
if m != nil {
|
|
return m.Attrs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Chunk struct {
|
|
Key *uint64 `protobuf:"varint,1,req,name=Key" json:"Key,omitempty"`
|
|
Value []uint64 `protobuf:"varint,2,rep,name=Value" json:"Value,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Chunk) Reset() { *m = Chunk{} }
|
|
func (m *Chunk) String() string { return proto.CompactTextString(m) }
|
|
func (*Chunk) ProtoMessage() {}
|
|
func (*Chunk) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
func (m *Chunk) GetKey() uint64 {
|
|
if m != nil && m.Key != nil {
|
|
return *m.Key
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Chunk) GetValue() []uint64 {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Pair struct {
|
|
Key *uint64 `protobuf:"varint,1,req,name=Key" json:"Key,omitempty"`
|
|
Count *uint64 `protobuf:"varint,2,req,name=Count" json:"Count,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Pair) Reset() { *m = Pair{} }
|
|
func (m *Pair) String() string { return proto.CompactTextString(m) }
|
|
func (*Pair) ProtoMessage() {}
|
|
func (*Pair) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
|
|
|
func (m *Pair) GetKey() uint64 {
|
|
if m != nil && m.Key != nil {
|
|
return *m.Key
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Pair) GetCount() uint64 {
|
|
if m != nil && m.Count != nil {
|
|
return *m.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Bit struct {
|
|
BitmapID *uint64 `protobuf:"varint,1,req,name=BitmapID" json:"BitmapID,omitempty"`
|
|
ProfileID *uint64 `protobuf:"varint,2,req,name=ProfileID" json:"ProfileID,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Bit) Reset() { *m = Bit{} }
|
|
func (m *Bit) String() string { return proto.CompactTextString(m) }
|
|
func (*Bit) ProtoMessage() {}
|
|
func (*Bit) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
|
|
|
func (m *Bit) GetBitmapID() uint64 {
|
|
if m != nil && m.BitmapID != nil {
|
|
return *m.BitmapID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Bit) GetProfileID() uint64 {
|
|
if m != nil && m.ProfileID != nil {
|
|
return *m.ProfileID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Profile struct {
|
|
ID *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"`
|
|
Attrs []*Attr `protobuf:"bytes,2,rep,name=Attrs" json:"Attrs,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Profile) Reset() { *m = Profile{} }
|
|
func (m *Profile) String() string { return proto.CompactTextString(m) }
|
|
func (*Profile) ProtoMessage() {}
|
|
func (*Profile) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
|
|
|
func (m *Profile) GetID() uint64 {
|
|
if m != nil && m.ID != nil {
|
|
return *m.ID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Profile) GetAttrs() []*Attr {
|
|
if m != nil {
|
|
return m.Attrs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Attr struct {
|
|
Key *string `protobuf:"bytes,1,req,name=Key" json:"Key,omitempty"`
|
|
StringValue *string `protobuf:"bytes,2,opt,name=StringValue" json:"StringValue,omitempty"`
|
|
UintValue *uint64 `protobuf:"varint,3,opt,name=UintValue" json:"UintValue,omitempty"`
|
|
BoolValue *bool `protobuf:"varint,4,opt,name=BoolValue" json:"BoolValue,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Attr) Reset() { *m = Attr{} }
|
|
func (m *Attr) String() string { return proto.CompactTextString(m) }
|
|
func (*Attr) ProtoMessage() {}
|
|
func (*Attr) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
|
|
|
func (m *Attr) GetKey() string {
|
|
if m != nil && m.Key != nil {
|
|
return *m.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Attr) GetStringValue() string {
|
|
if m != nil && m.StringValue != nil {
|
|
return *m.StringValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Attr) GetUintValue() uint64 {
|
|
if m != nil && m.UintValue != nil {
|
|
return *m.UintValue
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Attr) GetBoolValue() bool {
|
|
if m != nil && m.BoolValue != nil {
|
|
return *m.BoolValue
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AttrMap struct {
|
|
Attrs []*Attr `protobuf:"bytes,1,rep,name=Attrs" json:"Attrs,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *AttrMap) Reset() { *m = AttrMap{} }
|
|
func (m *AttrMap) String() string { return proto.CompactTextString(m) }
|
|
func (*AttrMap) ProtoMessage() {}
|
|
func (*AttrMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
|
|
|
func (m *AttrMap) GetAttrs() []*Attr {
|
|
if m != nil {
|
|
return m.Attrs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QueryRequest struct {
|
|
DB *string `protobuf:"bytes,1,req,name=DB" json:"DB,omitempty"`
|
|
Query *string `protobuf:"bytes,2,req,name=Query" json:"Query,omitempty"`
|
|
Slices []uint64 `protobuf:"varint,3,rep,name=Slices" json:"Slices,omitempty"`
|
|
Profiles *bool `protobuf:"varint,4,opt,name=Profiles" json:"Profiles,omitempty"`
|
|
Timestamp *int64 `protobuf:"varint,5,opt,name=Timestamp" json:"Timestamp,omitempty"`
|
|
Quantum *uint32 `protobuf:"varint,6,opt,name=Quantum" json:"Quantum,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *QueryRequest) Reset() { *m = QueryRequest{} }
|
|
func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryRequest) ProtoMessage() {}
|
|
func (*QueryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
|
|
|
func (m *QueryRequest) GetDB() string {
|
|
if m != nil && m.DB != nil {
|
|
return *m.DB
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QueryRequest) GetQuery() string {
|
|
if m != nil && m.Query != nil {
|
|
return *m.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QueryRequest) GetSlices() []uint64 {
|
|
if m != nil {
|
|
return m.Slices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QueryRequest) GetProfiles() bool {
|
|
if m != nil && m.Profiles != nil {
|
|
return *m.Profiles
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *QueryRequest) GetTimestamp() int64 {
|
|
if m != nil && m.Timestamp != nil {
|
|
return *m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *QueryRequest) GetQuantum() uint32 {
|
|
if m != nil && m.Quantum != nil {
|
|
return *m.Quantum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type QueryResponse struct {
|
|
Err *string `protobuf:"bytes,1,opt,name=Err" json:"Err,omitempty"`
|
|
Bitmap *Bitmap `protobuf:"bytes,2,opt,name=Bitmap" json:"Bitmap,omitempty"`
|
|
N *uint64 `protobuf:"varint,3,opt,name=N" json:"N,omitempty"`
|
|
Pairs []*Pair `protobuf:"bytes,4,rep,name=Pairs" json:"Pairs,omitempty"`
|
|
Profiles []*Profile `protobuf:"bytes,5,rep,name=Profiles" json:"Profiles,omitempty"`
|
|
Changed *bool `protobuf:"varint,6,opt,name=Changed" json:"Changed,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *QueryResponse) Reset() { *m = QueryResponse{} }
|
|
func (m *QueryResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*QueryResponse) ProtoMessage() {}
|
|
func (*QueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
|
|
|
func (m *QueryResponse) GetErr() string {
|
|
if m != nil && m.Err != nil {
|
|
return *m.Err
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *QueryResponse) GetBitmap() *Bitmap {
|
|
if m != nil {
|
|
return m.Bitmap
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QueryResponse) GetN() uint64 {
|
|
if m != nil && m.N != nil {
|
|
return *m.N
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *QueryResponse) GetPairs() []*Pair {
|
|
if m != nil {
|
|
return m.Pairs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QueryResponse) GetProfiles() []*Profile {
|
|
if m != nil {
|
|
return m.Profiles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *QueryResponse) GetChanged() bool {
|
|
if m != nil && m.Changed != nil {
|
|
return *m.Changed
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ImportRequest struct {
|
|
DB *string `protobuf:"bytes,1,req,name=DB" json:"DB,omitempty"`
|
|
Frame *string `protobuf:"bytes,2,req,name=Frame" json:"Frame,omitempty"`
|
|
Slice *uint64 `protobuf:"varint,3,req,name=Slice" json:"Slice,omitempty"`
|
|
BitmapIDs []uint64 `protobuf:"varint,4,rep,name=BitmapIDs" json:"BitmapIDs,omitempty"`
|
|
ProfileIDs []uint64 `protobuf:"varint,5,rep,name=ProfileIDs" json:"ProfileIDs,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *ImportRequest) Reset() { *m = ImportRequest{} }
|
|
func (m *ImportRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ImportRequest) ProtoMessage() {}
|
|
func (*ImportRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
|
|
|
func (m *ImportRequest) GetDB() string {
|
|
if m != nil && m.DB != nil {
|
|
return *m.DB
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ImportRequest) GetFrame() string {
|
|
if m != nil && m.Frame != nil {
|
|
return *m.Frame
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ImportRequest) GetSlice() uint64 {
|
|
if m != nil && m.Slice != nil {
|
|
return *m.Slice
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *ImportRequest) GetBitmapIDs() []uint64 {
|
|
if m != nil {
|
|
return m.BitmapIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *ImportRequest) GetProfileIDs() []uint64 {
|
|
if m != nil {
|
|
return m.ProfileIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ImportResponse struct {
|
|
Err *string `protobuf:"bytes,1,opt,name=Err" json:"Err,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *ImportResponse) Reset() { *m = ImportResponse{} }
|
|
func (m *ImportResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ImportResponse) ProtoMessage() {}
|
|
func (*ImportResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
|
|
|
func (m *ImportResponse) GetErr() string {
|
|
if m != nil && m.Err != nil {
|
|
return *m.Err
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Cache struct {
|
|
BitmapIDs []uint64 `protobuf:"varint,1,rep,name=BitmapIDs" json:"BitmapIDs,omitempty"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
}
|
|
|
|
func (m *Cache) Reset() { *m = Cache{} }
|
|
func (m *Cache) String() string { return proto.CompactTextString(m) }
|
|
func (*Cache) ProtoMessage() {}
|
|
func (*Cache) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
|
|
|
func (m *Cache) GetBitmapIDs() []uint64 {
|
|
if m != nil {
|
|
return m.BitmapIDs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Bitmap)(nil), "internal.Bitmap")
|
|
proto.RegisterType((*Chunk)(nil), "internal.Chunk")
|
|
proto.RegisterType((*Pair)(nil), "internal.Pair")
|
|
proto.RegisterType((*Bit)(nil), "internal.Bit")
|
|
proto.RegisterType((*Profile)(nil), "internal.Profile")
|
|
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((*ImportRequest)(nil), "internal.ImportRequest")
|
|
proto.RegisterType((*ImportResponse)(nil), "internal.ImportResponse")
|
|
proto.RegisterType((*Cache)(nil), "internal.Cache")
|
|
}
|
|
|
|
var fileDescriptor0 = []byte{
|
|
// 436 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x6e, 0xd4, 0x30,
|
|
0x10, 0xc6, 0x95, 0x8d, 0x93, 0x4d, 0x26, 0x24, 0x6d, 0xcd, 0x25, 0x42, 0xaa, 0xa8, 0xdc, 0xcb,
|
|
0x8a, 0x43, 0x0f, 0x15, 0x2f, 0xc0, 0x6e, 0x41, 0x54, 0x88, 0xaa, 0xa5, 0xc0, 0x19, 0xab, 0x98,
|
|
0x6e, 0x44, 0x62, 0x07, 0xc7, 0x39, 0xf4, 0x65, 0x78, 0x56, 0xc6, 0x7f, 0x92, 0x2e, 0xb0, 0x88,
|
|
0x53, 0x94, 0xcf, 0x63, 0x7f, 0xbf, 0xf9, 0x66, 0xa0, 0x6a, 0xa4, 0x11, 0x5a, 0xf2, 0xf6, 0xac,
|
|
0xd7, 0xca, 0x28, 0x9a, 0x4d, 0xff, 0xec, 0x2d, 0xa4, 0xeb, 0xc6, 0x74, 0xbc, 0xa7, 0xcf, 0x21,
|
|
0xdd, 0x6c, 0x47, 0xf9, 0x7d, 0xa8, 0xa3, 0x93, 0x78, 0x55, 0x9c, 0x1f, 0x9c, 0xcd, 0x97, 0x9c,
|
|
0x4e, 0x8f, 0x21, 0x79, 0x65, 0x8c, 0x1e, 0xea, 0x85, 0x3b, 0xaf, 0x1e, 0xcf, 0xad, 0xcc, 0x4e,
|
|
0x21, 0xf1, 0x75, 0x05,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