1.class.mql 485 B

12345678910111213141516171819202122
  1. create class if not exists /oktest() with namespace="oktest"
  2. ;
  3. create class /oktest/aaa (
  4. v_varchar varchar,
  5. v_text text,
  6. v_int int,
  7. v_bigint bigint,
  8. v_double double,
  9. v_float float,
  10. v_bool bool,
  11. v_blob blob,
  12. v_date date,
  13. v_timestamp timestamp,
  14. indexes(v_varchar, v_text, v_int, v_bigint, v_double, v_float, v_bool, v_date, v_timestamp),
  15. keys(v_varchar, v_date, v_timestamp)
  16. ) with core=cassandraonly;