| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- create class if not exists /test() with namespace="test"
- ;
- delete from /test/double with version
- /**
- onerror(continue,`not exist`,`not find`,`not found`)
- **/
- ;
- drop class if exists /test/double
- ;
- create class if not exists /test/double (
-
- vid bigint,
- vd0 double,
- vd1 double,
- vd2 double,
- vd3 double,
- vd4 double,
- vd5 double,
- vd6 double,
- vd7 double,
- vd8 double,
- vd9 double,
- xd0 double,
- xd1 double,
- xd2 double,
- xd3 double,
- xd4 double,
- xd5 double,
- xd6 double,
- xd7 double,
- xd8 double,
- xd9 double,
-
- indexes(vd0, vd1, vd2, vd3, vd4, vd5, vd6, vd7, vd8, vd9),
- keys(vid)
- ) with core=cassandraonly;
- cql: select * from field where namespace='test' and name in ('vd1','xd1','vd9','xd9')
- /**
- match("name", "vd1", "isindex", 1)
- match("name", "xd1", "isindex", 0)
- match("name", "vd9", "isindex", 1)
- match("name", "xd9", "isindex", 0)
- **/
- ;
|