public static class PrimitiveObjectInspectorUtils.PrimitiveTypeEntry extends Object implements org.apache.hadoop.io.Writable, Cloneable
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
protected |
PrimitiveTypeEntry() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public PrimitiveObjectInspector.PrimitiveCategory primitiveCategory
public Class<?> primitiveJavaType
public Class<?> primitiveJavaClass
public Class<?> primitiveWritableClass
public String typeName
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.