Examples of timeSeriesSlice()


Examples of com.alvazan.orm.api.z3api.NoSqlTypedSession.timeSeriesSlice()

    row.addTimeValue(100, new BigDecimal(56));

    typedSession.put(colFamily, row);
    typedSession.flush();
   
    Cursor<TimeValColumn> timeVal = typedSession.timeSeriesSlice(colFamily, rowKey, 40, 60, 200);
    for(int i = 0; i < 3; i++) {
      timeVal.next();
      TimeValColumn current = timeVal.getCurrent();
      Assert.assertEquals(i*10+40, current.getTime());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.