public static class GenericData.EnumSymbol extends Object implements GenericEnumSymbol, Comparable<GenericEnumSymbol>
GenericEnumSymbol.| Constructor and Description |
|---|
EnumSymbol(Schema schema,
String symbol) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(GenericEnumSymbol that) |
boolean |
equals(Object o) |
Schema |
getSchema()
The schema of this instance.
|
int |
hashCode() |
String |
toString()
Return the symbol.
|
public Schema getSchema()
GenericContainergetSchema in interface GenericContainerpublic String toString()
GenericEnumSymboltoString in interface GenericEnumSymboltoString in class Objectpublic int compareTo(GenericEnumSymbol that)
compareTo in interface Comparable<GenericEnumSymbol>Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.