Documentation ¶
Index ¶
- Variables
- type PostingOffset
- func (*PostingOffset) Descriptor() ([]byte, []int)
- func (this *PostingOffset) Equal(that interface{}) bool
- func (m *PostingOffset) GetTableOff() int64
- func (m *PostingOffset) GetValue() string
- func (this *PostingOffset) GoString() string
- func (m *PostingOffset) Marshal() (dAtA []byte, err error)
- func (m *PostingOffset) MarshalTo(dAtA []byte) (int, error)
- func (m *PostingOffset) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PostingOffset) ProtoMessage()
- func (m *PostingOffset) Reset()
- func (m *PostingOffset) Size() (n int)
- func (this *PostingOffset) String() string
- func (m *PostingOffset) Unmarshal(dAtA []byte) error
- func (m *PostingOffset) XXX_DiscardUnknown()
- func (m *PostingOffset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostingOffset) XXX_Merge(src proto.Message)
- func (m *PostingOffset) XXX_Size() int
- func (m *PostingOffset) XXX_Unmarshal(b []byte) error
- type PostingOffsetTable
- func (*PostingOffsetTable) Descriptor() ([]byte, []int)
- func (this *PostingOffsetTable) Equal(that interface{}) bool
- func (m *PostingOffsetTable) GetPostings() map[string]*PostingValueOffsets
- func (this *PostingOffsetTable) GoString() string
- func (m *PostingOffsetTable) Marshal() (dAtA []byte, err error)
- func (m *PostingOffsetTable) MarshalTo(dAtA []byte) (int, error)
- func (m *PostingOffsetTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PostingOffsetTable) ProtoMessage()
- func (m *PostingOffsetTable) Reset()
- func (m *PostingOffsetTable) Size() (n int)
- func (this *PostingOffsetTable) String() string
- func (m *PostingOffsetTable) Unmarshal(dAtA []byte) error
- func (m *PostingOffsetTable) XXX_DiscardUnknown()
- func (m *PostingOffsetTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostingOffsetTable) XXX_Merge(src proto.Message)
- func (m *PostingOffsetTable) XXX_Size() int
- func (m *PostingOffsetTable) XXX_Unmarshal(b []byte) error
- type PostingValueOffsets
- func (*PostingValueOffsets) Descriptor() ([]byte, []int)
- func (this *PostingValueOffsets) Equal(that interface{}) bool
- func (m *PostingValueOffsets) GetLastValOffset() int64
- func (m *PostingValueOffsets) GetOffsets() []*PostingOffset
- func (this *PostingValueOffsets) GoString() string
- func (m *PostingValueOffsets) Marshal() (dAtA []byte, err error)
- func (m *PostingValueOffsets) MarshalTo(dAtA []byte) (int, error)
- func (m *PostingValueOffsets) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PostingValueOffsets) ProtoMessage()
- func (m *PostingValueOffsets) Reset()
- func (m *PostingValueOffsets) Size() (n int)
- func (this *PostingValueOffsets) String() string
- func (m *PostingValueOffsets) Unmarshal(dAtA []byte) error
- func (m *PostingValueOffsets) XXX_DiscardUnknown()
- func (m *PostingValueOffsets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PostingValueOffsets) XXX_Merge(src proto.Message)
- func (m *PostingValueOffsets) XXX_Size() int
- func (m *PostingValueOffsets) XXX_Unmarshal(b []byte) error
- type Sparse
- func (*Sparse) Descriptor() ([]byte, []int)
- func (this *Sparse) Equal(that interface{}) bool
- func (m *Sparse) GetPostingsOffsetTable() *PostingOffsetTable
- func (m *Sparse) GetSymbols() *Symbols
- func (this *Sparse) GoString() string
- func (m *Sparse) Marshal() (dAtA []byte, err error)
- func (m *Sparse) MarshalTo(dAtA []byte) (int, error)
- func (m *Sparse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sparse) ProtoMessage()
- func (m *Sparse) Reset()
- func (m *Sparse) Size() (n int)
- func (this *Sparse) String() string
- func (m *Sparse) Unmarshal(dAtA []byte) error
- func (m *Sparse) XXX_DiscardUnknown()
- func (m *Sparse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sparse) XXX_Merge(src proto.Message)
- func (m *Sparse) XXX_Size() int
- func (m *Sparse) XXX_Unmarshal(b []byte) error
- type Symbols
- func (*Symbols) Descriptor() ([]byte, []int)
- func (this *Symbols) Equal(that interface{}) bool
- func (m *Symbols) GetOffsets() []int64
- func (m *Symbols) GetSymbolsCount() int64
- func (this *Symbols) GoString() string
- func (m *Symbols) Marshal() (dAtA []byte, err error)
- func (m *Symbols) MarshalTo(dAtA []byte) (int, error)
- func (m *Symbols) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Symbols) ProtoMessage()
- func (m *Symbols) Reset()
- func (m *Symbols) Size() (n int)
- func (this *Symbols) String() string
- func (m *Symbols) Unmarshal(dAtA []byte) error
- func (m *Symbols) XXX_DiscardUnknown()
- func (m *Symbols) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Symbols) XXX_Merge(src proto.Message)
- func (m *Symbols) XXX_Size() int
- func (m *Symbols) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthSparse = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSparse = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type PostingOffset ¶
type PostingOffset struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` TableOff int64 `protobuf:"varint,2,opt,name=tableOff,proto3" json:"tableOff,omitempty"` }
PostingOffset stores the label value and its offset in the postings offset table relative to the start of the table.
func (*PostingOffset) Descriptor ¶
func (*PostingOffset) Descriptor() ([]byte, []int)
func (*PostingOffset) Equal ¶
func (this *PostingOffset) Equal(that interface{}) bool
func (*PostingOffset) GetTableOff ¶
func (m *PostingOffset) GetTableOff() int64
func (*PostingOffset) GetValue ¶
func (m *PostingOffset) GetValue() string
func (*PostingOffset) GoString ¶
func (this *PostingOffset) GoString() string
func (*PostingOffset) Marshal ¶
func (m *PostingOffset) Marshal() (dAtA []byte, err error)
func (*PostingOffset) MarshalToSizedBuffer ¶
func (m *PostingOffset) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PostingOffset) ProtoMessage ¶
func (*PostingOffset) ProtoMessage()
func (*PostingOffset) Reset ¶
func (m *PostingOffset) Reset()
func (*PostingOffset) Size ¶
func (m *PostingOffset) Size() (n int)
func (*PostingOffset) String ¶
func (this *PostingOffset) String() string
func (*PostingOffset) Unmarshal ¶
func (m *PostingOffset) Unmarshal(dAtA []byte) error
func (*PostingOffset) XXX_DiscardUnknown ¶
func (m *PostingOffset) XXX_DiscardUnknown()
func (*PostingOffset) XXX_Marshal ¶
func (m *PostingOffset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostingOffset) XXX_Merge ¶
func (m *PostingOffset) XXX_Merge(src proto.Message)
func (*PostingOffset) XXX_Size ¶
func (m *PostingOffset) XXX_Size() int
func (*PostingOffset) XXX_Unmarshal ¶
func (m *PostingOffset) XXX_Unmarshal(b []byte) error
type PostingOffsetTable ¶
type PostingOffsetTable struct { // Postings is a map of label names -> PostingValueOffsets Postings map[string]*PostingValueOffsets `` /* 157-byte string literal not displayed */ }
func (*PostingOffsetTable) Descriptor ¶
func (*PostingOffsetTable) Descriptor() ([]byte, []int)
func (*PostingOffsetTable) Equal ¶
func (this *PostingOffsetTable) Equal(that interface{}) bool
func (*PostingOffsetTable) GetPostings ¶
func (m *PostingOffsetTable) GetPostings() map[string]*PostingValueOffsets
func (*PostingOffsetTable) GoString ¶
func (this *PostingOffsetTable) GoString() string
func (*PostingOffsetTable) Marshal ¶
func (m *PostingOffsetTable) Marshal() (dAtA []byte, err error)
func (*PostingOffsetTable) MarshalTo ¶
func (m *PostingOffsetTable) MarshalTo(dAtA []byte) (int, error)
func (*PostingOffsetTable) MarshalToSizedBuffer ¶
func (m *PostingOffsetTable) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PostingOffsetTable) ProtoMessage ¶
func (*PostingOffsetTable) ProtoMessage()
func (*PostingOffsetTable) Reset ¶
func (m *PostingOffsetTable) Reset()
func (*PostingOffsetTable) Size ¶
func (m *PostingOffsetTable) Size() (n int)
func (*PostingOffsetTable) String ¶
func (this *PostingOffsetTable) String() string
func (*PostingOffsetTable) Unmarshal ¶
func (m *PostingOffsetTable) Unmarshal(dAtA []byte) error
func (*PostingOffsetTable) XXX_DiscardUnknown ¶
func (m *PostingOffsetTable) XXX_DiscardUnknown()
func (*PostingOffsetTable) XXX_Marshal ¶
func (m *PostingOffsetTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostingOffsetTable) XXX_Merge ¶
func (m *PostingOffsetTable) XXX_Merge(src proto.Message)
func (*PostingOffsetTable) XXX_Size ¶
func (m *PostingOffsetTable) XXX_Size() int
func (*PostingOffsetTable) XXX_Unmarshal ¶
func (m *PostingOffsetTable) XXX_Unmarshal(b []byte) error
type PostingValueOffsets ¶
type PostingValueOffsets struct { Offsets []*PostingOffset `protobuf:"bytes,1,rep,name=offsets,proto3" json:"offsets,omitempty"` // LastValOffset is the offset of the last value for this label name relative to the start of the postings offset table. LastValOffset int64 `protobuf:"varint,2,opt,name=lastValOffset,proto3" json:"lastValOffset,omitempty"` }
PostingValueOffsets stores a list of the first, last, and every 32nd (config default) PostingOffset for this label name.
func (*PostingValueOffsets) Descriptor ¶
func (*PostingValueOffsets) Descriptor() ([]byte, []int)
func (*PostingValueOffsets) Equal ¶
func (this *PostingValueOffsets) Equal(that interface{}) bool
func (*PostingValueOffsets) GetLastValOffset ¶
func (m *PostingValueOffsets) GetLastValOffset() int64
func (*PostingValueOffsets) GetOffsets ¶
func (m *PostingValueOffsets) GetOffsets() []*PostingOffset
func (*PostingValueOffsets) GoString ¶
func (this *PostingValueOffsets) GoString() string
func (*PostingValueOffsets) Marshal ¶
func (m *PostingValueOffsets) Marshal() (dAtA []byte, err error)
func (*PostingValueOffsets) MarshalTo ¶
func (m *PostingValueOffsets) MarshalTo(dAtA []byte) (int, error)
func (*PostingValueOffsets) MarshalToSizedBuffer ¶
func (m *PostingValueOffsets) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PostingValueOffsets) ProtoMessage ¶
func (*PostingValueOffsets) ProtoMessage()
func (*PostingValueOffsets) Reset ¶
func (m *PostingValueOffsets) Reset()
func (*PostingValueOffsets) Size ¶
func (m *PostingValueOffsets) Size() (n int)
func (*PostingValueOffsets) String ¶
func (this *PostingValueOffsets) String() string
func (*PostingValueOffsets) Unmarshal ¶
func (m *PostingValueOffsets) Unmarshal(dAtA []byte) error
func (*PostingValueOffsets) XXX_DiscardUnknown ¶
func (m *PostingValueOffsets) XXX_DiscardUnknown()
func (*PostingValueOffsets) XXX_Marshal ¶
func (m *PostingValueOffsets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PostingValueOffsets) XXX_Merge ¶
func (m *PostingValueOffsets) XXX_Merge(src proto.Message)
func (*PostingValueOffsets) XXX_Size ¶
func (m *PostingValueOffsets) XXX_Size() int
func (*PostingValueOffsets) XXX_Unmarshal ¶
func (m *PostingValueOffsets) XXX_Unmarshal(b []byte) error
type Sparse ¶
type Sparse struct { Symbols *Symbols `protobuf:"bytes,1,opt,name=symbols,proto3" json:"symbols,omitempty"` PostingsOffsetTable *PostingOffsetTable `protobuf:"bytes,2,opt,name=postingsOffsetTable,proto3" json:"postingsOffsetTable,omitempty"` }
func (*Sparse) Descriptor ¶
func (*Sparse) GetPostingsOffsetTable ¶
func (m *Sparse) GetPostingsOffsetTable() *PostingOffsetTable
func (*Sparse) GetSymbols ¶
func (*Sparse) MarshalToSizedBuffer ¶
func (*Sparse) ProtoMessage ¶
func (*Sparse) ProtoMessage()
func (*Sparse) XXX_DiscardUnknown ¶
func (m *Sparse) XXX_DiscardUnknown()
func (*Sparse) XXX_Marshal ¶
func (*Sparse) XXX_Unmarshal ¶
type Symbols ¶
type Symbols struct { Offsets []int64 `protobuf:"varint,1,rep,packed,name=offsets,proto3" json:"offsets,omitempty"` SymbolsCount int64 `protobuf:"varint,2,opt,name=symbolsCount,proto3" json:"symbolsCount,omitempty"` }
func (*Symbols) Descriptor ¶
func (*Symbols) GetOffsets ¶
func (*Symbols) GetSymbolsCount ¶
func (*Symbols) MarshalToSizedBuffer ¶
func (*Symbols) ProtoMessage ¶
func (*Symbols) ProtoMessage()
func (*Symbols) XXX_DiscardUnknown ¶
func (m *Symbols) XXX_DiscardUnknown()
func (*Symbols) XXX_Marshal ¶
func (*Symbols) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.