Hi Oliver,

SchemaBuilder
<http://docs.datastax.com/en/latest-java-driver-api/com/datastax/driver/core/schemabuilder/SchemaBuilder.html>
enables building schema DDL statements like CREATE TABLE, KEYSPACE and so
on.  You can find some examples in the tests
<https://github.com/datastax/java-driver/blob/3.3.x/driver-core/src/test/java/com/datastax/driver/core/schemabuilder/CreateTest.java>
.

Thanks,
Andy

On Thu, Dec 14, 2017 at 5:16 PM Oliver Ruebenacker <cur...@gmail.com> wrote:

>
>      Hello,
>
>   I'm using the DataStax Java Driver, which has a QueryBuilder class to
> construct CQL statements. I can see how to build SELECT, INSERT, TRUNCATE
> etc statements, but I can't find how to build a CREATE statement. Am I
> missing something?
>
>   Thanks!
>
>      Best, Oliver
>
>
> --
> Oliver Ruebenacker
> Senior Software Engineer, Diabetes Portal
> <http://www.type2diabetesgenetics.org/>, Broad Institute
> <http://www.broadinstitute.org/>
>
>

Reply via email to