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

Uploaded Source

Built Distribution

streamsx.hbase-1.2.0-py2.py3-none-any.whl (11.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for streamsx.hbase-1.2.0.tar.gz
Algorithm Hash digest
SHA256 0f1e08c5883626ff0e94dddae39c0163173ba041d839d4792eb8de6efe0d2265
MD5 54377e9d0bf67af1c81b0859920c6c00
BLAKE2b-256 084ba4b7d94bcf73aad83553f0517d2188a2dc32ac90fcfc5a128fe78ada4207

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamsx.hbase-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 32bb2731664299ef391037d5747eeee2e7e17b061256ca56778aa4d68454d337
MD5 e1d8053bded423fde7d71943850e8688
BLAKE2b-256 fb415ee941d37a07c1b52d6aeb2ad5eb51084831aec5e590c32bf939fcca5549

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