Documentation ¶
Overview ¶
Package fswriter is a generated protocol buffer package.
It is generated from these files:
github.com/m3db/m3/src/m3ninx/generated/proto/fswriter/fswriter.proto
It has these top-level messages:
Metadata
Index ¶
- Variables
- type FSTSegmentFileType
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetNumDocs() int64
- func (m *Metadata) GetPostingsFormat() PostingsFormat
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- type PostingsFormat
- type SegmentType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthFswriter = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFswriter = fmt.Errorf("proto: integer overflow") )
View Source
var FSTSegmentFileType_name = map[int32]string{
0: "DOCUMENTS_INDEX",
1: "DOCUMENTS_DATA",
2: "POSTINGS_DATA",
3: "FST_TERMS",
4: "FST_FIELDS",
}
View Source
var FSTSegmentFileType_value = map[string]int32{
"DOCUMENTS_INDEX": 0,
"DOCUMENTS_DATA": 1,
"POSTINGS_DATA": 2,
"FST_TERMS": 3,
"FST_FIELDS": 4,
}
View Source
var PostingsFormat_name = map[int32]string{
0: "PILOSAV1_POSTINGS_FORMAT",
}
View Source
var PostingsFormat_value = map[string]int32{
"PILOSAV1_POSTINGS_FORMAT": 0,
}
View Source
var SegmentType_name = map[int32]string{
0: "FST_SEGMENT_TYPE",
}
View Source
var SegmentType_value = map[string]int32{
"FST_SEGMENT_TYPE": 0,
}
Functions ¶
This section is empty.
Types ¶
type FSTSegmentFileType ¶
type FSTSegmentFileType int32
const ( FSTSegmentFileType_DOCUMENTS_INDEX FSTSegmentFileType = 0 FSTSegmentFileType_DOCUMENTS_DATA FSTSegmentFileType = 1 FSTSegmentFileType_POSTINGS_DATA FSTSegmentFileType = 2 FSTSegmentFileType_FST_TERMS FSTSegmentFileType = 3 FSTSegmentFileType_FST_FIELDS FSTSegmentFileType = 4 )
func (FSTSegmentFileType) EnumDescriptor ¶
func (FSTSegmentFileType) EnumDescriptor() ([]byte, []int)
func (FSTSegmentFileType) String ¶
func (x FSTSegmentFileType) String() string
type Metadata ¶
type Metadata struct { PostingsFormat PostingsFormat `protobuf:"varint,1,opt,name=postingsFormat,proto3,enum=fswriter.PostingsFormat" json:"postingsFormat,omitempty"` NumDocs int64 `protobuf:"varint,2,opt,name=numDocs,proto3" json:"numDocs,omitempty"` }
func (*Metadata) Descriptor ¶
func (*Metadata) GetNumDocs ¶
func (*Metadata) GetPostingsFormat ¶
func (m *Metadata) GetPostingsFormat() PostingsFormat
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
type PostingsFormat ¶
type PostingsFormat int32
const (
PostingsFormat_PILOSAV1_POSTINGS_FORMAT PostingsFormat = 0
)
func (PostingsFormat) EnumDescriptor ¶
func (PostingsFormat) EnumDescriptor() ([]byte, []int)
func (PostingsFormat) String ¶
func (x PostingsFormat) String() string
type SegmentType ¶
type SegmentType int32
const (
SegmentType_FST_SEGMENT_TYPE SegmentType = 0
)
func (SegmentType) EnumDescriptor ¶
func (SegmentType) EnumDescriptor() ([]byte, []int)
func (SegmentType) String ¶
func (x SegmentType) String() string
Click to show internal directories.
Click to hide internal directories.