2017 © Pedro Peláez
 

yii2-extension yii2-hbase

Hbase integration for the Yii framework

image

hxy2015/yii2-hbase

Hbase integration for the Yii framework

  • Wednesday, April 4, 2018
  • by hxy2015
  • Repository
  • 2 Watchers
  • 1 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 4 % Grown

The README.md

Installation

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

php composer.phar require --prefer-dist hxy2015/yii2-hbase

or add, (*3)

"hxy2015/yii2-hbase": "~1.0"

to the require section of your composer.json., (*4)

Configuration

To use this extension, you have to configure the Connection class in your application configuration:, (*5)

return [
    //....
    'components' => [
        'hbase' => [
            'class' => 'hxy2015\hbase\Connection',
            'host' => 'localhost',
            'port' => '8080',
        ],
    ]
];

Usage

存储数据, (*6)

Yii::get('hbase')->tables()->table('user')->row('12')->put('base_info:name', 'huangxiaohu');

查询数据, (*7)

# 取某一列族数据
Yii::$app->get('hbase')->tables()->table('user')->row('12')->get('base_info');

# 取某一列数据
Yii::$app->get('hbase')->tables()->table('user')->row('12')->get('base_info:name');

The Versions

04/04 2018

dev-master

9999999-dev

Hbase integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by huangxy

yii2 search hbase

04/04 2018

v1.1.1

1.1.1.0

Hbase integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by huangxy

yii2 search hbase

04/04 2018

dev-yejj

dev-yejj

Hbase integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by huangxy

yii2 search hbase

03/04 2018

1.0.1

1.0.1.0

Hbase integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by huangxy

yii2 search hbase

03/04 2018

1.1

1.1.0.0

Hbase integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by huangxy

yii2 search hbase

03/04 2018

dev-f_dev_play

dev-f_dev_play

Hbase integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by huangxy

yii2 search hbase

03/09 2017

1.0

1.0.0.0

Hbase integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

by huangxy

yii2 search hbase