PHPackages                             qieangel2013/hbase-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. qieangel2013/hbase-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

qieangel2013/hbase-parser
=========================

Hbase php library

3102PHP

Since Sep 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/qieangel2013/hbase-parser)[ Packagist](https://packagist.org/packages/qieangel2013/hbase-parser)[ RSS](/packages/qieangel2013-hbase-parser/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

hbase-parser
============

[](#hbase-parser)

php的操作类库，通过写sql来来查询Hbase

### composer使用

[](#composer使用)

```
{
    "require": {
        "qieangel2013/hbase-parser": "dev-master"
    }
}
composer install
require __DIR__.'/vendor/autoload.php';
// $sql= 'insert into ThridPlatform(pay_time,APP_ID,MCH_ID,IMEI,order_sn_no,order_sn_sh,user_tag,pay_type,app_type,pay_status,bank,money_type,total_amount,mach_total_amount,coupon_amount,refund_number_orderno,refund_number_sh,refund_amount,coupon_refund_amount,refund_type,refund_status,goods_name,service_charge,rate)values("2018-10-22 00:16:56","","","","20181022220014075510051173","1165640138859051","*nwt)","交易","0","SUCCESS","","","35.00","35.00","0.00","",""," 35.00","0.00","","","ORACLE触发器视频课程","-0.19","")';
$sql='select * from students' ;
$result = HbaseClient::getMethod(['HbaseParseModel','QuerySinTable'],$sql,'cf1');//需要传column family ，统一方法调用
var_dump($result);//打印结果

```

### 普通调用

[](#普通调用)

```
require_once __DIR__ .'/src/HbaseClient.php';
// $sql= 'insert into ThridPlatform(pay_time,APP_ID,MCH_ID,IMEI,order_sn_no,order_sn_sh,user_tag,pay_type,app_type,pay_status,bank,money_type,total_amount,mach_total_amount,coupon_amount,refund_number_orderno,refund_number_sh,refund_amount,coupon_refund_amount,refund_type,refund_status,goods_name,service_charge,rate)values("2018-10-22 00:16:56","","","","20181022220014075510051173","1165640138859051","*nwt)","交易","0","SUCCESS","","","35.00","35.00","0.00","",""," 35.00","0.00","","","ORACLE触发器视频课程","-0.19","")';
$sql='select * from students' ;
$result = HbaseClient::getMethod(['HbaseParseModel','QuerySinTable'],$sql,'cf1');//需要传column family ，统一方法调用
var_dump($result);//打印结果

```

### 目前支持的sql函数

[](#目前支持的sql函数)

```
*  SQL Insert
*  SQL Select

```

### TODO

[](#todo)

```
*  SQL Delete
*  SQL Update
*  SQL Where
*  SQL Order By
*  SQL Group By
*  SQL AND
*  SQL OR (多重or如:((a=1 and b=2) or (c=3 and d=4)) and e=5)
*  SQL Like
*  SQL Not Like
*  SQL Is NULL
*  SQL Is Not NULL
*  SQL COUNT distinct
*  SQL In
*  SQL Not In
*  SQL =
*  SQL !=
*  SQL
*  SQL avg()
*  SQL count()
*  SQL max()
*  SQL min()
*  SQL sum()
*  SQL Between
*  SQL Aliases
*  SQL concat_ws
*  SQL DATE_FORMATE
*  SQL Having

```

### 交流使用

[](#交流使用)

```
qq群：578276199

```

### 项目地址

[](#项目地址)

```
github：https://github.com/qieangel2013/hbase-parser
oschina：https://gitee.com/qieangel2013/hbase-parser

```

### 如果你对我的辛勤劳动给予肯定，请给我捐赠，你的捐赠是我最大的动力

[](#如果你对我的辛勤劳动给予肯定请给我捐赠你的捐赠是我最大的动力)

[![](https://github.com/qieangel2013/zys/raw/master/public/images/pw.jpg)](https://github.com/qieangel2013/zys/blob/master/public/images/pw.jpg)[![](https://github.com/qieangel2013/zys/raw/master/public/images/pay.png)](https://github.com/qieangel2013/zys/blob/master/public/images/pay.png)[项目捐赠列表](https://github.com/qieangel2013/zys/wiki/%E9%A1%B9%E7%9B%AE%E6%8D%90%E8%B5%A0)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/38d09d10c605351d9db43af0a47fef824ee3fd6f84442a1381384e272307ffae?d=identicon)[qieangel2013](/maintainers/qieangel2013)

---

Top Contributors

[![qieangel2013](https://avatars.githubusercontent.com/u/5510532?v=4)](https://github.com/qieangel2013 "qieangel2013 (9 commits)")

### Embed Badge

![Health badge](/badges/qieangel2013-hbase-parser/health.svg)

```
[![Health](https://phpackages.com/badges/qieangel2013-hbase-parser/health.svg)](https://phpackages.com/packages/qieangel2013-hbase-parser)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
