Documentation ¶
Index ¶
- Variables
- type Checksum
- type Checksum_Algorithm
- func (Checksum_Algorithm) Descriptor() protoreflect.EnumDescriptor
- func (x Checksum_Algorithm) Enum() *Checksum_Algorithm
- func (Checksum_Algorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x Checksum_Algorithm) Number() protoreflect.EnumNumber
- func (x Checksum_Algorithm) String() string
- func (Checksum_Algorithm) Type() protoreflect.EnumType
- type DataKey
- func (*DataKey) Descriptor() ([]byte, []int)deprecated
- func (x *DataKey) GetCreatedAt() int64
- func (x *DataKey) GetData() []byte
- func (x *DataKey) GetIv() []byte
- func (x *DataKey) GetKeyId() uint64
- func (*DataKey) ProtoMessage()
- func (x *DataKey) ProtoReflect() protoreflect.Message
- func (x *DataKey) Reset()
- func (x *DataKey) String() string
- type EncryptionAlgo
- func (EncryptionAlgo) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptionAlgo) Enum() *EncryptionAlgo
- func (EncryptionAlgo) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptionAlgo) Number() protoreflect.EnumNumber
- func (x EncryptionAlgo) String() string
- func (EncryptionAlgo) Type() protoreflect.EnumType
- type KV
- func (*KV) Descriptor() ([]byte, []int)deprecated
- func (x *KV) GetExpiresAt() uint64
- func (x *KV) GetKey() []byte
- func (x *KV) GetMeta() []byte
- func (x *KV) GetStreamDone() bool
- func (x *KV) GetStreamId() uint32
- func (x *KV) GetUserMeta() []byte
- func (x *KV) GetValue() []byte
- func (x *KV) GetVersion() uint64
- func (*KV) ProtoMessage()
- func (x *KV) ProtoReflect() protoreflect.Message
- func (x *KV) Reset()
- func (x *KV) String() string
- type KVList
- type ManifestChange
- func (*ManifestChange) Descriptor() ([]byte, []int)deprecated
- func (x *ManifestChange) GetCompression() uint32
- func (x *ManifestChange) GetEncryptionAlgo() EncryptionAlgo
- func (x *ManifestChange) GetId() uint64
- func (x *ManifestChange) GetKeyId() uint64
- func (x *ManifestChange) GetLevel() uint32
- func (x *ManifestChange) GetOp() ManifestChange_Operation
- func (*ManifestChange) ProtoMessage()
- func (x *ManifestChange) ProtoReflect() protoreflect.Message
- func (x *ManifestChange) Reset()
- func (x *ManifestChange) String() string
- type ManifestChangeSet
- func (*ManifestChangeSet) Descriptor() ([]byte, []int)deprecated
- func (x *ManifestChangeSet) GetChanges() []*ManifestChange
- func (*ManifestChangeSet) ProtoMessage()
- func (x *ManifestChangeSet) ProtoReflect() protoreflect.Message
- func (x *ManifestChangeSet) Reset()
- func (x *ManifestChangeSet) String() string
- type ManifestChange_Operation
- func (ManifestChange_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x ManifestChange_Operation) Enum() *ManifestChange_Operation
- func (ManifestChange_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x ManifestChange_Operation) Number() protoreflect.EnumNumber
- func (x ManifestChange_Operation) String() string
- func (ManifestChange_Operation) Type() protoreflect.EnumType
- type Match
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EncryptionAlgo_name = map[int32]string{ 0: "aes", } EncryptionAlgo_value = map[string]int32{ "aes": 0, } )
Enum value maps for EncryptionAlgo.
View Source
var ( ManifestChange_Operation_name = map[int32]string{ 0: "CREATE", 1: "DELETE", } ManifestChange_Operation_value = map[string]int32{ "CREATE": 0, "DELETE": 1, } )
Enum value maps for ManifestChange_Operation.
View Source
var ( Checksum_Algorithm_name = map[int32]string{ 0: "CRC32C", 1: "XXHash64", } Checksum_Algorithm_value = map[string]int32{ "CRC32C": 0, "XXHash64": 1, } )
Enum value maps for Checksum_Algorithm.
View Source
var File_badgerpb4_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Checksum ¶
type Checksum struct { Algo Checksum_Algorithm `protobuf:"varint,1,opt,name=algo,proto3,enum=badgerpb4.Checksum_Algorithm" json:"algo,omitempty"` // For storing type of Checksum algorithm used Sum uint64 `protobuf:"varint,2,opt,name=sum,proto3" json:"sum,omitempty"` // contains filtered or unexported fields }
func (*Checksum) Descriptor
deprecated
func (*Checksum) GetAlgo ¶
func (x *Checksum) GetAlgo() Checksum_Algorithm
func (*Checksum) ProtoMessage ¶
func (*Checksum) ProtoMessage()
func (*Checksum) ProtoReflect ¶ added in v4.5.0
func (x *Checksum) ProtoReflect() protoreflect.Message
type Checksum_Algorithm ¶
type Checksum_Algorithm int32
const ( Checksum_CRC32C Checksum_Algorithm = 0 Checksum_XXHash64 Checksum_Algorithm = 1 )
func (Checksum_Algorithm) Descriptor ¶ added in v4.5.0
func (Checksum_Algorithm) Descriptor() protoreflect.EnumDescriptor
func (Checksum_Algorithm) Enum ¶ added in v4.5.0
func (x Checksum_Algorithm) Enum() *Checksum_Algorithm
func (Checksum_Algorithm) EnumDescriptor
deprecated
func (Checksum_Algorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use Checksum_Algorithm.Descriptor instead.
func (Checksum_Algorithm) Number ¶ added in v4.5.0
func (x Checksum_Algorithm) Number() protoreflect.EnumNumber
func (Checksum_Algorithm) String ¶
func (x Checksum_Algorithm) String() string
func (Checksum_Algorithm) Type ¶ added in v4.5.0
func (Checksum_Algorithm) Type() protoreflect.EnumType
type DataKey ¶
type DataKey struct { KeyId uint64 `protobuf:"varint,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Iv []byte `protobuf:"bytes,3,opt,name=iv,proto3" json:"iv,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*DataKey) Descriptor
deprecated
func (*DataKey) GetCreatedAt ¶
func (*DataKey) ProtoMessage ¶
func (*DataKey) ProtoMessage()
func (*DataKey) ProtoReflect ¶ added in v4.5.0
func (x *DataKey) ProtoReflect() protoreflect.Message
type EncryptionAlgo ¶
type EncryptionAlgo int32
const (
EncryptionAlgo_aes EncryptionAlgo = 0
)
func (EncryptionAlgo) Descriptor ¶ added in v4.5.0
func (EncryptionAlgo) Descriptor() protoreflect.EnumDescriptor
func (EncryptionAlgo) Enum ¶ added in v4.5.0
func (x EncryptionAlgo) Enum() *EncryptionAlgo
func (EncryptionAlgo) EnumDescriptor
deprecated
func (EncryptionAlgo) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionAlgo.Descriptor instead.
func (EncryptionAlgo) Number ¶ added in v4.5.0
func (x EncryptionAlgo) Number() protoreflect.EnumNumber
func (EncryptionAlgo) String ¶
func (x EncryptionAlgo) String() string
func (EncryptionAlgo) Type ¶ added in v4.5.0
func (EncryptionAlgo) Type() protoreflect.EnumType
type KV ¶
type KV struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` UserMeta []byte `protobuf:"bytes,3,opt,name=user_meta,json=userMeta,proto3" json:"user_meta,omitempty"` Version uint64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` ExpiresAt uint64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` Meta []byte `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"` // Stream id is used to identify which stream the KV came from. StreamId uint32 `protobuf:"varint,10,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // Stream done is used to indicate end of stream. StreamDone bool `protobuf:"varint,11,opt,name=stream_done,json=streamDone,proto3" json:"stream_done,omitempty"` // contains filtered or unexported fields }
func (*KV) Descriptor
deprecated
func (*KV) GetExpiresAt ¶
func (*KV) GetStreamDone ¶
func (*KV) GetStreamId ¶
func (*KV) GetUserMeta ¶
func (*KV) GetVersion ¶
func (*KV) ProtoMessage ¶
func (*KV) ProtoMessage()
func (*KV) ProtoReflect ¶ added in v4.5.0
func (x *KV) ProtoReflect() protoreflect.Message
type KVList ¶
type KVList struct { Kv []*KV `protobuf:"bytes,1,rep,name=kv,proto3" json:"kv,omitempty"` // alloc_ref used internally for memory management. AllocRef uint64 `protobuf:"varint,10,opt,name=alloc_ref,json=allocRef,proto3" json:"alloc_ref,omitempty"` // contains filtered or unexported fields }
func (*KVList) Descriptor
deprecated
func (*KVList) GetAllocRef ¶
func (*KVList) ProtoMessage ¶
func (*KVList) ProtoMessage()
func (*KVList) ProtoReflect ¶ added in v4.5.0
func (x *KVList) ProtoReflect() protoreflect.Message
type ManifestChange ¶
type ManifestChange struct { Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // Table ID. Op ManifestChange_Operation `protobuf:"varint,2,opt,name=Op,proto3,enum=badgerpb4.ManifestChange_Operation" json:"Op,omitempty"` Level uint32 `protobuf:"varint,3,opt,name=Level,proto3" json:"Level,omitempty"` // Only used for CREATE. KeyId uint64 `protobuf:"varint,4,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` EncryptionAlgo EncryptionAlgo `` /* 134-byte string literal not displayed */ Compression uint32 `protobuf:"varint,6,opt,name=compression,proto3" json:"compression,omitempty"` // Only used for CREATE Op. // contains filtered or unexported fields }
func (*ManifestChange) Descriptor
deprecated
func (*ManifestChange) Descriptor() ([]byte, []int)
Deprecated: Use ManifestChange.ProtoReflect.Descriptor instead.
func (*ManifestChange) GetCompression ¶
func (x *ManifestChange) GetCompression() uint32
func (*ManifestChange) GetEncryptionAlgo ¶
func (x *ManifestChange) GetEncryptionAlgo() EncryptionAlgo
func (*ManifestChange) GetId ¶
func (x *ManifestChange) GetId() uint64
func (*ManifestChange) GetKeyId ¶
func (x *ManifestChange) GetKeyId() uint64
func (*ManifestChange) GetLevel ¶
func (x *ManifestChange) GetLevel() uint32
func (*ManifestChange) GetOp ¶
func (x *ManifestChange) GetOp() ManifestChange_Operation
func (*ManifestChange) ProtoMessage ¶
func (*ManifestChange) ProtoMessage()
func (*ManifestChange) ProtoReflect ¶ added in v4.5.0
func (x *ManifestChange) ProtoReflect() protoreflect.Message
func (*ManifestChange) Reset ¶
func (x *ManifestChange) Reset()
func (*ManifestChange) String ¶
func (x *ManifestChange) String() string
type ManifestChangeSet ¶
type ManifestChangeSet struct { // A set of changes that are applied atomically. Changes []*ManifestChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
func (*ManifestChangeSet) Descriptor
deprecated
func (*ManifestChangeSet) Descriptor() ([]byte, []int)
Deprecated: Use ManifestChangeSet.ProtoReflect.Descriptor instead.
func (*ManifestChangeSet) GetChanges ¶
func (x *ManifestChangeSet) GetChanges() []*ManifestChange
func (*ManifestChangeSet) ProtoMessage ¶
func (*ManifestChangeSet) ProtoMessage()
func (*ManifestChangeSet) ProtoReflect ¶ added in v4.5.0
func (x *ManifestChangeSet) ProtoReflect() protoreflect.Message
func (*ManifestChangeSet) Reset ¶
func (x *ManifestChangeSet) Reset()
func (*ManifestChangeSet) String ¶
func (x *ManifestChangeSet) String() string
type ManifestChange_Operation ¶
type ManifestChange_Operation int32
const ( ManifestChange_CREATE ManifestChange_Operation = 0 ManifestChange_DELETE ManifestChange_Operation = 1 )
func (ManifestChange_Operation) Descriptor ¶ added in v4.5.0
func (ManifestChange_Operation) Descriptor() protoreflect.EnumDescriptor
func (ManifestChange_Operation) Enum ¶ added in v4.5.0
func (x ManifestChange_Operation) Enum() *ManifestChange_Operation
func (ManifestChange_Operation) EnumDescriptor
deprecated
func (ManifestChange_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManifestChange_Operation.Descriptor instead.
func (ManifestChange_Operation) Number ¶ added in v4.5.0
func (x ManifestChange_Operation) Number() protoreflect.EnumNumber
func (ManifestChange_Operation) String ¶
func (x ManifestChange_Operation) String() string
func (ManifestChange_Operation) Type ¶ added in v4.5.0
func (ManifestChange_Operation) Type() protoreflect.EnumType
type Match ¶
type Match struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` IgnoreBytes string `protobuf:"bytes,2,opt,name=ignore_bytes,json=ignoreBytes,proto3" json:"ignore_bytes,omitempty"` // Comma separated with dash to represent ranges "1, 2-3, 4-7, 9" // contains filtered or unexported fields }
func (*Match) Descriptor
deprecated
func (*Match) GetIgnoreBytes ¶
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶ added in v4.5.0
func (x *Match) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.