public VALUETO encodeFromJava(VALUEFROM javaValue, Optional<CassandraOptions> cassandraOptions) {
        if (javaValue == null) return null;
        return encodeFromJavaInternal(javaValue, cassandraOptions);
    }
public VALUETO encodeFromJava ( VALUEFROM javaValue , Optional < CassandraOptions > cassandraOptions ) { if ( javaValue == null ) return null ; return encodeFromJavaInternal ( javaValue , cassandraOptions ) ; }
Encode given java value to CQL-compatible value using Achilles codec system and a CassandraOptions
containing a runtime SchemaNameProvider. Use the
<br/>
<br/>
<pre class="code"><code class="java">
CassandraOptions.withSchemaNameProvider(SchemaNameProvider provider)
</code></pre>
<br/>
static method to build such a CassandraOptions instance
@param javaValue
@param cassandraOptions
@return