| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302 |
- insert into /test/basic3 (v_varchar, v_text, v_int, v_bigint, v_float, v_double, v_smalldouble, v_bool, v_blob)
- values ('*abc*', 'hello word 2003 123-456-789 中华人民共和国是中国的唯一合法政府,台湾是中国一部分。 Mercury, Venus2,Earch%。Mars$Uranus CeresAndJupiterOrSaturn #Neptune Pluto_Charon"\""', 5, 1234567890123456789, 1.1, 1.1234567890123456, 1.123456, true, "hello" )
- ;
- insert into /test/basic3 (v_varchar, v_text, v_int, v_bigint, v_float, v_double, v_smalldouble, v_bool)
- values ('*abc*', 'hello word 2003 123-456-789 中华人民共和国是中国的唯一合法政府,台湾是中国一部分。 Mercury, Venus2,Earch%。Mars$Uranus CeresAndJupiterOrSaturn #Neptune Pluto_Charon"\""', 4, 1234567890123456789, 1.1, 1.1234567890123456, 1.123456, true )
- ;
- insert into /test/basic3 (name) values ('hello')
- /**
- onerror(must, "primary key v_text don't exist")
- **/
- ;
- insert into /test/basic3 (v_varchar, v_text, v_int, v_bigint, v_float, v_double, v_smalldouble, v_bool)
- values ('2', 'because in both case, Cassandra guarantees that these queries performance will be proportional to the amount of data returned. In particular, if no users are born in 1981, then the second query performance will not depend of the number of user profile stored in the database (not directly at least: due to secondary index implementation consideration, this query may still depend on the number of node in the cluster, which indirectly depends on the amount of data stored. Nevertheless, the number of nodes will always be multiple number of magnitude lower than the number of user profile stored). Of course, both query may return very large result set in practice, but the amount of data returned can always be controlled by adding a LIMIT.', 2, 1234567890123456789, 1.1, 1.1234567890123456, 1.123456,false )
- ;
- insert into /test/basic3 (v_varchar, v_text, v_int, v_bigint, v_float, v_double, v_smalldouble, v_bool)
- values ('3', '{
- "id": "omdb-query-query",
- "bid": "omdb-query-query",
- "type": "json-update",
- "data": {
- "message": [
- {
- "graph": {
- "nodes": [
- {
- "_icon": "app",
- "class": "/matrix/entity/app",
- "id": "app:demoapp3",
- "name": "app:demoapp3",
- "status": 5
- },
- {
- "class": "/matrix/entity/pod",
- "id": "pod:web-demo-f6dsp"
- },
- {
- "_icon": "mysql",
- "class": "/matrix/entity/mysql",
- "id": "mysql:demodb",
- "name": "mysql:demodb",
- "status": 0
- },
- {
- "_icon": "biz",
- "class": "/matrix/entity/biz",
- "id": "biz:开发测试",
- "name": "biz:开发测试",
- "status": 4
- },
- {
- "_icon": "linux",
- "class": "/matrix/entity/linux",
- "id": "linux:node2",
- "name": "linux:node2",
- "status": 0
- },
- {
- "_icon": "mysql",
- "class": "/matrix/entity/mysql",
- "id": "mysql:appdb",
- "name": "mysql:appdb",
- "status": 0
- },
- {
- "_icon": "app",
- "class": "/matrix/entity/app",
- "id": "app:demoapp2",
- "name": "app:demoapp2",
- "status": 0
- },
- {
- "_icon": "app",
- "class": "/matrix/entity/app",
- "id": "app:tomcat-app3",
- "name": "app:tomcat-app3",
- "status": 5
- },
- {
- "_icon": "linux",
- "class": "/matrix/entity/linux",
- "id": "linux:node1",
- "name": "linux:node1",
- "status": 0
- },
- {
- "_icon": "pod",
- "class": "/matrix/entity/pod",
- "id": "pod:tomcat-pod1",
- "name": "pod:tomcat-pod1",
- "status": 4
- },
- {
- "_icon": "linux",
- "class": "/matrix/entity/linux",
- "id": "linux:node4",
- "name": "linux:node4",
- "status": 0
- },
- {
- "_icon": "app",
- "class": "/matrix/entity/app",
- "id": "app:demoapp1",
- "name": "app:demoapp1",
- "status": 0
- },
- {
- "_icon": "pod",
- "class": "/matrix/entity/pod",
- "id": "pod:mysql-demo-pod1",
- "name": "pod:mysql-demo-pod1",
- "status": 4
- },
- {
- "_icon": "pod",
- "class": "/matrix/entity/pod",
- "id": "pod:tomcat-pod2",
- "name": "pod:tomcat-pod2",
- "status": 4
- },
- {
- "class": "/matrix/entity/pod",
- "id": "pod:tomcat-pod3"
- },
- {
- "_icon": "app",
- "class": "/matrix/entity/app",
- "id": "app:tomcat-app1",
- "name": "app:tomcat-app1",
- "status": 0
- },
- {
- "_icon": "app",
- "class": "/matrix/entity/app",
- "id": "app:tomcat-app2",
- "name": "app:tomcat-app2",
- "status": 0
- },
- {
- "class": "/matrix/entity/pod",
- "id": "pod:web-demo-j6qxj"
- },
- {
- "class": "/matrix/entity/pod",
- "id": "pod:web-demo-9rfxj"
- },
- {
- "_icon": "biz",
- "class": "/matrix/entity/biz",
- "id": "biz:数字国网",
- "name": "biz:数字国网",
- "status": 4
- }
- ],
- "edges": [
- {
- "attrs": {},
- "class": "connect",
- "id": "app:demoapp1-mysql:demodb",
- "source": "app:demoapp1",
- "target": "mysql:demodb"
- },
- {
- "attrs": {},
- "class": "contain",
- "id": "biz:开发测试-app:demoapp2",
- "source": "biz:开发测试",
- "target": "app:demoapp2"
- },
- {
- "attrs": {},
- "class": "runon",
- "id": "mysql:appdb-linux:node4",
- "source": "mysql:appdb",
- "target": "linux:node4"
- },
- {
- "attrs": {},
- "class": "runon",
- "id": "mysql:demodb-pod:mysql",
- "source": "mysql:demodb",
- "target": "pod:mysql"
- },
- {
- "attrs": {},
- "class": "runon",
- "id": "app:tomcat-app2",
- "source": "app:tomcat",
- "target": "app2"
- },
- {
- "attrs": {},
- "class": "runon",
- "id": "pod:tomcat-pod2",
- "source": "pod:tomcat",
- "target": "pod2"
- },
- {
- "attrs": {},
- "class": "runon",
- "id": "app:demoapp1-pod:web",
- "source": "app:demoapp1",
- "target": "pod:web"
- },
- {
- "attrs": {},
- "class": "runon",
- "id": "pod:mysql-demo",
- "source": "pod:mysql",
- "target": "demo"
- },
- {
- "attrs": {},
- "class": "runon",
- "id": "app:demoapp2-pod:web",
- "source": "app:demoapp2",
- "target": "pod:web"
- },
- {
- "attrs": {},
- "class": "connect",
- "id": "app:demoapp3-mysql:demodb",
- "source": "app:demoapp3",
- "target": "mysql:demodb"
- },
- {
- "attrs": {},
- "class": "runon",
- "id": "app:demoapp3-pod:web",
- "source": "app:demoapp3",
- "target": "pod:web"
- },
- {
- "attrs": {
- "floatp": 3.4,
- "intp": 1
- },
- "class": "contain",
- "id": "biz:数字国网-app:tomcat",
- "source": "biz:数字国网",
- "target": "app:tomcat"
- },
- {
- "attrs": {},
- "class": "connect",
- "id": "app:tomcat-app3",
- "source": "app:tomcat",
- "target": "app3"
- },
- {
- "attrs": {},
- "class": "contain",
- "id": "biz:开发测试-app:demoapp3",
- "source": "biz:开发测试",
- "target": "app:demoapp3"
- },
- {
- "attrs": {},
- "class": "contain",
- "id": "biz:开发测试-app:demoapp1",
- "source": "biz:开发测试",
- "target": "app:demoapp1"
- },
- {
- "attrs": {},
- "class": "runon",
- "id": "pod:tomcat-pod1",
- "source": "pod:tomcat",
- "target": "pod1"
- },
- {
- "attrs": {},
- "class": "connect",
- "id": "app:tomcat-app1",
- "source": "app:tomcat",
- "target": "app1"
- },
- {
- "attrs": {},
- "class": "connect",
- "id": "app:demoapp2-mysql:demodb",
- "source": "app:demoapp2",
- "target": "mysql:demodb"
- }
- ],
- "paths": null,
- "diff": null,
- "pathtags": null
- }
- }
- ],
- "meta": {
- "type": "graph"
- },
- "status": "ok"
- }
- }', 1, 1234567890123456789, 1.1, 1.1234567890123456, 1.123456, true )
- ;
|