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

Uploaded Source

Built Distribution

streamsx.hbase-1.1.0-py2.py3-none-any.whl (11.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for streamsx.hbase-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5560079231f909f19ec5ffb1782487aa545b6687ad007dabf8d321b24fb30924
MD5 42a6fd1fdecb931c9186d46c90566a89
BLAKE2b-256 7a945343be69ce519222e224954c5b76bd9665ae19e1e50bc5e6c032561a0a2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamsx.hbase-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd4db86a467f04808491f4e1614a790fbbb357d0ea39c53ae9b69ed0b8c33eb7
MD5 538661e7ca13816eb342c7019bf86e33
BLAKE2b-256 a16714520fe747bf05192a4ad97cfc042a162940344160b99b0820cf9984aa4f

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