{"id":19010303,"url":"https://github.com/railsware/hbase-driver","last_synced_at":"2025-04-22T23:13:23.719Z","repository":{"id":56876108,"uuid":"1064969","full_name":"railsware/hbase-driver","owner":"railsware","description":"Small and handy Ruby driver for HBase","archived":false,"fork":false,"pushed_at":"2011-01-08T09:21:07.000Z","size":107,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":52,"default_branch":"master","last_synced_at":"2025-04-22T23:13:18.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/railsware/hgate","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/railsware.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-09T12:55:02.000Z","updated_at":"2013-10-05T14:16:32.000Z","dependencies_parsed_at":"2022-08-20T23:10:23.742Z","dependency_job_id":null,"html_url":"https://github.com/railsware/hbase-driver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fhbase-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fhbase-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fhbase-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/railsware%2Fhbase-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/railsware","download_url":"https://codeload.github.com/railsware/hbase-driver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250337948,"owners_count":21414104,"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-11-08T19:10:47.891Z","updated_at":"2025-04-22T23:13:23.705Z","avatar_url":"https://github.com/railsware.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby driver for HBase\n\nSmall and handy Ruby driver for HBase (via Stargate RESTfull interface).\n\n# Usage\n\n**Warning:** HBase and Stargate should be installed and running.\n\n\trequire 'hbase'\n\n\thbase = HBase.new('http://localhost:8080')\n\n\t# creating table\n\thbase.create 'users'\n\n\t# listing all tables\n\tp hbase.all.collect{|t| t.name} # =\u003e ['users']\n\n\t# create record\n\tusers.update 'john', 'attr:email' =\u003e 'john@mail.com'\n\n\t# get record\n\tjohn = users['john']\n\tp john['attr:email'] # =\u003e \"john@mail.com\"    \n\n\t# update record\n\tusers.update 'john', 'attr:email' =\u003e \"another@mail.com\"\n\tp john['attr:email'] # =\u003e \"another@mail.com\"\n\n\t# deleting record\n\tusers.delete 'john'    \n\n\t# scanning\n\tusers.update 'john', 'attr:email' =\u003e 'john@mail.com'\n\tusers.update 'mario', 'attr:email' =\u003e 'mario@mail.com'\n\tusers.update 'stanley', 'attr:email' =\u003e 'stanley@mail.com'\n\n\tlist = users.scan :start =\u003e 'john', :batch =\u003e 5, :columns =\u003e ['attr:']\n\tp list.collect{|user| user['attr:email']} # =\u003e ['john@mail.com', 'mario@mail.com', 'stanley@mail.com']\n\t\n# Installation\n\n\t$ gem install ruby-driver\n\t\nFor installation of HBase and Stargate please see HBase docs (google it).\n\n**Warning:** currently HBase distributed with RESTful interface called 'rest' and it's deprecated and broken. And because it looks very similar to Stargate it's easy to mix it up. So, be aware, you need to install and use the Stargate, not default and broken HBase REST client.\n\n# Contributors\n\n- [Alexey Petrushin](http://github.com/alexeypetrushin)\n- [Dmitry Larkin](http://github.com/dml)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailsware%2Fhbase-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frailsware%2Fhbase-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailsware%2Fhbase-driver/lists"}