toParsingForm) -- and fingerprints of canonical forms
(fingerprint).
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Appendable | |
| public static byte[] | |
| public static long | fingerprint64(byte[] data)
Returns the 64-bit Rabin Fingerprint (as recommended in the Avro spec) of a byte string. |
| public static byte[] | parsingFingerprint(String fpName, Schema s)
Returns |
| public static long | parsingFingerprint64(Schema s)
Returns |
| public static String |
| EMPTY64 | back to summary |
|---|---|
| pack-priv static final long EMPTY64 | |
| SchemaNormalization | back to summary |
|---|---|
| private SchemaNormalization() | |
| build | back to summary |
|---|---|
| private static Appendable build(Map<String, String> env, Schema s, Appendable o) throws IOException | |
| fingerprint | back to summary |
|---|---|
| public static byte[] fingerprint(String fpName, byte[] data) throws NoSuchAlgorithmException Returns a fingerprint of a string of bytes. This string is presumed to
contain a canonical form of a schema. The algorithm used to compute the
fingerprint is selected by the argument fpName. If fpName
equals the string
Recommended Avro practice dictates that | |
| fingerprint64 | back to summary |
|---|---|
| public static long fingerprint64(byte[] data) Returns the 64-bit Rabin Fingerprint (as recommended in the Avro spec) of a byte string. | |
| parsingFingerprint | back to summary |
|---|---|
| public static byte[] parsingFingerprint(String fpName, Schema s) throws NoSuchAlgorithmException Returns | |
| parsingFingerprint64 | back to summary |
|---|---|
| public static long parsingFingerprint64(Schema s) Returns | |
| toParsingForm | back to summary |
|---|---|
| public static String toParsingForm(Schema s) Returns "Parsing Canonical Form" of a schema as defined by Avro spec. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long[] |
| Access | Constructor and Description |
|---|---|
| private |
| FP_TABLE | back to summary |
|---|---|
| private static final long[] FP_TABLE | |
| FP64 | back to summary |
|---|---|
| private FP64() | |