IBM Streams HBASE integration
Project description
Overview
Provides functions to access HBASE. For example, connect to Hortonworks (HDP). This package exposes the com.ibm.streamsx.hbase toolkit as Python methods.
Sample
A simple Streams application that scans a HBASE table and prints the scanned rows:
from streamsx.topology.topology import * from streamsx.topology.schema import CommonSchema, StreamSchema from streamsx.topology.context import submit import streamsx.hbase as hbase topo = Topology('hbase_scan_sample') scanned_rows = hbase.scan(topo, table_name='sample', max_versions=1 , init_delay=2) scanned_rows.print() cfg = {} cfg[streamsx.topology.context.ConfigParams.SSL_VERIFY] = False submit ('DISTRIBUTED', topo, cfg)
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamsx.hbase-1.3.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for streamsx.hbase-1.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad34801578147424f57e86e94b1373aac0d404402f45d9e63c943d7fa348bac2 |
|
MD5 | b8f3d15a6002d46056eacc44262d3c42 |
|
BLAKE2b-256 | e4fc2ffadd60095986dcf481c4da0874a0562a4c209e9f6ea7edb35ad505c4fb |