package pb

Import Path
	github.com/dgraph-io/badger/v4/pb (on go.dev)

Dependency Relation
	imports 4 packages, and imported by 4 packages

Involved Source Files badgerpb4.pb.go
Package-Level Type Names (total 10)
/* sort by: | */
// For storing type of Checksum algorithm used Sum uint64 Deprecated: Use Checksum.ProtoReflect.Descriptor instead. (*Checksum) GetAlgo() Checksum_Algorithm (*Checksum) GetSum() uint64 (*Checksum) ProtoMessage() (*Checksum) ProtoReflect() protoreflect.Message (*Checksum) Reset() (*Checksum) String() string *Checksum : github.com/gogo/protobuf/proto.Message *Checksum : expvar.Var *Checksum : fmt.Stringer *Checksum : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *Checksum : google.golang.org/protobuf/runtime/protoiface.MessageV1 func github.com/dgraph-io/badger/v4/y.VerifyChecksum(data []byte, expected *Checksum) error
( Checksum_Algorithm) Descriptor() protoreflect.EnumDescriptor ( Checksum_Algorithm) Enum() *Checksum_Algorithm Deprecated: Use Checksum_Algorithm.Descriptor instead. ( Checksum_Algorithm) Number() protoreflect.EnumNumber ( Checksum_Algorithm) String() string ( Checksum_Algorithm) Type() protoreflect.EnumType Checksum_Algorithm : expvar.Var Checksum_Algorithm : fmt.Stringer Checksum_Algorithm : google.golang.org/protobuf/reflect/protoreflect.Enum func (*Checksum).GetAlgo() Checksum_Algorithm func Checksum_Algorithm.Enum() *Checksum_Algorithm func github.com/dgraph-io/badger/v4/y.CalculateChecksum(data []byte, ct Checksum_Algorithm) uint64 const Checksum_CRC32C const Checksum_XXHash64
CreatedAt int64 Data []byte Iv []byte KeyId uint64 Deprecated: Use DataKey.ProtoReflect.Descriptor instead. (*DataKey) GetCreatedAt() int64 (*DataKey) GetData() []byte (*DataKey) GetIv() []byte (*DataKey) GetKeyId() uint64 (*DataKey) ProtoMessage() (*DataKey) ProtoReflect() protoreflect.Message (*DataKey) Reset() (*DataKey) String() string *DataKey : github.com/gogo/protobuf/proto.Message *DataKey : expvar.Var *DataKey : fmt.Stringer *DataKey : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *DataKey : google.golang.org/protobuf/runtime/protoiface.MessageV1 func github.com/dgraph-io/badger/v4.(*KeyRegistry).DataKey(id uint64) (*DataKey, error) func github.com/dgraph-io/badger/v4.(*KeyRegistry).LatestDataKey() (*DataKey, error) func github.com/dgraph-io/badger/v4/table.(*Builder).DataKey() *DataKey
( EncryptionAlgo) Descriptor() protoreflect.EnumDescriptor ( EncryptionAlgo) Enum() *EncryptionAlgo Deprecated: Use EncryptionAlgo.Descriptor instead. ( EncryptionAlgo) Number() protoreflect.EnumNumber ( EncryptionAlgo) String() string ( EncryptionAlgo) Type() protoreflect.EnumType EncryptionAlgo : expvar.Var EncryptionAlgo : fmt.Stringer EncryptionAlgo : google.golang.org/protobuf/reflect/protoreflect.Enum func EncryptionAlgo.Enum() *EncryptionAlgo func (*ManifestChange).GetEncryptionAlgo() EncryptionAlgo const EncryptionAlgo_aes
ExpiresAt uint64 Key []byte Meta []byte Stream done is used to indicate end of stream. Stream id is used to identify which stream the KV came from. UserMeta []byte Value []byte Version uint64 Deprecated: Use KV.ProtoReflect.Descriptor instead. (*KV) GetExpiresAt() uint64 (*KV) GetKey() []byte (*KV) GetMeta() []byte (*KV) GetStreamDone() bool (*KV) GetStreamId() uint32 (*KV) GetUserMeta() []byte (*KV) GetValue() []byte (*KV) GetVersion() uint64 (*KV) ProtoMessage() (*KV) ProtoReflect() protoreflect.Message (*KV) Reset() (*KV) String() string *KV : github.com/gogo/protobuf/proto.Message *KV : expvar.Var *KV : fmt.Stringer *KV : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *KV : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*KVList).GetKv() []*KV func github.com/dgraph-io/badger/v4/y.NewKV(alloc *z.Allocator) *KV func github.com/dgraph-io/badger/v4.KVToBuffer(kv *KV, buf *z.Buffer) func github.com/dgraph-io/badger/v4.(*KVLoader).Set(kv *KV) error
alloc_ref used internally for memory management. Kv []*KV Deprecated: Use KVList.ProtoReflect.Descriptor instead. (*KVList) GetAllocRef() uint64 (*KVList) GetKv() []*KV (*KVList) ProtoMessage() (*KVList) ProtoReflect() protoreflect.Message (*KVList) Reset() (*KVList) String() string *KVList : github.com/gogo/protobuf/proto.Message *KVList : expvar.Var *KVList : fmt.Stringer *KVList : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *KVList : google.golang.org/protobuf/runtime/protoiface.MessageV1 func github.com/dgraph-io/badger/v4.BufferToKVList(buf *z.Buffer) (*KVList, error) func github.com/dgraph-io/badger/v4.(*Stream).ToList(key []byte, itr *badger.Iterator) (*KVList, error) func github.com/dgraph-io/badger/v4.(*WriteBatch).WriteList(kvList *KVList) error
// Only used for CREATE Op. EncryptionAlgo EncryptionAlgo // Table ID. KeyId uint64 // Only used for CREATE. Op ManifestChange_Operation Deprecated: Use ManifestChange.ProtoReflect.Descriptor instead. (*ManifestChange) GetCompression() uint32 (*ManifestChange) GetEncryptionAlgo() EncryptionAlgo (*ManifestChange) GetId() uint64 (*ManifestChange) GetKeyId() uint64 (*ManifestChange) GetLevel() uint32 (*ManifestChange) GetOp() ManifestChange_Operation (*ManifestChange) ProtoMessage() (*ManifestChange) ProtoReflect() protoreflect.Message (*ManifestChange) Reset() (*ManifestChange) String() string *ManifestChange : github.com/gogo/protobuf/proto.Message *ManifestChange : expvar.Var *ManifestChange : fmt.Stringer *ManifestChange : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *ManifestChange : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*ManifestChangeSet).GetChanges() []*ManifestChange
( ManifestChange_Operation) Descriptor() protoreflect.EnumDescriptor ( ManifestChange_Operation) Enum() *ManifestChange_Operation Deprecated: Use ManifestChange_Operation.Descriptor instead. ( ManifestChange_Operation) Number() protoreflect.EnumNumber ( ManifestChange_Operation) String() string ( ManifestChange_Operation) Type() protoreflect.EnumType ManifestChange_Operation : expvar.Var ManifestChange_Operation : fmt.Stringer ManifestChange_Operation : google.golang.org/protobuf/reflect/protoreflect.Enum func (*ManifestChange).GetOp() ManifestChange_Operation func ManifestChange_Operation.Enum() *ManifestChange_Operation const ManifestChange_CREATE const ManifestChange_DELETE
A set of changes that are applied atomically. Deprecated: Use ManifestChangeSet.ProtoReflect.Descriptor instead. (*ManifestChangeSet) GetChanges() []*ManifestChange (*ManifestChangeSet) ProtoMessage() (*ManifestChangeSet) ProtoReflect() protoreflect.Message (*ManifestChangeSet) Reset() (*ManifestChangeSet) String() string *ManifestChangeSet : github.com/gogo/protobuf/proto.Message *ManifestChangeSet : expvar.Var *ManifestChangeSet : fmt.Stringer *ManifestChangeSet : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *ManifestChangeSet : google.golang.org/protobuf/runtime/protoiface.MessageV1
// Comma separated with dash to represent ranges "1, 2-3, 4-7, 9" Prefix []byte Deprecated: Use Match.ProtoReflect.Descriptor instead. (*Match) GetIgnoreBytes() string (*Match) GetPrefix() []byte (*Match) ProtoMessage() (*Match) ProtoReflect() protoreflect.Message (*Match) Reset() (*Match) String() string *Match : github.com/gogo/protobuf/proto.Message *Match : expvar.Var *Match : fmt.Stringer *Match : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *Match : google.golang.org/protobuf/runtime/protoiface.MessageV1 func github.com/dgraph-io/badger/v4.(*DB).Subscribe(ctx context.Context, cb func(kv *badger.KVList) error, matches []Match) error func github.com/dgraph-io/badger/v4/trie.(*Trie).AddMatch(m Match, id uint64) error func github.com/dgraph-io/badger/v4/trie.(*Trie).DeleteMatch(m Match, id uint64) error
Package-Level Variables (total 7)
Enum value maps for Checksum_Algorithm.
Enum value maps for Checksum_Algorithm.
Enum value maps for EncryptionAlgo.
Enum value maps for EncryptionAlgo.
Enum value maps for ManifestChange_Operation.
Enum value maps for ManifestChange_Operation.