Hash :
87e5a376
Author :
Date :
2021-09-06T20:16:52
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
record MyRecord {
string @order("ascending") myAscendingSortField;
string @order("descending") myDescendingField;
string @order("ignore") myIgnoredField;
}
@java-class("java.util.ArrayList") array<string> myStrings;
@namespace("org.apache.avro.firstNamespace")
union { MD5, null} @aliases(["hash"]) nullableHash;
----------------------------------------------------
[
["keyword", "record"],
["class-name", "MyRecord"],
["punctuation", "{"],
["keyword", "string"],
["annotation", "@order"],
["punctuation", "("],
["string", "\"ascending\""],
["punctuation", ")"],
" myAscendingSortField",
["punctuation", ";"],
["keyword", "string"],
["annotation", "@order"],
["punctuation", "("],
["string", "\"descending\""],
["punctuation", ")"],
" myDescendingField",
["punctuation", ";"],
["keyword", "string"],
["annotation", "@order"],
["punctuation", "("],
["string", "\"ignore\""],
["punctuation", ")"],
" myIgnoredField",
["punctuation", ";"],
["punctuation", "}"],
["annotation", "@java-class"],
["punctuation", "("],
["string", "\"java.util.ArrayList\""],
["punctuation", ")"],
["keyword", "array"],
["punctuation", "<"],
["keyword", "string"],
["punctuation", ">"],
" myStrings",
["punctuation", ";"],
["annotation", "@namespace"],
["punctuation", "("],
["string", "\"org.apache.avro.firstNamespace\""],
["punctuation", ")"],
["keyword", "union"],
["punctuation", "{"],
" MD5",
["punctuation", ","],
["keyword", "null"],
["punctuation", "}"],
["annotation", "@aliases"],
["punctuation", "("],
["punctuation", "["],
["string", "\"hash\""],
["punctuation", "]"],
["punctuation", ")"],
" nullableHash",
["punctuation", ";"]
]