Created
April 8, 2012 10:06
-
-
Save larsen/2336390 to your computer and use it in GitHub Desktop.
Excerpt from Cassandra's service description in Thrift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct Column { | |
| 1: required binary name, | |
| 2: optional binary value, | |
| 3: optional i64 timestamp, | |
| 4: optional i32 ttl, | |
| } | |
| ... | |
| service Cassandra { | |
| ... | |
| ColumnOrSuperColumn get(1:required binary key, | |
| 2:required ColumnPath column_path, | |
| 3:required ConsistencyLevel consistency_level=ConsistencyLevel.ONE) | |
| throws (1:InvalidRequestException ire, 2:NotFoundException nfe, 3:UnavailableException ue, 4:TimedOutException te), | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment