All Downloads are FREE. Search and download functionalities are using the official Maven repository.

t.testing.1.0.85.source-code.betterbotz.cql Maven / Gradle / Ivy

There is a newer version: 2.1.0-BETA-19
Show newest version
-- Used to create the cql schema to generate the schema.json file
-- See GraphqlTest.java

CREATE KEYSPACE IF NOT EXISTS betterbotz
WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1 };

CREATE TABLE IF NOT EXISTS betterbotz."Products" (
    id uuid,
    name text,
    price decimal,
    created timestamp,
    "prodName" text,
    "customerName" text,
    description text,
    PRIMARY KEY ((id), name, price, created)
);

CREATE TABLE IF NOT EXISTS betterbotz."Orders" (
    "prodName" text,
    "customerName" text,
    id uuid,
    "prodId" uuid,
    address text,
    description text,
    price decimal,
    "sellPrice" decimal,
    "value_int" int,
    "value_double" double,
    "value_bigint" bigint,
    "value_varint" varint,
    "value_float" float,
    "value_smallint" smallint,
    "value_tinyint" tinyint,

    PRIMARY KEY (("prodName"), "customerName")
);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy