columnar

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0, NCSA Imports: 6 Imported by: 2

Documentation

Overview

Package columnar implements the columnar table format for a Kythe xrefs service.

Index

Constants

This section is empty.

Variables

View Source
var (
	// EdgesKeyPrefix is the common key prefix for all Kythe columnar Edges
	// key-value entries.
	EdgesKeyPrefix, _ = keys.Append(nil, "eg")
)

Functions

func DecodeEdgesEntry

func DecodeEdgesEntry(src *spb.VName, key string, val []byte) (*gspb.Edges, error)

DecodeEdgesEntry decodes a columnar Edges entry.

Types

type KV

type KV struct{ Key, Value []byte }

KV is a single columnar key-value entry.

func EncodeEdgesEntry

func EncodeEdgesEntry(keyPrefix []byte, eg *gspb.Edges) (*KV, error)

EncodeEdgesEntry encodes a columnar Edges entry.

Jump to

Keyboard shortcuts

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