Package org.easycassandra.bean.model

Examples of org.easycassandra.bean.model.Log


    /**
     * run the test.
     */
    @Test
    public void insertTest() {
        Log log = new Log();
        log.setUserUUid(NICK_NAME);
        log.setUuid(NICK_NAME.concat("1"));
        Assert.assertTrue(dao.insert(log));
    }
View Full Code Here


     */
    @Test
    public void retrieveWithListIndex() {

        for (int i = 0; i < LOOP_SIZE; i++) {
            Log log = new Log();
            log.setUserUUid(NICK_NAME);
            log.setUuid(NICK_NAME.concat(String.valueOf(i)));
            dao.insert(log);
        }

        Assert.assertTrue(dao.listByIndex("user_uuid", NICK_NAME).size() == LOOP_SIZE);
    }
View Full Code Here

TOP

Related Classes of org.easycassandra.bean.model.Log

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.