Documentation ¶
Index ¶
- func PostingAddOp(builder *flatbuffers.Builder, op byte)
- func PostingAddSource(builder *flatbuffers.Builder, source flatbuffers.UOffsetT)
- func PostingAddTs(builder *flatbuffers.Builder, ts int64)
- func PostingAddUid(builder *flatbuffers.Builder, uid uint64)
- func PostingAddValue(builder *flatbuffers.Builder, value flatbuffers.UOffsetT)
- func PostingEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func PostingListAddCommitTs(builder *flatbuffers.Builder, commitTs int64)
- func PostingListAddPostings(builder *flatbuffers.Builder, postings flatbuffers.UOffsetT)
- func PostingListEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func PostingListStart(builder *flatbuffers.Builder)
- func PostingListStartPostingsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func PostingStart(builder *flatbuffers.Builder)
- func PostingStartValueVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- type Posting
- func (rcv *Posting) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Posting) Op() byte
- func (rcv *Posting) Source() []byte
- func (rcv *Posting) Ts() int64
- func (rcv *Posting) Uid() uint64
- func (rcv *Posting) Value(j int) byte
- func (rcv *Posting) ValueBytes() []byte
- func (rcv *Posting) ValueLength() int
- type PostingList
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) ValueBytes ¶
func (*Posting) ValueLength ¶
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) PostingsLength ¶
func (rcv *PostingList) PostingsLength() int
Click to show internal directories.
Click to hide internal directories.