yoshi | 28bac13 | 2014-01-22 11:00:17 -0800 | [diff] [blame] | 1 | package RamCloudGraph; |
| 2 | |
| 3 | option java_package = "com.tinkerpop.blueprints.impls.ramcloud"; |
| 4 | option java_outer_classname = "RamCloudGraphProtos"; |
| 5 | |
| 6 | message EdgeListProtoBuf { |
| 7 | repeated EdgeProtoBuf edge = 1; |
| 8 | } |
| 9 | |
| 10 | message EdgeProtoBuf { |
| 11 | required uint64 neighborId = 1; |
| 12 | required bool outgoing = 2; |
| 13 | required string label = 3; |
| 14 | } |
| 15 | |
| 16 | message PropertyListProtoBuf { |
| 17 | repeated PropertyProtoBuf property = 1; |
| 18 | } |
| 19 | |
| 20 | message PropertyProtoBuf { |
| 21 | enum Type { STRING = 1; INT32 = 2; INT64 = 3; DOUBLE = 4; FLOAT = 5; BOOL = 6; } |
| 22 | |
| 23 | required string key = 1; |
| 24 | |
| 25 | required Type value_type = 2; |
| 26 | |
| 27 | optional string string_value = 3; |
| 28 | optional int32 int32_value = 4; |
| 29 | optional int64 int64_value = 5; |
| 30 | optional double double_value = 6; |
| 31 | optional float float_value = 7; |
| 32 | optional bool bool_value = 8; |
| 33 | } |
| 34 | |
| 35 | message IndexBlob { |
| 36 | repeated int64 vertexId = 1; |
| 37 | } |