{"id":13529264,"url":"https://github.com/tsuna/gohbase","last_synced_at":"2025-05-13T19:16:22.394Z","repository":{"id":31200874,"uuid":"34761665","full_name":"tsuna/gohbase","owner":"tsuna","description":"Pure-Go HBase client","archived":false,"fork":false,"pushed_at":"2025-03-11T12:05:05.000Z","size":2120,"stargazers_count":750,"open_issues_count":45,"forks_count":217,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-04-27T20:06:08.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsuna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-28T23:39:20.000Z","updated_at":"2025-04-17T15:10:22.000Z","dependencies_parsed_at":"2023-01-14T18:32:44.815Z","dependency_job_id":"598b63c1-0bcf-416d-9cd0-185f14dc24f9","html_url":"https://github.com/tsuna/gohbase","commit_stats":{"total_commits":507,"total_committers":36,"mean_commits":"14.083333333333334","dds":0.5009861932938856,"last_synced_commit":"ce0b353129b4e831537357d5854ac59fb3d3d8d6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuna%2Fgohbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuna%2Fgohbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuna%2Fgohbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsuna%2Fgohbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsuna","download_url":"https://codeload.github.com/tsuna/gohbase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010823,"owners_count":21999003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:00:34.885Z","updated_at":"2025-05-13T19:16:22.367Z","avatar_url":"https://github.com/tsuna.png","language":"Go","funding_links":[],"categories":["开源类库","Open source library","Go","Projects"],"sub_categories":["数据库","Database","Clients"],"readme":"# Golang HBase client [![CI](https://github.com/tsuna/gohbase/actions/workflows/ci.yml/badge.svg)](https://github.com/tsuna/gohbase/actions/workflows/ci.yml) [![codecov.io](http://codecov.io/github/tsuna/gohbase/coverage.svg?branch=master)](http://codecov.io/github/tsuna/gohbase?branch=master) [![GoDoc](https://godoc.org/github.com/tsuna/gohbase?status.png)](https://godoc.org/github.com/tsuna/gohbase)\n\nThis is a pure [Go](http://golang.org/) client for [HBase](http://hbase.org).\n\nCurrent status: beta.\n\n## Supported Versions\n\nHBase \u003e= 1.0\n\n## Installation\n\n    go get github.com/tsuna/gohbase\n\n## Example Usage\n\n#### Create a client\n```go\nclient := gohbase.NewClient(\"localhost\")\n```\n#### Insert a cell\n```go\n// Values maps a ColumnFamily -\u003e Qualifiers -\u003e Values.\nvalues := map[string]map[string][]byte{\"cf\": map[string][]byte{\"a\": []byte{0}}}\nputRequest, err := hrpc.NewPutStr(context.Background(), \"table\", \"key\", values)\nrsp, err := client.Put(putRequest)\n```\n\n#### Get an entire row\n```go\ngetRequest, err := hrpc.NewGetStr(context.Background(), \"table\", \"row\")\ngetRsp, err := client.Get(getRequest)\n```\n\n#### Get a specific cell\n```go\n// Perform a get for the cell with key \"15\", column family \"cf\" and qualifier \"a\"\nfamily := map[string][]string{\"cf\": []string{\"a\"}}\ngetRequest, err := hrpc.NewGetStr(context.Background(), \"table\", \"15\",\n    hrpc.Families(family))\ngetRsp, err := client.Get(getRequest)\n```\n\n#### Get a specific cell with a filter\n```go\npFilter := filter.NewKeyOnlyFilter(true)\nfamily := map[string][]string{\"cf\": []string{\"a\"}}\ngetRequest, err := hrpc.NewGetStr(context.Background(), \"table\", \"15\",\n    hrpc.Families(family), hrpc.Filters(pFilter))\ngetRsp, err := client.Get(getRequest)\n```\n\n#### Scan with a filter\n```go\npFilter := filter.NewPrefixFilter([]byte(\"7\"))\nscanRequest, err := hrpc.NewScanStr(context.Background(), \"table\",\n\t\thrpc.Filters(pFilter))\nscanRsp, err := client.Scan(scanRequest)\n```\n\n## Contributing\n\nAny help would be appreciated. Please use Github pull requests\nto send changes for review. Please sign the\n[Contributor License Agreement](https://docs.google.com/spreadsheet/viewform?formkey=dFNiOFROLXJBbFBmMkQtb1hNMWhUUnc6MQ)\nwhen you send your first change for review.  \n\n## License\n\nCopyright © 2015 The GoHBase Authors. All rights reserved. Use of this source code is governed by the Apache License 2.0 that can be found in the [COPYING](COPYING) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuna%2Fgohbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsuna%2Fgohbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsuna%2Fgohbase/lists"}