Skip to content

Instantly share code, notes, and snippets.

@stuhood
Created November 18, 2010 22:26
Show Gist options
  • Save stuhood/705783 to your computer and use it in GitHub Desktop.
Save stuhood/705783 to your computer and use it in GitHub Desktop.
record Column {
bytes name;
bytes value;
long timestamp;
union { int, null } ttl;
}
// becomes...
record Column {
bytes name;
bytes value;
Timestamp timestamp;
Timestamp ttl;
/* deprecated */
long @aliases(["timestamp"]) deprecated_timestamp;
union { int, null } @aliases(["ttl"]) deprecated_ttl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment