How to insert timeuuid record in cassandra version 2.1.7 using java -
how insert timeuuid record in cassandra using java
import com.datastax.driver.core.utils.uuids;
insert stmt = querybuilder.insertinto("keyspacename", "tablename") .value("timeuuidfield", uuids.timebased());
resultset rs = session.execute(stmt);
Comments
Post a Comment