org.apache.hadoop.record.meta
Class MapTypeID

java.lang.Object
  extended by org.apache.hadoop.record.meta.TypeID
      extended by org.apache.hadoop.record.meta.MapTypeID

Deprecated. Replaced by Avro.

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

Represents typeID for a Map


Field Summary
 
Fields inherited from class org.apache.hadoop.record.meta.TypeID
BoolTypeID, BufferTypeID, ByteTypeID, DoubleTypeID, FloatTypeID, IntTypeID, LongTypeID, StringTypeID, typeVal
 
Constructor Summary
MapTypeID(TypeID typeIDKey, TypeID typeIDValue)
          Deprecated.  
 
Method Summary
 boolean equals(Object o)
          Deprecated. Two map typeIDs are equal if their constituent elements have the same type
 TypeID getKeyTypeID()
          Deprecated. get the TypeID of the map's key element
 TypeID getValueTypeID()
          Deprecated. get the TypeID of the map's value element
 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 org.apache.hadoop.record.meta.TypeID
getTypeVal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTypeID

public MapTypeID(TypeID typeIDKey,
                 TypeID typeIDValue)
Deprecated. 
Method Detail

getKeyTypeID

public TypeID getKeyTypeID()
Deprecated. 
get the TypeID of the map's key element


getValueTypeID

public TypeID getValueTypeID()
Deprecated. 
get the TypeID of the map's value element


equals

public boolean equals(Object o)
Deprecated. 
Two map typeIDs are equal if their constituent elements have the same type

Overrides:
equals in class TypeID

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 TypeID


Copyright © 2014 Apache Software Foundation. All Rights Reserved.