types

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostingAddOp

func PostingAddOp(builder *flatbuffers.Builder, op byte)

func PostingAddSource

func PostingAddSource(builder *flatbuffers.Builder, source flatbuffers.UOffsetT)

func PostingAddTs

func PostingAddTs(builder *flatbuffers.Builder, ts int64)

func PostingAddUid

func PostingAddUid(builder *flatbuffers.Builder, uid uint64)

func PostingAddValue

func PostingAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)

func PostingEnd

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

func PostingListAddCommitTs

func PostingListAddCommitTs(builder *flatbuffers.Builder, commitTs int64)

func PostingListAddPostings

func PostingListAddPostings(builder *flatbuffers.Builder, postings flatbuffers.UOffsetT)

func PostingListEnd

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

func PostingListStart

func PostingListStart(builder *flatbuffers.Builder)

func PostingListStartPostingsVector

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

func PostingStart

func PostingStart(builder *flatbuffers.Builder)

func PostingStartValueVector

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

Types

type Posting

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

func (*Posting) Init

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

func (*Posting) Op

func (rcv *Posting) Op() byte

func (*Posting) Source

func (rcv *Posting) Source() []byte

func (*Posting) Ts

func (rcv *Posting) Ts() int64

func (*Posting) Uid

func (rcv *Posting) Uid() uint64

func (*Posting) Value

func (rcv *Posting) Value(j int) byte

func (*Posting) ValueBytes

func (rcv *Posting) ValueBytes() []byte

func (*Posting) ValueLength

func (rcv *Posting) ValueLength() int

type PostingList

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

func GetRootAsPostingList

func GetRootAsPostingList(buf []byte, offset flatbuffers.UOffsetT) *PostingList

func (*PostingList) CommitTs

func (rcv *PostingList) CommitTs() int64

func (*PostingList) Init

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

func (*PostingList) Postings

func (rcv *PostingList) Postings(obj *Posting, j int) bool

func (*PostingList) PostingsLength

func (rcv *PostingList) PostingsLength() int

Jump to

Keyboard shortcuts

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