Skip to main content

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


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.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

streamsx.hbase-1.3.0-py2.py3-none-any.whl (12.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file streamsx.hbase-1.3.0.tar.gz.

File metadata

  • Download URL: streamsx.hbase-1.3.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for streamsx.hbase-1.3.0.tar.gz
Algorithm Hash digest
SHA256 ee948b9d9e81ce1a57c5e300586e8cedcd52649d1bd3adca58d2422ee507c171
MD5 3429df62c358572b03f012cae6d61d4f
BLAKE2b-256 f0123a0271c192954eb597d1c80edaa052078839fbcbf55d7c2c293e4f36c54c

See more details on using hashes here.

File details

Details for the file streamsx.hbase-1.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for streamsx.hbase-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b96df0908bc2699dad2d11d3281da25f74361c36cc2d3378118f0a1930028c8
MD5 d02f82adaa8db0b09b8e18594b34cae4
BLAKE2b-256 a18487957e2b900652c167a1fd28009c08b95bcaed03bcd76d8591e097c9025e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page