Skip to content
/ jhelp Public

Some Java helping utilities including easy to use JACKSON wrapper

Notifications You must be signed in to change notification settings

gl-works/jhelp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

jhelp

Some Java helping utilities

json - streaming based mapping using jackson

###Why this is needed?###

Jackson Streaming API provides an efficient way encoding Java into JSON. Yet the efficiency comes with inconvience. On the other hand, Data Binding is more convinent while being less efficient. Still, there are cases where Jackson Data Binding might not work at all.

By this utility we introduce streaming based mapping allow application to wire their custom JSON encoding scheme easily and flexibly. All one has to do is to

  1. define Writer for your custom data type
  2. instantialize a encoding Context with your Writer defined
  3. call encode(object) on the context

###Get Started###

The Test Cases are good for get started.

  1. Check what DEFAUTL TYPES are supported.
  2. Check how to enable REFLECTED ENCODING
  3. Check how to CUSTOMIZE

Quantile Estimator

A simple & fast quantile estimation utility for arbitrary any data size. It was orginally designed to estimate HBase row-key distribution. Ideally, it can be used with any Dividable types.

Check how to use Estimator

About

Some Java helping utilities including easy to use JACKSON wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages