Skip to content

HBASEAPI-Demo/maprdbtablesdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MapR-DB Java API Demo

The Project has two main classes

  1. DataLoader - loads data to the mapr-db table /tables/property_global_byhour from the property_global_hour.tsv file in the resources directory

Copy the generated uber jar file to the one of the node (e.g. below in 04 node in ghq cluster)

$ java -cp `mapr classpath`:/tmp/uber-maprdbtablesdemo-0.1.jar com.mapr.demo.DataLoader

  1. Query - queries the above table for a given key range

The Query needs three parameters account id, start time and end time (time in MM/dd/yyyHH:mm:ss in GMT time)

$ java -cp `mapr classpath`:/tmp/uber-maprdbtablesdemo-0.1.jar com.mapr.demo.Query 20005 07/14/201617:00:00 07/14/201618:00:00

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages