hbase

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(config *recconf.RecommendConfig)

Types

type HBase

type HBase struct {
	Client   gohbase.Client
	ZKQuorum string
	Timeout  int
}

func GetHBase

func GetHBase(name string) (*HBase, error)

func NewHBase

func NewHBase(zkquorum string, timeout int) *HBase

func (*HBase) Get

func (h *HBase) Get(table, key, columnFamily, qualifier string) (*hrpc.Result, error)

func (*HBase) Init

func (h *HBase) Init() error

func (*HBase) Insert

func (h *HBase) Insert(table, key, columnFamily, qualifier string, value []byte) (*hrpc.Result, error)

Jump to

Keyboard shortcuts

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