Skip to content

v1.4

Compare
Choose a tag to compare
@m-manu m-manu released this 15 Sep 12:04
  • [Enhancement] Row-key can now be mapped to any data type that is Comparable with itself and Serializable. In earlier versions of this library, row key could only be mapped as a String. HBRecord interface is now a generic. AbstractHBDAO class now takes two parameters (row key type and entity type), instead of one.
  • [Improvement] JacksonJsonCodec can now take your own instance of ObjectMapper
  • [Improvement] Extended documentation (Javadoc) for a large number of methods. Improved detail in exception messages.
  • [Improvement] Refactored test-cases and included more use-cases and scenarios. Test case utilities in this library can be used (copied out) as a clean wrapper around MRUnit library. They provide good snippets for writing high-quality test cases for source codes accessing HBase (Coverage: 89% method, 86% line)
  • [Change] Migrated from Java 6 to Java 7 (in line with the minimum requirements of underlying Hadoop distribution).
  • [Change] Method to delete HBase rows by objects is changed from delete(HBRecord[]) to delete(List<? extends HBRecord<R>> objects) to avoid conflict with other generic method with same type erasure (conflict arose only in this version since row key is now a generic)
  • [Change] Integrated methods in Util methods to convert String to ImmutableBytesWritable and vice-versa into HBObjectMapper class (to keep serialization logic in sync with your codec)
  • [Change] Removed container writeValueAsRowKeyResultPair methods. Alternatively, use existing methods getRowKey and writeValueAsResult.
  • [Fix] Avoided double-validation of input bean-like classes. (no change in behaviour)