org.apache.hadoop.record.meta
Class TypeID

java.lang.Object
  extended by org.apache.hadoop.record.meta.TypeID
Direct Known Subclasses:
MapTypeID, StructTypeID, VectorTypeID

Deprecated. Replaced by Avro.

@Deprecated
@InterfaceAudience.Public
@InterfaceStability.Stable
public class TypeID
extends Object

Represents typeID for basic types.


Field Summary
static TypeID BoolTypeID
          Deprecated. Constant classes for the basic types, so we can share them.
static TypeID BufferTypeID
          Deprecated.  
static TypeID ByteTypeID
          Deprecated.  
static TypeID DoubleTypeID
          Deprecated.  
static TypeID FloatTypeID
          Deprecated.  
static TypeID IntTypeID
          Deprecated.  
static TypeID LongTypeID
          Deprecated.  
static TypeID StringTypeID
          Deprecated.  
protected  byte typeVal
          Deprecated.  
 
Method Summary
 boolean equals(Object o)
          Deprecated. Two base typeIDs are equal if they refer to the same type
 byte getTypeVal()
          Deprecated. Get the type value.
 int hashCode()
          Deprecated. 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

BoolTypeID

public static final TypeID BoolTypeID
Deprecated. 
Constant classes for the basic types, so we can share them.


BufferTypeID

public static final TypeID BufferTypeID
Deprecated. 

ByteTypeID

public static final TypeID ByteTypeID
Deprecated. 

DoubleTypeID

public static final TypeID DoubleTypeID
Deprecated. 

FloatTypeID

public static final TypeID FloatTypeID
Deprecated. 

IntTypeID

public static final TypeID IntTypeID
Deprecated. 

LongTypeID

public static final TypeID LongTypeID
Deprecated. 

StringTypeID

public static final TypeID StringTypeID
Deprecated. 

typeVal

protected byte typeVal
Deprecated. 
Method Detail

getTypeVal

public byte getTypeVal()
Deprecated. 
Get the type value. One of the constants in RIOType.


equals

public boolean equals(Object o)
Deprecated. 
Two base typeIDs are equal if they refer to the same type

Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 
We use a basic hashcode implementation, since this class will likely not be used as a hashmap key

Overrides:
hashCode in class Object


Copyright © 2012 Apache Software Foundation. All Rights Reserved.