1.
|
create attrdesc <attrname> as <type>
|
Create an attribute descriptor (attrdesc) with name, type. The
<type> that are supported are as follows:
- String
- Boolean
- Byte
- Char
- Short
- Int
- Long
- Float
- Double
- Number (precision, scale)
- Date
- Time
- Timestamp
|
2.
|
create [unique] index <indexname> attributes ([<attrname>]+)[on <nodetypename>]
|
Create new index in the Graph Database server with a subset of attributes and nodetype in the global set.
|
3.
|
create nodetype <nodetypename> attributes ([<attrname>]+) pkeys ([<pkeyname>]+)]
|
Create a new nodetype which uses a subset of the attributes.
|
4.
|
create directed|undirected|bidirected edgetype <edgetypename> [attributes([<attrname>]+)] [from <nodetypename>] [to <nodetypename>]
|
Create a new edgetype which uses a subset of the attributes.
|
5.
|
describe <name>
|
Display details of nodetype, edgetype, index, or attribute.
|
6.
|
show attrdesc
|
Show all attributes created in the Database.
|
7.
|
show indices
|
Show all indexes created in the Database.
|
8.
|
show types
|
Show all nodetypes and edgetypes created in the Database.
|