proto

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use DataEntry.ProtoReflect.Descriptor instead.

func (*DataEntry) GetValue

func (x *DataEntry) GetValue() []byte

func (*DataEntry) ProtoMessage

func (*DataEntry) ProtoMessage()

func (*DataEntry) ProtoReflect added in v1.2.0

func (x *DataEntry) ProtoReflect() protoreflect.Message

func (*DataEntry) Reset

func (x *DataEntry) Reset()

func (*DataEntry) String

func (x *DataEntry) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MetaData.ProtoReflect.Descriptor instead.

func (*MetaData) GetDataBytes added in v1.3.0

func (x *MetaData) GetDataBytes() uint64

func (*MetaData) GetIndexBytes added in v1.3.0

func (x *MetaData) GetIndexBytes() uint64

func (*MetaData) GetMaxKey

func (x *MetaData) GetMaxKey() []byte

func (*MetaData) GetMinKey

func (x *MetaData) GetMinKey() []byte

func (*MetaData) GetNumRecords

func (x *MetaData) GetNumRecords() uint64

func (*MetaData) GetSkippedRecords added in v1.5.0

func (x *MetaData) GetSkippedRecords() uint64

func (*MetaData) GetTotalBytes added in v1.3.0

func (x *MetaData) GetTotalBytes() uint64

func (*MetaData) GetVersion added in v1.3.0

func (x *MetaData) GetVersion() uint32

func (*MetaData) ProtoMessage

func (*MetaData) ProtoMessage()

func (*MetaData) ProtoReflect added in v1.2.0

func (x *MetaData) ProtoReflect() protoreflect.Message

func (*MetaData) Reset

func (x *MetaData) Reset()

func (*MetaData) String

func (x *MetaData) String() string

Jump to

Keyboard shortcuts

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