Documentation
¶
Index ¶
- Variables
- type BlockOffset
- func (*BlockOffset) Descriptor() ([]byte, []int)
- func (m *BlockOffset) GetKey() []byte
- func (m *BlockOffset) GetOffset() uint64
- func (m *BlockOffset) GetSize_() uint32
- func (m *BlockOffset) Marshal() (dAtA []byte, err error)
- func (m *BlockOffset) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockOffset) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockOffset) ProtoMessage()
- func (m *BlockOffset) Reset()
- func (m *BlockOffset) Size() (n int)
- func (m *BlockOffset) String() string
- func (m *BlockOffset) Unmarshal(dAtA []byte) error
- func (m *BlockOffset) XXX_DiscardUnknown()
- func (m *BlockOffset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockOffset) XXX_Merge(src proto.Message)
- func (m *BlockOffset) XXX_Size() int
- func (m *BlockOffset) XXX_Unmarshal(b []byte) error
- type ManifestChange
- func (*ManifestChange) Descriptor() ([]byte, []int)
- func (m *ManifestChange) GetCheckSum() []byte
- func (m *ManifestChange) GetId() uint64
- func (m *ManifestChange) GetLevelId() uint32
- func (m *ManifestChange) GetType() ManifestChange_ChangeType
- func (m *ManifestChange) Marshal() (dAtA []byte, err error)
- func (m *ManifestChange) MarshalTo(dAtA []byte) (int, error)
- func (m *ManifestChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ManifestChange) ProtoMessage()
- func (m *ManifestChange) Reset()
- func (m *ManifestChange) Size() (n int)
- func (m *ManifestChange) String() string
- func (m *ManifestChange) Unmarshal(dAtA []byte) error
- func (m *ManifestChange) XXX_DiscardUnknown()
- func (m *ManifestChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ManifestChange) XXX_Merge(src proto.Message)
- func (m *ManifestChange) XXX_Size() int
- func (m *ManifestChange) XXX_Unmarshal(b []byte) error
- type ManifestChangeSet
- func (*ManifestChangeSet) Descriptor() ([]byte, []int)
- func (m *ManifestChangeSet) GetChanges() []*ManifestChange
- func (m *ManifestChangeSet) Marshal() (dAtA []byte, err error)
- func (m *ManifestChangeSet) MarshalTo(dAtA []byte) (int, error)
- func (m *ManifestChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ManifestChangeSet) ProtoMessage()
- func (m *ManifestChangeSet) Reset()
- func (m *ManifestChangeSet) Size() (n int)
- func (m *ManifestChangeSet) String() string
- func (m *ManifestChangeSet) Unmarshal(dAtA []byte) error
- func (m *ManifestChangeSet) XXX_DiscardUnknown()
- func (m *ManifestChangeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ManifestChangeSet) XXX_Merge(src proto.Message)
- func (m *ManifestChangeSet) XXX_Size() int
- func (m *ManifestChangeSet) XXX_Unmarshal(b []byte) error
- type ManifestChange_ChangeType
- type TableIndex
- func (*TableIndex) Descriptor() ([]byte, []int)
- func (m *TableIndex) GetBloomFilter() []byte
- func (m *TableIndex) GetKeyCount() uint32
- func (m *TableIndex) GetMaxVersion() uint64
- func (m *TableIndex) GetOffsets() []*BlockOffset
- func (m *TableIndex) GetStaleDataSize() uint32
- func (m *TableIndex) Marshal() (dAtA []byte, err error)
- func (m *TableIndex) MarshalTo(dAtA []byte) (int, error)
- func (m *TableIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TableIndex) ProtoMessage()
- func (m *TableIndex) Reset()
- func (m *TableIndex) Size() (n int)
- func (m *TableIndex) String() string
- func (m *TableIndex) Unmarshal(dAtA []byte) error
- func (m *TableIndex) XXX_DiscardUnknown()
- func (m *TableIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TableIndex) XXX_Merge(src proto.Message)
- func (m *TableIndex) XXX_Size() int
- func (m *TableIndex) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTraindb = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTraindb = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTraindb = fmt.Errorf("proto: unexpected end of group") )
View Source
var ManifestChange_ChangeType_name = map[int32]string{
0: "Create",
1: "Delete",
}
View Source
var ManifestChange_ChangeType_value = map[string]int32{
"Create": 0,
"Delete": 1,
}
Functions ¶
This section is empty.
Types ¶
type BlockOffset ¶
type BlockOffset struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Size_ uint32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockOffset) Descriptor ¶
func (*BlockOffset) Descriptor() ([]byte, []int)
func (*BlockOffset) GetKey ¶
func (m *BlockOffset) GetKey() []byte
func (*BlockOffset) GetOffset ¶
func (m *BlockOffset) GetOffset() uint64
func (*BlockOffset) GetSize_ ¶
func (m *BlockOffset) GetSize_() uint32
func (*BlockOffset) Marshal ¶
func (m *BlockOffset) Marshal() (dAtA []byte, err error)
func (*BlockOffset) MarshalToSizedBuffer ¶
func (m *BlockOffset) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockOffset) ProtoMessage ¶
func (*BlockOffset) ProtoMessage()
func (*BlockOffset) Reset ¶
func (m *BlockOffset) Reset()
func (*BlockOffset) Size ¶
func (m *BlockOffset) Size() (n int)
func (*BlockOffset) String ¶
func (m *BlockOffset) String() string
func (*BlockOffset) Unmarshal ¶
func (m *BlockOffset) Unmarshal(dAtA []byte) error
func (*BlockOffset) XXX_DiscardUnknown ¶
func (m *BlockOffset) XXX_DiscardUnknown()
func (*BlockOffset) XXX_Marshal ¶
func (m *BlockOffset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockOffset) XXX_Merge ¶
func (m *BlockOffset) XXX_Merge(src proto.Message)
func (*BlockOffset) XXX_Size ¶
func (m *BlockOffset) XXX_Size() int
func (*BlockOffset) XXX_Unmarshal ¶
func (m *BlockOffset) XXX_Unmarshal(b []byte) error
type ManifestChange ¶
type ManifestChange struct { Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` Type ManifestChange_ChangeType `protobuf:"varint,2,opt,name=Type,proto3,enum=ManifestChange_ChangeType" json:"Type,omitempty"` LevelId uint32 `protobuf:"varint,3,opt,name=LevelId,proto3" json:"LevelId,omitempty"` CheckSum []byte `protobuf:"bytes,4,opt,name=CheckSum,proto3" json:"CheckSum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestChange) Descriptor ¶
func (*ManifestChange) Descriptor() ([]byte, []int)
func (*ManifestChange) GetCheckSum ¶
func (m *ManifestChange) GetCheckSum() []byte
func (*ManifestChange) GetId ¶
func (m *ManifestChange) GetId() uint64
func (*ManifestChange) GetLevelId ¶
func (m *ManifestChange) GetLevelId() uint32
func (*ManifestChange) GetType ¶
func (m *ManifestChange) GetType() ManifestChange_ChangeType
func (*ManifestChange) Marshal ¶
func (m *ManifestChange) Marshal() (dAtA []byte, err error)
func (*ManifestChange) MarshalToSizedBuffer ¶
func (m *ManifestChange) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ManifestChange) ProtoMessage ¶
func (*ManifestChange) ProtoMessage()
func (*ManifestChange) Reset ¶
func (m *ManifestChange) Reset()
func (*ManifestChange) Size ¶
func (m *ManifestChange) Size() (n int)
func (*ManifestChange) String ¶
func (m *ManifestChange) String() string
func (*ManifestChange) Unmarshal ¶
func (m *ManifestChange) Unmarshal(dAtA []byte) error
func (*ManifestChange) XXX_DiscardUnknown ¶
func (m *ManifestChange) XXX_DiscardUnknown()
func (*ManifestChange) XXX_Marshal ¶
func (m *ManifestChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestChange) XXX_Merge ¶
func (m *ManifestChange) XXX_Merge(src proto.Message)
func (*ManifestChange) XXX_Size ¶
func (m *ManifestChange) XXX_Size() int
func (*ManifestChange) XXX_Unmarshal ¶
func (m *ManifestChange) XXX_Unmarshal(b []byte) error
type ManifestChangeSet ¶
type ManifestChangeSet struct { Changes []*ManifestChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ManifestChangeSet) Descriptor ¶
func (*ManifestChangeSet) Descriptor() ([]byte, []int)
func (*ManifestChangeSet) GetChanges ¶
func (m *ManifestChangeSet) GetChanges() []*ManifestChange
func (*ManifestChangeSet) Marshal ¶
func (m *ManifestChangeSet) Marshal() (dAtA []byte, err error)
func (*ManifestChangeSet) MarshalTo ¶
func (m *ManifestChangeSet) MarshalTo(dAtA []byte) (int, error)
func (*ManifestChangeSet) MarshalToSizedBuffer ¶
func (m *ManifestChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ManifestChangeSet) ProtoMessage ¶
func (*ManifestChangeSet) ProtoMessage()
func (*ManifestChangeSet) Reset ¶
func (m *ManifestChangeSet) Reset()
func (*ManifestChangeSet) Size ¶
func (m *ManifestChangeSet) Size() (n int)
func (*ManifestChangeSet) String ¶
func (m *ManifestChangeSet) String() string
func (*ManifestChangeSet) Unmarshal ¶
func (m *ManifestChangeSet) Unmarshal(dAtA []byte) error
func (*ManifestChangeSet) XXX_DiscardUnknown ¶
func (m *ManifestChangeSet) XXX_DiscardUnknown()
func (*ManifestChangeSet) XXX_Marshal ¶
func (m *ManifestChangeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ManifestChangeSet) XXX_Merge ¶
func (m *ManifestChangeSet) XXX_Merge(src proto.Message)
func (*ManifestChangeSet) XXX_Size ¶
func (m *ManifestChangeSet) XXX_Size() int
func (*ManifestChangeSet) XXX_Unmarshal ¶
func (m *ManifestChangeSet) XXX_Unmarshal(b []byte) error
type ManifestChange_ChangeType ¶
type ManifestChange_ChangeType int32
const ( ManifestChange_Create ManifestChange_ChangeType = 0 ManifestChange_Delete ManifestChange_ChangeType = 1 )
func (ManifestChange_ChangeType) EnumDescriptor ¶
func (ManifestChange_ChangeType) EnumDescriptor() ([]byte, []int)
func (ManifestChange_ChangeType) String ¶
func (x ManifestChange_ChangeType) String() string
type TableIndex ¶
type TableIndex struct { Offsets []*BlockOffset `protobuf:"bytes,1,rep,name=offsets,proto3" json:"offsets,omitempty"` BloomFilter []byte `protobuf:"bytes,2,opt,name=bloomFilter,proto3" json:"bloomFilter,omitempty"` MaxVersion uint64 `protobuf:"varint,3,opt,name=maxVersion,proto3" json:"maxVersion,omitempty"` KeyCount uint32 `protobuf:"varint,4,opt,name=keyCount,proto3" json:"keyCount,omitempty"` StaleDataSize uint32 `protobuf:"varint,5,opt,name=staleDataSize,proto3" json:"staleDataSize,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TableIndex) Descriptor ¶
func (*TableIndex) Descriptor() ([]byte, []int)
func (*TableIndex) GetBloomFilter ¶
func (m *TableIndex) GetBloomFilter() []byte
func (*TableIndex) GetKeyCount ¶
func (m *TableIndex) GetKeyCount() uint32
func (*TableIndex) GetMaxVersion ¶
func (m *TableIndex) GetMaxVersion() uint64
func (*TableIndex) GetOffsets ¶
func (m *TableIndex) GetOffsets() []*BlockOffset
func (*TableIndex) GetStaleDataSize ¶
func (m *TableIndex) GetStaleDataSize() uint32
func (*TableIndex) Marshal ¶
func (m *TableIndex) Marshal() (dAtA []byte, err error)
func (*TableIndex) MarshalToSizedBuffer ¶
func (m *TableIndex) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TableIndex) ProtoMessage ¶
func (*TableIndex) ProtoMessage()
func (*TableIndex) Reset ¶
func (m *TableIndex) Reset()
func (*TableIndex) Size ¶
func (m *TableIndex) Size() (n int)
func (*TableIndex) String ¶
func (m *TableIndex) String() string
func (*TableIndex) Unmarshal ¶
func (m *TableIndex) Unmarshal(dAtA []byte) error
func (*TableIndex) XXX_DiscardUnknown ¶
func (m *TableIndex) XXX_DiscardUnknown()
func (*TableIndex) XXX_Marshal ¶
func (m *TableIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TableIndex) XXX_Merge ¶
func (m *TableIndex) XXX_Merge(src proto.Message)
func (*TableIndex) XXX_Size ¶
func (m *TableIndex) XXX_Size() int
func (*TableIndex) XXX_Unmarshal ¶
func (m *TableIndex) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.