Package com.activequant.archive.hbase

Examples of com.activequant.archive.hbase.HBaseArchiveFactory


        this("localhost");
    }
   
    public MatlabServiceFacade(String zookeeperHost) {
        log.info("Instantiating new archive factory.");
        archiveFactory = new HBaseArchiveFactory(zookeeperHost);
        ApplicationContext appContext = new ClassPathXmlApplicationContext("fwspring.xml");
        daoFactory = (IDaoFactory) appContext.getBean("ibatisDao");
    }
View Full Code Here


*/
public class ArchiveTestCall {

  public static void main(String[] args) throws Exception{
       
      HBaseArchiveFactory fac = new HBaseArchiveFactory(args[0]);
        IArchiveReader iar = fac.getReader(TimeFrame.EOD);
        IArchiveWriter iwr = fac.getWriter(TimeFrame.EOD);
       
        TimeStamp now = new TimeStamp(new Date());
        double value = Math.random();
        iwr.write("TEST",now,"PX_SETTLE", value);
        iwr.commit();
View Full Code Here

TOP

Related Classes of com.activequant.archive.hbase.HBaseArchiveFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.