php-thrift-impala:PHP Thrift Client for Impala查询

时间:2021-05-12 00:51:14
【文件属性】:
文件名称:php-thrift-impala:PHP Thrift Client for Impala查询
文件大小:174KB
文件格式:ZIP
更新时间:2021-05-12 00:51:14
PHP PHP ThriftSQL 该项目基于 。 当前支持以下引擎: 蜂巢-在HiveServer2节俭接口,SASL默认情况下启用,因此用户名和密码,必须提供然而,这可以通过关闭setSasl()方法调用之前connect() Impala-通过Impala Service Thrift接口扩展Beeswax协议。 使用范例 // Load this lib require_once __DIR__ . '/vendor/autoload.php' ; // Try out an Impala query $ impala = new \ ThriftSQL \ Impala ( 'hd-node1' ); $ impalaTables = $ impala -> connect () -> queryAndFetchAll ( 'SHOW TABLES' ); print_
【文件预览】:
php-thrift-impala-master
----.gitignore(23B)
----src()
--------ThriftExtras()
--------Thrift()
--------ThriftSQLQuery.php(399B)
--------ThriftSQL()
--------ThriftSQL.php(746B)
--------autoload_classmap.php(74KB)
--------Packages()
--------autoload.php(230B)
----LICENSE(18KB)
----composer.json(651B)
----README.md(831B)
----example.php(248B)

网友评论