db

package
v0.0.0-...-c201ef6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

Deprecated: Use NewFilePB.ProtoReflect.Descriptor instead.

func (*NewFilePB) GetBaseFileSize

func (x *NewFilePB) GetBaseFileSize() uint64

func (*NewFilePB) GetImported

func (x *NewFilePB) GetImported() bool

func (*NewFilePB) GetLargest

func (x *NewFilePB) GetLargest() *BoundaryValuesPB

func (*NewFilePB) GetLevel

func (x *NewFilePB) GetLevel() uint32

func (*NewFilePB) GetMarkedForCompaction

func (x *NewFilePB) GetMarkedForCompaction() bool

func (*NewFilePB) GetNumber

func (x *NewFilePB) GetNumber() uint64

func (*NewFilePB) GetObsoleteLastOpId

func (x *NewFilePB) GetObsoleteLastOpId() *util.OpIdPB

func (*NewFilePB) GetPathId

func (x *NewFilePB) GetPathId() uint32

func (*NewFilePB) GetSmallest

func (x *NewFilePB) GetSmallest() *BoundaryValuesPB

func (*NewFilePB) GetTotalFileSize

func (x *NewFilePB) GetTotalFileSize() uint64

func (*NewFilePB) MarshalJSON

func (m *NewFilePB) MarshalJSON() ([]byte, error)

func (*NewFilePB) ProtoMessage

func (*NewFilePB) ProtoMessage()

func (*NewFilePB) ProtoReflect

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

func (*NewFilePB) Reset

func (x *NewFilePB) Reset()

func (*NewFilePB) String

func (x *NewFilePB) String() string

func (*NewFilePB) UnmarshalJSON

func (m *NewFilePB) UnmarshalJSON(b []byte) error

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

Jump to

Keyboard shortcuts

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