How to insert TimeUUID and TimeStamp with Spark Cassandra connector?
<p>I am using Spark Cassandra connector in Java to insert data. My data has a <code>timeuuid</code> and <code>timestamp</code> field. I have the following table:</p>

<pre><code>CREATE TABLE abc.log (
time_uuid timeuuid,
session_id text,
event text,
time timestamp,
sequence int,
PRIMARY KEY (customer)
);
</code></pre>

<p>I am using this code to insert: </p>

<pre><code>JavaRDD&lt;EventLog&gt; rdd = sc.parallelize(eventLogs);
    javaFunctions(rdd)
    .writerBuilder("dove", "event_log", mapToRow(EventLog.class))
    .saveToCassandra();
</code></pre>

<p>how do I insert the <code>timeuuid</code> and <code>timestamp</code> fields? Using normal insert I would just use the <code>now()</code> function, how do I do that here?</p>