Documentation ¶
Index ¶
- Variables
- type DataEntry
- type IndexEntry
- func (*IndexEntry) Descriptor() ([]byte, []int)deprecated
- func (x *IndexEntry) GetChecksum() uint64
- func (x *IndexEntry) GetKey() []byte
- func (x *IndexEntry) GetValueOffset() uint64
- func (*IndexEntry) ProtoMessage()
- func (x *IndexEntry) ProtoReflect() protoreflect.Message
- func (x *IndexEntry) Reset()
- func (x *IndexEntry) String() string
- type MetaData
- func (*MetaData) Descriptor() ([]byte, []int)deprecated
- func (x *MetaData) GetDataBytes() uint64
- func (x *MetaData) GetIndexBytes() uint64
- func (x *MetaData) GetMaxKey() []byte
- func (x *MetaData) GetMinKey() []byte
- func (x *MetaData) GetNumRecords() uint64
- func (x *MetaData) GetSkippedRecords() uint64
- func (x *MetaData) GetTotalBytes() uint64
- func (x *MetaData) GetVersion() uint32
- func (*MetaData) ProtoMessage()
- func (x *MetaData) ProtoReflect() protoreflect.Message
- func (x *MetaData) Reset()
- func (x *MetaData) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_sstables_proto_sstable_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DataEntry ¶
type DataEntry struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
deprecated, it's unnecessary overhead to marshal the bytes once more
func (*DataEntry) Descriptor
deprecated
func (*DataEntry) ProtoMessage ¶
func (*DataEntry) ProtoMessage()
func (*DataEntry) ProtoReflect ¶ added in v1.2.0
func (x *DataEntry) ProtoReflect() protoreflect.Message
type IndexEntry ¶
type IndexEntry struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ValueOffset uint64 `protobuf:"varint,2,opt,name=valueOffset,proto3" json:"valueOffset,omitempty"` Checksum uint64 `protobuf:"varint,3,opt,name=checksum,proto3" json:"checksum,omitempty"` // a golang crc-64 checksum of the respective dataEntry // contains filtered or unexported fields }
func (*IndexEntry) Descriptor
deprecated
func (*IndexEntry) Descriptor() ([]byte, []int)
Deprecated: Use IndexEntry.ProtoReflect.Descriptor instead.
func (*IndexEntry) GetChecksum ¶ added in v1.5.0
func (x *IndexEntry) GetChecksum() uint64
func (*IndexEntry) GetKey ¶
func (x *IndexEntry) GetKey() []byte
func (*IndexEntry) GetValueOffset ¶
func (x *IndexEntry) GetValueOffset() uint64
func (*IndexEntry) ProtoMessage ¶
func (*IndexEntry) ProtoMessage()
func (*IndexEntry) ProtoReflect ¶ added in v1.2.0
func (x *IndexEntry) ProtoReflect() protoreflect.Message
func (*IndexEntry) Reset ¶
func (x *IndexEntry) Reset()
func (*IndexEntry) String ¶
func (x *IndexEntry) String() string
type MetaData ¶
type MetaData struct { NumRecords uint64 `protobuf:"varint,1,opt,name=numRecords,proto3" json:"numRecords,omitempty"` MinKey []byte `protobuf:"bytes,2,opt,name=minKey,proto3" json:"minKey,omitempty"` MaxKey []byte `protobuf:"bytes,3,opt,name=maxKey,proto3" json:"maxKey,omitempty"` DataBytes uint64 `protobuf:"varint,4,opt,name=dataBytes,proto3" json:"dataBytes,omitempty"` IndexBytes uint64 `protobuf:"varint,5,opt,name=indexBytes,proto3" json:"indexBytes,omitempty"` TotalBytes uint64 `protobuf:"varint,6,opt,name=totalBytes,proto3" json:"totalBytes,omitempty"` Version uint32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"` // currently version 1, the default is version 0 with protos as values SkippedRecords uint64 `protobuf:"varint,8,opt,name=skippedRecords,proto3" json:"skippedRecords,omitempty"` // contains filtered or unexported fields }
func (*MetaData) Descriptor
deprecated
func (*MetaData) GetDataBytes ¶ added in v1.3.0
func (*MetaData) GetIndexBytes ¶ added in v1.3.0
func (*MetaData) GetNumRecords ¶
func (*MetaData) GetSkippedRecords ¶ added in v1.5.0
func (*MetaData) GetTotalBytes ¶ added in v1.3.0
func (*MetaData) GetVersion ¶ added in v1.3.0
func (*MetaData) ProtoMessage ¶
func (*MetaData) ProtoMessage()
func (*MetaData) ProtoReflect ¶ added in v1.2.0
func (x *MetaData) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.