Package info.archinnov.achilles.test.integration.entity

Examples of info.archinnov.achilles.test.integration.entity.ClusteredEntityWithTimeUUID


    public void should_return_cql_functions_for_native_query() throws Exception {

        Long id = RandomUtils.nextLong(0, Long.MAX_VALUE);
        UUID date = UUIDGen.getTimeUUID();

        manager.insert(new ClusteredEntityWithTimeUUID(id, date, "value"));

        RegularStatement statement = select()
                .fcall("now")
                .fcall("dateOf", column("date"))
                .fcall("unixTimestampOf", column("date"))
View Full Code Here

TOP

Related Classes of info.archinnov.achilles.test.integration.entity.ClusteredEntityWithTimeUUID

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.