39init.mql 682 B

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