Documentation ¶
Index ¶
- Variables
- type BoundaryValuesPB
- func (*BoundaryValuesPB) Descriptor() ([]byte, []int)deprecated
- func (x *BoundaryValuesPB) GetKey() []byte
- func (x *BoundaryValuesPB) GetSeqno() uint64
- func (x *BoundaryValuesPB) GetUserFrontier() *anypb.Any
- func (x *BoundaryValuesPB) GetUserValues() []*UserBoundaryValuePB
- func (m *BoundaryValuesPB) MarshalJSON() ([]byte, error)
- func (*BoundaryValuesPB) ProtoMessage()
- func (x *BoundaryValuesPB) ProtoReflect() protoreflect.Message
- func (x *BoundaryValuesPB) Reset()
- func (x *BoundaryValuesPB) String() string
- func (m *BoundaryValuesPB) UnmarshalJSON(b []byte) error
- type DeletedFilePB
- func (*DeletedFilePB) Descriptor() ([]byte, []int)deprecated
- func (x *DeletedFilePB) GetFileNumber() uint64
- func (x *DeletedFilePB) GetLevel() uint32
- func (m *DeletedFilePB) MarshalJSON() ([]byte, error)
- func (*DeletedFilePB) ProtoMessage()
- func (x *DeletedFilePB) ProtoReflect() protoreflect.Message
- func (x *DeletedFilePB) Reset()
- func (x *DeletedFilePB) String() string
- func (m *DeletedFilePB) UnmarshalJSON(b []byte) error
- type NewFilePB
- func (*NewFilePB) Descriptor() ([]byte, []int)deprecated
- func (x *NewFilePB) GetBaseFileSize() uint64
- func (x *NewFilePB) GetImported() bool
- func (x *NewFilePB) GetLargest() *BoundaryValuesPB
- func (x *NewFilePB) GetLevel() uint32
- func (x *NewFilePB) GetMarkedForCompaction() bool
- func (x *NewFilePB) GetNumber() uint64
- func (x *NewFilePB) GetObsoleteLastOpId() *util.OpIdPB
- func (x *NewFilePB) GetPathId() uint32
- func (x *NewFilePB) GetSmallest() *BoundaryValuesPB
- func (x *NewFilePB) GetTotalFileSize() uint64
- func (m *NewFilePB) MarshalJSON() ([]byte, error)
- func (*NewFilePB) ProtoMessage()
- func (x *NewFilePB) ProtoReflect() protoreflect.Message
- func (x *NewFilePB) Reset()
- func (x *NewFilePB) String() string
- func (m *NewFilePB) UnmarshalJSON(b []byte) error
- type UserBoundaryValuePB
- func (*UserBoundaryValuePB) Descriptor() ([]byte, []int)deprecated
- func (x *UserBoundaryValuePB) GetData() []byte
- func (x *UserBoundaryValuePB) GetTag() uint32
- func (m *UserBoundaryValuePB) MarshalJSON() ([]byte, error)
- func (*UserBoundaryValuePB) ProtoMessage()
- func (x *UserBoundaryValuePB) ProtoReflect() protoreflect.Message
- func (x *UserBoundaryValuePB) Reset()
- func (x *UserBoundaryValuePB) String() string
- func (m *UserBoundaryValuePB) UnmarshalJSON(b []byte) error
- type VersionEditPB
- func (*VersionEditPB) Descriptor() ([]byte, []int)deprecated
- func (x *VersionEditPB) GetColumnFamily() uint32
- func (x *VersionEditPB) GetColumnFamilyName() string
- func (x *VersionEditPB) GetComparator() string
- func (x *VersionEditPB) GetDeletedFiles() []*DeletedFilePB
- func (x *VersionEditPB) GetFlushedFrontier() *anypb.Any
- func (x *VersionEditPB) GetIsColumnFamilyDrop() bool
- func (x *VersionEditPB) GetLastSequence() uint64
- func (x *VersionEditPB) GetLogNumber() uint64
- func (x *VersionEditPB) GetMaxColumnFamily() uint32
- func (x *VersionEditPB) GetNewFiles() []*NewFilePB
- func (x *VersionEditPB) GetNextFileNumber() uint64
- func (x *VersionEditPB) GetObsoleteLastOpId() *util.OpIdPB
- func (x *VersionEditPB) GetPrevLogNumber() uint64
- func (m *VersionEditPB) MarshalJSON() ([]byte, error)
- func (*VersionEditPB) ProtoMessage()
- func (x *VersionEditPB) ProtoReflect() protoreflect.Message
- func (x *VersionEditPB) Reset()
- func (x *VersionEditPB) String() string
- func (m *VersionEditPB) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_yb_rocksdb_db_version_edit_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BoundaryValuesPB ¶
type BoundaryValuesPB struct { Key []byte `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Seqno *uint64 `protobuf:"varint,2,opt,name=seqno" json:"seqno,omitempty"` UserFrontier *anypb.Any `protobuf:"bytes,4,opt,name=user_frontier,json=userFrontier" json:"user_frontier,omitempty"` UserValues []*UserBoundaryValuePB `protobuf:"bytes,3,rep,name=user_values,json=userValues" json:"user_values,omitempty"` // contains filtered or unexported fields }
func (*BoundaryValuesPB) Descriptor
deprecated
func (*BoundaryValuesPB) Descriptor() ([]byte, []int)
Deprecated: Use BoundaryValuesPB.ProtoReflect.Descriptor instead.
func (*BoundaryValuesPB) GetKey ¶
func (x *BoundaryValuesPB) GetKey() []byte
func (*BoundaryValuesPB) GetSeqno ¶
func (x *BoundaryValuesPB) GetSeqno() uint64
func (*BoundaryValuesPB) GetUserFrontier ¶
func (x *BoundaryValuesPB) GetUserFrontier() *anypb.Any
func (*BoundaryValuesPB) GetUserValues ¶
func (x *BoundaryValuesPB) GetUserValues() []*UserBoundaryValuePB
func (*BoundaryValuesPB) MarshalJSON ¶
func (m *BoundaryValuesPB) MarshalJSON() ([]byte, error)
func (*BoundaryValuesPB) ProtoMessage ¶
func (*BoundaryValuesPB) ProtoMessage()
func (*BoundaryValuesPB) ProtoReflect ¶
func (x *BoundaryValuesPB) ProtoReflect() protoreflect.Message
func (*BoundaryValuesPB) Reset ¶
func (x *BoundaryValuesPB) Reset()
func (*BoundaryValuesPB) String ¶
func (x *BoundaryValuesPB) String() string
func (*BoundaryValuesPB) UnmarshalJSON ¶
func (m *BoundaryValuesPB) UnmarshalJSON(b []byte) error
type DeletedFilePB ¶
type DeletedFilePB struct { Level *uint32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"` FileNumber *uint64 `protobuf:"varint,2,opt,name=file_number,json=fileNumber" json:"file_number,omitempty"` // contains filtered or unexported fields }
func (*DeletedFilePB) Descriptor
deprecated
func (*DeletedFilePB) Descriptor() ([]byte, []int)
Deprecated: Use DeletedFilePB.ProtoReflect.Descriptor instead.
func (*DeletedFilePB) GetFileNumber ¶
func (x *DeletedFilePB) GetFileNumber() uint64
func (*DeletedFilePB) GetLevel ¶
func (x *DeletedFilePB) GetLevel() uint32
func (*DeletedFilePB) MarshalJSON ¶
func (m *DeletedFilePB) MarshalJSON() ([]byte, error)
func (*DeletedFilePB) ProtoMessage ¶
func (*DeletedFilePB) ProtoMessage()
func (*DeletedFilePB) ProtoReflect ¶
func (x *DeletedFilePB) ProtoReflect() protoreflect.Message
func (*DeletedFilePB) Reset ¶
func (x *DeletedFilePB) Reset()
func (*DeletedFilePB) String ¶
func (x *DeletedFilePB) String() string
func (*DeletedFilePB) UnmarshalJSON ¶
func (m *DeletedFilePB) UnmarshalJSON(b []byte) error
type NewFilePB ¶
type NewFilePB struct { Level *uint32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"` Number *uint64 `protobuf:"varint,2,opt,name=number" json:"number,omitempty"` TotalFileSize *uint64 `protobuf:"varint,3,opt,name=total_file_size,json=totalFileSize" json:"total_file_size,omitempty"` BaseFileSize *uint64 `protobuf:"varint,4,opt,name=base_file_size,json=baseFileSize" json:"base_file_size,omitempty"` Smallest *BoundaryValuesPB `protobuf:"bytes,5,opt,name=smallest" json:"smallest,omitempty"` Largest *BoundaryValuesPB `protobuf:"bytes,6,opt,name=largest" json:"largest,omitempty"` PathId *uint32 `protobuf:"varint,7,opt,name=path_id,json=pathId" json:"path_id,omitempty"` MarkedForCompaction *bool `protobuf:"varint,8,opt,name=marked_for_compaction,json=markedForCompaction" json:"marked_for_compaction,omitempty"` ObsoleteLastOpId *util.OpIdPB `protobuf:"bytes,9,opt,name=obsolete_last_op_id,json=obsoleteLastOpId" json:"obsolete_last_op_id,omitempty"` Imported *bool `protobuf:"varint,10,opt,name=imported" json:"imported,omitempty"` // contains filtered or unexported fields }
func (*NewFilePB) Descriptor
deprecated
func (*NewFilePB) GetBaseFileSize ¶
func (*NewFilePB) GetImported ¶
func (*NewFilePB) GetLargest ¶
func (x *NewFilePB) GetLargest() *BoundaryValuesPB
func (*NewFilePB) GetMarkedForCompaction ¶
func (*NewFilePB) GetObsoleteLastOpId ¶
func (*NewFilePB) GetSmallest ¶
func (x *NewFilePB) GetSmallest() *BoundaryValuesPB
func (*NewFilePB) GetTotalFileSize ¶
func (*NewFilePB) MarshalJSON ¶
func (*NewFilePB) ProtoMessage ¶
func (*NewFilePB) ProtoMessage()
func (*NewFilePB) ProtoReflect ¶
func (x *NewFilePB) ProtoReflect() protoreflect.Message
func (*NewFilePB) UnmarshalJSON ¶
type UserBoundaryValuePB ¶
type UserBoundaryValuePB struct { // When we merge boundary values from different sources tag is used to find corresponding values. // After that we compare those values and preserve smallest/largest of them. Tag *uint32 `protobuf:"varint,1,opt,name=tag" json:"tag,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UserBoundaryValuePB) Descriptor
deprecated
func (*UserBoundaryValuePB) Descriptor() ([]byte, []int)
Deprecated: Use UserBoundaryValuePB.ProtoReflect.Descriptor instead.
func (*UserBoundaryValuePB) GetData ¶
func (x *UserBoundaryValuePB) GetData() []byte
func (*UserBoundaryValuePB) GetTag ¶
func (x *UserBoundaryValuePB) GetTag() uint32
func (*UserBoundaryValuePB) MarshalJSON ¶
func (m *UserBoundaryValuePB) MarshalJSON() ([]byte, error)
func (*UserBoundaryValuePB) ProtoMessage ¶
func (*UserBoundaryValuePB) ProtoMessage()
func (*UserBoundaryValuePB) ProtoReflect ¶
func (x *UserBoundaryValuePB) ProtoReflect() protoreflect.Message
func (*UserBoundaryValuePB) Reset ¶
func (x *UserBoundaryValuePB) Reset()
func (*UserBoundaryValuePB) String ¶
func (x *UserBoundaryValuePB) String() string
func (*UserBoundaryValuePB) UnmarshalJSON ¶
func (m *UserBoundaryValuePB) UnmarshalJSON(b []byte) error
type VersionEditPB ¶
type VersionEditPB struct { Comparator *string `protobuf:"bytes,1,opt,name=comparator" json:"comparator,omitempty"` LogNumber *uint64 `protobuf:"varint,2,opt,name=log_number,json=logNumber" json:"log_number,omitempty"` PrevLogNumber *uint64 `protobuf:"varint,3,opt,name=prev_log_number,json=prevLogNumber" json:"prev_log_number,omitempty"` NextFileNumber *uint64 `protobuf:"varint,4,opt,name=next_file_number,json=nextFileNumber" json:"next_file_number,omitempty"` MaxColumnFamily *uint32 `protobuf:"varint,5,opt,name=max_column_family,json=maxColumnFamily" json:"max_column_family,omitempty"` LastSequence *uint64 `protobuf:"varint,6,opt,name=last_sequence,json=lastSequence" json:"last_sequence,omitempty"` DeletedFiles []*DeletedFilePB `protobuf:"bytes,7,rep,name=deleted_files,json=deletedFiles" json:"deleted_files,omitempty"` NewFiles []*NewFilePB `protobuf:"bytes,8,rep,name=new_files,json=newFiles" json:"new_files,omitempty"` // Each version edit record should have column_family_id set // If it's not set, it is default (0) ColumnFamily *uint32 `protobuf:"varint,9,opt,name=column_family,json=columnFamily" json:"column_family,omitempty"` // a version edit can be either column_family add or // column_family drop. If it's column family add, // it includes column family name. ColumnFamilyName *string `protobuf:"bytes,10,opt,name=column_family_name,json=columnFamilyName" json:"column_family_name,omitempty"` IsColumnFamilyDrop *bool `protobuf:"varint,11,opt,name=is_column_family_drop,json=isColumnFamilyDrop" json:"is_column_family_drop,omitempty"` ObsoleteLastOpId *util.OpIdPB `protobuf:"bytes,12,opt,name=obsolete_last_op_id,json=obsoleteLastOpId" json:"obsolete_last_op_id,omitempty"` FlushedFrontier *anypb.Any `protobuf:"bytes,13,opt,name=flushed_frontier,json=flushedFrontier" json:"flushed_frontier,omitempty"` // contains filtered or unexported fields }
func (*VersionEditPB) Descriptor
deprecated
func (*VersionEditPB) Descriptor() ([]byte, []int)
Deprecated: Use VersionEditPB.ProtoReflect.Descriptor instead.
func (*VersionEditPB) GetColumnFamily ¶
func (x *VersionEditPB) GetColumnFamily() uint32
func (*VersionEditPB) GetColumnFamilyName ¶
func (x *VersionEditPB) GetColumnFamilyName() string
func (*VersionEditPB) GetComparator ¶
func (x *VersionEditPB) GetComparator() string
func (*VersionEditPB) GetDeletedFiles ¶
func (x *VersionEditPB) GetDeletedFiles() []*DeletedFilePB
func (*VersionEditPB) GetFlushedFrontier ¶
func (x *VersionEditPB) GetFlushedFrontier() *anypb.Any
func (*VersionEditPB) GetIsColumnFamilyDrop ¶
func (x *VersionEditPB) GetIsColumnFamilyDrop() bool
func (*VersionEditPB) GetLastSequence ¶
func (x *VersionEditPB) GetLastSequence() uint64
func (*VersionEditPB) GetLogNumber ¶
func (x *VersionEditPB) GetLogNumber() uint64
func (*VersionEditPB) GetMaxColumnFamily ¶
func (x *VersionEditPB) GetMaxColumnFamily() uint32
func (*VersionEditPB) GetNewFiles ¶
func (x *VersionEditPB) GetNewFiles() []*NewFilePB
func (*VersionEditPB) GetNextFileNumber ¶
func (x *VersionEditPB) GetNextFileNumber() uint64
func (*VersionEditPB) GetObsoleteLastOpId ¶
func (x *VersionEditPB) GetObsoleteLastOpId() *util.OpIdPB
func (*VersionEditPB) GetPrevLogNumber ¶
func (x *VersionEditPB) GetPrevLogNumber() uint64
func (*VersionEditPB) MarshalJSON ¶
func (m *VersionEditPB) MarshalJSON() ([]byte, error)
func (*VersionEditPB) ProtoMessage ¶
func (*VersionEditPB) ProtoMessage()
func (*VersionEditPB) ProtoReflect ¶
func (x *VersionEditPB) ProtoReflect() protoreflect.Message
func (*VersionEditPB) Reset ¶
func (x *VersionEditPB) Reset()
func (*VersionEditPB) String ¶
func (x *VersionEditPB) String() string
func (*VersionEditPB) UnmarshalJSON ¶
func (m *VersionEditPB) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.