org.apache.hadoop.record.meta
Class StructTypeID

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

Deprecated. Replaced by Avro.

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

Represents typeID for a struct


Field Summary
 
Fields inherited from class org.apache.hadoop.record.meta.TypeID
BoolTypeID, BufferTypeID, ByteTypeID, DoubleTypeID, FloatTypeID, IntTypeID, LongTypeID, StringTypeID, typeVal
 
Constructor Summary
StructTypeID(RecordTypeInfo rti)
          Deprecated. Create a StructTypeID based on the RecordTypeInfo of some record
 
Method Summary
 boolean equals(Object o)
          Deprecated. Two base typeIDs are equal if they refer to the same type
 Collection<FieldTypeInfo> getFieldTypeInfos()
          Deprecated.  
 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

StructTypeID

public StructTypeID(RecordTypeInfo rti)
Deprecated. 
Create a StructTypeID based on the RecordTypeInfo of some record

Method Detail

getFieldTypeInfos

public Collection<FieldTypeInfo> getFieldTypeInfos()
Deprecated. 

equals

public boolean equals(Object o)
Deprecated. 
Description copied from class: TypeID
Two base typeIDs are equal if they refer to the same type

Overrides:
equals in class TypeID

hashCode

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

Overrides:
hashCode in class TypeID


Copyright © 2012 Apache Software Foundation. All Rights Reserved.