@DefaultCoder(value=AvroCoder.class) public class TypeCode extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
TypeCode(java.lang.String code)
Constructs a type code from the given String code.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCode()
Returns the type code of the column.
|
int |
hashCode() |
java.lang.String |
toString() |
public TypeCode(java.lang.String code)
code
- the code of the column typepublic java.lang.String getCode()
public boolean equals(@Nullable java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object