fb

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockOffsetAddKey

func BlockOffsetAddKey(builder *flatbuffers.Builder, key flatbuffers.UOffsetT)

func BlockOffsetAddLen

func BlockOffsetAddLen(builder *flatbuffers.Builder, len uint32)

func BlockOffsetAddOffset

func BlockOffsetAddOffset(builder *flatbuffers.Builder, offset uint32)

func BlockOffsetEnd

func BlockOffsetEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func BlockOffsetStart

func BlockOffsetStart(builder *flatbuffers.Builder)

func BlockOffsetStartKeyVector

func BlockOffsetStartKeyVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func TableIndexAddBloomFilter

func TableIndexAddBloomFilter(builder *flatbuffers.Builder, bloomFilter flatbuffers.UOffsetT)

func TableIndexAddKeyCount

func TableIndexAddKeyCount(builder *flatbuffers.Builder, keyCount uint32)

func TableIndexAddMaxVersion

func TableIndexAddMaxVersion(builder *flatbuffers.Builder, maxVersion uint64)

func TableIndexAddOffsets

func TableIndexAddOffsets(builder *flatbuffers.Builder, offsets flatbuffers.UOffsetT)

func TableIndexAddOnDiskSize

func TableIndexAddOnDiskSize(builder *flatbuffers.Builder, onDiskSize uint32)

func TableIndexAddStaleDataSize

func TableIndexAddStaleDataSize(builder *flatbuffers.Builder, staleDataSize uint32)

func TableIndexAddUncompressedSize

func TableIndexAddUncompressedSize(builder *flatbuffers.Builder, uncompressedSize uint32)

func TableIndexEnd

func TableIndexEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func TableIndexStart

func TableIndexStart(builder *flatbuffers.Builder)

func TableIndexStartBloomFilterVector

func TableIndexStartBloomFilterVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func TableIndexStartOffsetsVector

func TableIndexStartOffsetsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

Types

type BlockOffset

type BlockOffset struct {
	// contains filtered or unexported fields
}

func GetRootAsBlockOffset

func GetRootAsBlockOffset(buf []byte, offset flatbuffers.UOffsetT) *BlockOffset

func (*BlockOffset) Init

func (rcv *BlockOffset) Init(buf []byte, i flatbuffers.UOffsetT)

func (*BlockOffset) Key

func (rcv *BlockOffset) Key(j int) byte

func (*BlockOffset) KeyBytes

func (rcv *BlockOffset) KeyBytes() []byte

func (*BlockOffset) KeyLength

func (rcv *BlockOffset) KeyLength() int

func (*BlockOffset) Len

func (rcv *BlockOffset) Len() uint32

func (*BlockOffset) MutateKey

func (rcv *BlockOffset) MutateKey(j int, n byte) bool

func (*BlockOffset) MutateLen

func (rcv *BlockOffset) MutateLen(n uint32) bool

func (*BlockOffset) MutateOffset

func (rcv *BlockOffset) MutateOffset(n uint32) bool

func (*BlockOffset) Offset

func (rcv *BlockOffset) Offset() uint32

func (*BlockOffset) Table

func (rcv *BlockOffset) Table() flatbuffers.Table

type TableIndex

type TableIndex struct {
	// contains filtered or unexported fields
}

func GetRootAsTableIndex

func GetRootAsTableIndex(buf []byte, offset flatbuffers.UOffsetT) *TableIndex

func (*TableIndex) BloomFilter

func (rcv *TableIndex) BloomFilter(j int) byte

func (*TableIndex) BloomFilterBytes

func (rcv *TableIndex) BloomFilterBytes() []byte

func (*TableIndex) BloomFilterLength

func (rcv *TableIndex) BloomFilterLength() int

func (*TableIndex) Init

func (rcv *TableIndex) Init(buf []byte, i flatbuffers.UOffsetT)

func (*TableIndex) KeyCount

func (rcv *TableIndex) KeyCount() uint32

func (*TableIndex) MaxVersion

func (rcv *TableIndex) MaxVersion() uint64

func (*TableIndex) MutateBloomFilter

func (rcv *TableIndex) MutateBloomFilter(j int, n byte) bool

func (*TableIndex) MutateKeyCount

func (rcv *TableIndex) MutateKeyCount(n uint32) bool

func (*TableIndex) MutateMaxVersion

func (rcv *TableIndex) MutateMaxVersion(n uint64) bool

func (*TableIndex) MutateOnDiskSize

func (rcv *TableIndex) MutateOnDiskSize(n uint32) bool

func (*TableIndex) MutateStaleDataSize

func (rcv *TableIndex) MutateStaleDataSize(n uint32) bool

func (*TableIndex) MutateUncompressedSize

func (rcv *TableIndex) MutateUncompressedSize(n uint32) bool

func (*TableIndex) Offsets

func (rcv *TableIndex) Offsets(obj *BlockOffset, j int) bool

func (*TableIndex) OffsetsLength

func (rcv *TableIndex) OffsetsLength() int

func (*TableIndex) OnDiskSize

func (rcv *TableIndex) OnDiskSize() uint32

func (*TableIndex) StaleDataSize

func (rcv *TableIndex) StaleDataSize() uint32

func (*TableIndex) Table

func (rcv *TableIndex) Table() flatbuffers.Table

func (*TableIndex) UncompressedSize

func (rcv *TableIndex) UncompressedSize() uint32

Jump to

Keyboard shortcuts

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