proto

package
v3.32.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0, Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultSerializer = Serializer{}
	RoaringSerializer = Serializer{RoaringRows: true}
)

Functions

This section is empty.

Types

type Serializer

type Serializer struct {
	RoaringRows bool
}

Serializer implements pilosa.Serializer for protobufs.

func (Serializer) Marshal

func (s Serializer) Marshal(m pilosa.Message) ([]byte, error)

Marshal turns pilosa messages into protobuf serialized bytes.

func (Serializer) Unmarshal

func (s Serializer) Unmarshal(buf []byte, m pilosa.Message) error

Unmarshal takes byte slices and protobuf deserializes them into a pilosa Message.

Jump to

Keyboard shortcuts

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