util

package
v0.0.0-...-2656e40 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BtReconIDMapPrefix for ID mapping for ID-based recon. The key excludes DCID.
	BtReconIDMapPrefix = "d/5/"

	// BtCoordinateReconPrefix for coordinate recon.
	BtCoordinateReconPrefix = "d/b/"

	// BtOutPropValPrefix for out prop val.
	BtOutPropValPrefix = "d/m/"

	// BtFamily is the key for the row.
	BtFamily = "csv"

	// BtBatchQuerySize is the size of BigTable batch query.
	BtBatchQuerySize = 1000
)

Variables

This section is empty.

Functions

func GetPropVal

func GetPropVal(node *pb.McfGraph_PropertyValues, prop string) string

Get the value of a given property, assuming single value.

func UnzipAndDecode

func UnzipAndDecode(contents string) ([]byte, error)

UnzipAndDecode decompresses the given contents using gzip and decodes it from base64.

Types

This section is empty.

Jump to

Keyboard shortcuts

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