39init.mql 644 B

123456789101112131415161718192021222324252627282930313233
  1. create class if not exists /test() with namespace="test"
  2. delete from /test/foo with version
  3. /**
  4. onerror(continue)
  5. noerrinfo()
  6. **/
  7. ;
  8. drop class if exists /test/foo
  9. ;
  10. create class if not exists /test/foo (
  11. v_varchar varchar,
  12. v_text text,
  13. v_string text,
  14. v_int int,
  15. v_bigint bigint,
  16. v_double double,
  17. v_float float,
  18. v_bool bool,
  19. v_blob blob,
  20. v_set set<varchar>,
  21. v_map map<varchar,float>,
  22. v_list list<varchar>,
  23. indexes(v_varchar, v_text, v_string, v_int, v_bigint, v_double, v_float, v_bool, v_set, v_map, v_list),
  24. keys(v_varchar, v_text)
  25. ) with core=cassandraonly;