0.0
No commit activity in last 3 years
No release in over 3 years
Ruby Client SDK For Apache Phoenix.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 0.10
~> 3.1

Runtime

~> 10.4
~> 1.4
 Project Readme

ruby-phoenix

Ruby Client To Run SQL Of Apache Phoenix.

Install

Gemfile
gem 'ruby-phoenix', require: 'phoenix'

Config

1, Install Java jar file
rake phoenix:install
2, config Hbase host and port
vi config/phoenix.yml

Usage

1, define Model
class StYunosAppCenterCntNew < Phoenix::Base
end

2.1, Run SQL
sql = "select * from ST_YUNOS_APP_CENTER_CNT_NEW limit 10"
results = Phoenix::Rjb.execute(sql)

2.2, OR Use Model Like ActiveRecord
StYunosAppCenterCntNew.all

That's ALL, Enjoy It!!!