org.apache.hadoop.hive.serde2.objectinspector.primitive
Class PrimitiveObjectInspectorUtils.PrimitiveTypeEntry

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.PrimitiveTypeEntry
All Implemented Interfaces:
org.apache.hadoop.io.Writable
Enclosing class:
PrimitiveObjectInspectorUtils

public static class PrimitiveObjectInspectorUtils.PrimitiveTypeEntry
extends Object
implements org.apache.hadoop.io.Writable

TypeEntry stores information about a Hive Primitive TypeInfo.


Field Summary
 PrimitiveObjectInspector.PrimitiveCategory primitiveCategory
          The category of the PrimitiveType.
 Class<?> primitiveJavaClass
          primitiveJavaClass refers to java classes like Integer, Double, String etc.
 Class<?> primitiveJavaType
          primitiveJavaType refers to java types like int, double, etc.
 Class<?> primitiveWritableClass
          writableClass refers to hadoop Writable classes like IntWritable, DoubleWritable, Text etc.
 String typeName
          typeName is the name of the type as in DDL.
 
Method Summary
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

primitiveCategory

public PrimitiveObjectInspector.PrimitiveCategory primitiveCategory
The category of the PrimitiveType.


primitiveJavaType

public Class<?> primitiveJavaType
primitiveJavaType refers to java types like int, double, etc.


primitiveJavaClass

public Class<?> primitiveJavaClass
primitiveJavaClass refers to java classes like Integer, Double, String etc.


primitiveWritableClass

public Class<?> primitiveWritableClass
writableClass refers to hadoop Writable classes like IntWritable, DoubleWritable, Text etc.


typeName

public String typeName
typeName is the name of the type as in DDL.

Method Detail

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2011 The Apache Software Foundation