|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.record.meta.TypeID
public class TypeID
Represents typeID for basic types.
Nested Class Summary | |
---|---|
static class |
TypeID.RIOType
constants representing the IDL types we support |
Field Summary | |
---|---|
static TypeID |
BoolTypeID
Constant classes for the basic types, so we can share them. |
static TypeID |
BufferTypeID
|
static TypeID |
ByteTypeID
|
static TypeID |
DoubleTypeID
|
static TypeID |
FloatTypeID
|
static TypeID |
IntTypeID
|
static TypeID |
LongTypeID
|
static TypeID |
StringTypeID
|
protected byte |
typeVal
|
Method Summary | |
---|---|
boolean |
equals(Object o)
Two base typeIDs are equal if they refer to the same type |
byte |
getTypeVal()
Get the type value. |
int |
hashCode()
We use a basic hashcode implementation, since this class will likely not be used as a hashmap key |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final TypeID BoolTypeID
public static final TypeID BufferTypeID
public static final TypeID ByteTypeID
public static final TypeID DoubleTypeID
public static final TypeID FloatTypeID
public static final TypeID IntTypeID
public static final TypeID LongTypeID
public static final TypeID StringTypeID
protected byte typeVal
Method Detail |
---|
public byte getTypeVal()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |