|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.PrimitiveTypeEntry
public static class PrimitiveObjectInspectorUtils.PrimitiveTypeEntry
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. |
BaseTypeParams |
typeParams
|
Class<?> |
typeParamsClass
|
Method Summary | |
---|---|
PrimitiveObjectInspectorUtils.PrimitiveTypeEntry |
addParameters(String[] parameters)
|
Object |
clone()
|
static BaseTypeParams |
createTypeParams(String typeName,
String[] parameters)
|
PrimitiveObjectInspector.PrimitiveCategory |
getPrimitiveCategory()
|
BaseTypeParams |
getTypeParams()
|
boolean |
isParameterized()
|
void |
readFields(DataInput in)
|
String |
toString()
|
void |
write(DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public PrimitiveObjectInspector.PrimitiveCategory primitiveCategory
public Class<?> primitiveJavaType
public Class<?> primitiveJavaClass
public Class<?> primitiveWritableClass
public String typeName
public Class<?> typeParamsClass
public BaseTypeParams typeParams
Method Detail |
---|
public void readFields(DataInput in) throws IOException
IOException
public void write(DataOutput out) throws IOException
IOException
public PrimitiveObjectInspectorUtils.PrimitiveTypeEntry addParameters(String[] parameters)
public boolean isParameterized()
public Object clone()
clone
in class Object
public String toString()
toString
in class Object
public static BaseTypeParams createTypeParams(String typeName, String[] parameters) throws SerDeException
SerDeException
public PrimitiveObjectInspector.PrimitiveCategory getPrimitiveCategory()
getPrimitiveCategory
in interface PrimitiveTypeSpec
public BaseTypeParams getTypeParams()
getTypeParams
in interface PrimitiveTypeSpec
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |