summaryrefslogtreecommitdiff
path: root/happybase
Commit message (Collapse)AuthorAgeFilesLines
* Fix outdated commentpython3Wouter Bolsterlee2016-07-281-1/+1
|
* Use byte strings and print() function in example codeWouter Bolsterlee2016-07-281-8/+9
|
* Allow table names to be specified as binary or textWouter Bolsterlee2016-07-271-7/+10
| | | | | | | | | | In HBase, the name is a byte string, but transparently encoding text using UTF-8 allows for cleaner code on the Python side. This makes code like connection.table("sometable") work on both Python 3 and 2.
* Rewrite str_increment() as bytes_increment()Wouter Bolsterlee2016-07-272-7/+9
| | | | ...and make it work on both Python 3 and 2.
* Column families are byte stringsWouter Bolsterlee2016-07-271-2/+2
| | | | ...hence require splitting using a byte string.
* Clean up helpers to transform rows and cell valuesWouter Bolsterlee2016-07-271-11/+16
|
* Add ensure_bytes() helperWouter Bolsterlee2016-07-271-0/+13
| | | | ...to coerce unicode text into UTF-8 encoded byte strings.
* Use list comprehension instead of calling map()Wouter Bolsterlee2016-07-271-5/+3
| | | | ...which behaves differently on Python 3.
* Use six.iteritems()Wouter Bolsterlee2016-07-273-5/+12
|
* Accept both text and binary for table prefix argsWouter Bolsterlee2016-07-271-2/+5
|
* Use range() instead of xrange()Wouter Bolsterlee2016-07-272-3/+5
|
* Use Python 3 compatible 'queue' importWouter Bolsterlee2016-07-271-3/+4
|
* Remove generated code from thrift "compiler"Wouter Bolsterlee2016-03-276-12540/+0
|
* Port to thriftpyWouter Bolsterlee2016-03-276-20/+21
|
* Avoid useless round-trip when using scan(limit=...)Wouter Bolsterlee2014-11-291-2/+2
| | | | See #73.
* Simplify scanner logic: always use scannerGetListWouter Bolsterlee2014-11-291-5/+2
|
* Prepare for 0.9 releaseshow0.9Wouter Bolsterlee2014-11-241-1/+1
|
* Correctly handle scanner that are smaller than expectedWouter Bolsterlee2014-11-241-5/+4
| | | | Fixes #72.
* 'versionadded' should mention 0.9, not 0.9bWouter Bolsterlee2014-10-141-1/+2
|
* Cosmetic changes to Connection docstringWouter Bolsterlee2014-10-141-3/+3
|
* Coding styleWouter Bolsterlee2014-10-141-1/+1
|
* Add 'version added'John Seekins2014-10-091-0/+2
|
* Add support for TCompactProtocolJohn Seekins2014-10-081-4/+23
|
* Regenerate stuff based on updated .thrift fileWouter Bolsterlee2014-06-203-441/+1091
|
* Update .thrift file from upstream HBase git repoWouter Bolsterlee2014-06-201-1/+51
|
* Fix inversed wording in error message about 'sorted_columns'Wouter Bolsterlee2014-05-181-1/+1
|
* Add missing 'versionadded' for scan_batching arg in docsWouter Bolsterlee2014-02-251-0/+3
|
* Add argument sanity check for Table.scan(scan_batching=...)Wouter Bolsterlee2014-02-251-0/+3
|
* Post-release version bumpWouter Bolsterlee2014-02-251-1/+1
|
* Bump version to 0.80.8Wouter Bolsterlee2014-02-251-1/+1
|
* No longer confuse batching/caching; add Table.scan(scan_batching=...)Wouter Bolsterlee2014-02-251-11/+34
| | | | | For details, see the comments added in this commit, and issues #54 and issue #56.
* Revert "Allow batch_size=None in Table.scan() to avoid filter incompatibilities"Wouter Bolsterlee2014-02-251-20/+11
| | | | | This reverts commit 8481d317804e060b12839b571ef22306074fba9c, since it is not a correct fix. See issue #56.
* Fix typo in docstringWouter Bolsterlee2014-01-251-1/+1
|
* Use 'argument' instead of 'parameter' in docstringsWouter Bolsterlee2014-01-253-50/+54
|
* Allow batch_size=None in Table.scan() to avoid filter incompatibilitiesWouter Bolsterlee2014-01-251-11/+20
| | | | | | | | Allow None as a valid value for the batch_size argument to Table.scan(), since HBase does not support specifying a batch size when some scanner filters are used. Fixes issue #54.
* Add missing arg docstrings for Table.scanWouter Bolsterlee2013-11-171-0/+2
|
* Minor cleanupsWouter Bolsterlee2013-11-171-4/+3
|
* Mention correct 'versionadded' for sorted_columnsWouter Bolsterlee2013-11-171-1/+1
|
* Add support for retrieving sorted columns in HBase >= 0.96Wouter Bolsterlee2013-11-081-6/+40
| | | | | This is possible with the HBase 0.96 Thrift API. This feature uses a new 'sorted_columns' argument to Table.scan(). Fixes issue #39.
* Add '0.96' compatibility modeWouter Bolsterlee2013-11-081-4/+3
|
* Add OrderedDict import logic with run-time error fallbackWouter Bolsterlee2013-11-081-0/+15
|
* Compatibility fixes for HBase 0.96Wouter Bolsterlee2013-11-081-2/+3
| | | | | | | | HBase 0.96.0 is more strict wrt column family names without a column qualifier. In previous versions a trailing ':' character after a column family name (e.g. 'cf1:') did not make any difference compared to the version without it (e.g. 'cf1'), but from 0.96.0 this is no longer the case...
* Post-release version bumpWouter Bolsterlee2013-11-061-1/+1
|
* Bump version to 0.70.7Wouter Bolsterlee2013-11-061-1/+1
|
* Add new "0.94" compat mode and make it the defaultWouter Bolsterlee2013-11-031-3/+5
| | | | | At this point there is no difference between 0.92 and 0.94 though, but that might change in the future.
* Bump version to 0.7devWouter Bolsterlee2013-11-031-1/+1
|
* Pass batch_size to underlying Thrift Scan instanceWouter Bolsterlee2013-11-031-0/+1
| | | | Fixes issue #38.
* Expand docs for the 'wal' arg for Batch.put() and .delete()Wouter Bolsterlee2013-11-031-3/+7
|
* Expose Mutation.writeToWAL in .put(), .delete(), and batch()Wouter Bolsterlee2013-11-032-15/+48
| | | | | | | | Various data manipulation methods on Table and Batch instances now support a 'wal' argument to influence whether the mutation is written to the Write-Ahead Log. This is only supported in recent HBase version. Fixes issue #36.
* Always delegate deletion to the Batch classWouter Bolsterlee2013-11-031-9/+2
| | | | | | This eliminates the use of the .deleteAllRow() and .deleteAllRowTs() Thrift API, both of which do not support flags to influence the WAL behaviour.