如何使用java
在cassandra中插入timeuuid记录答案 0 :(得分:2)
import com.datastax.driver.core.utils.UUIDs;
插入stmt = QueryBuilder.insertInto(" keyspaceName"," tableName") .value(" timeUuidField",UUIDs.timeBased());
ResultSet rs = session.execute(stmt);