@InterfaceAudience.Public @InterfaceStability.Stable public class PrimitiveTypeInfo extends TypeInfo implements Serializable
Modifier and Type | Field and Description |
---|---|
protected PrimitiveObjectInspectorUtils.PrimitiveTypeEntry |
typeEntry |
protected String |
typeName |
Constructor and Description |
---|
PrimitiveTypeInfo()
For java serialization use only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ObjectInspector.Category |
getCategory()
Returns the category of this TypeInfo.
|
PrimitiveObjectInspector.PrimitiveCategory |
getPrimitiveCategory() |
Class<?> |
getPrimitiveJavaClass() |
PrimitiveObjectInspectorUtils.PrimitiveTypeEntry |
getPrimitiveTypeEntry() |
Class<?> |
getPrimitiveWritableClass() |
String |
getTypeName()
A String representation of the TypeInfo.
|
int |
hashCode() |
void |
setTypeName(String typeName) |
String |
toString() |
accept, getQualifiedName
protected String typeName
protected transient PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry
public ObjectInspector.Category getCategory()
getCategory
in class TypeInfo
public PrimitiveObjectInspector.PrimitiveCategory getPrimitiveCategory()
public Class<?> getPrimitiveWritableClass()
public Class<?> getPrimitiveJavaClass()
public void setTypeName(String typeName)
public String getTypeName()
TypeInfo
getTypeName
in class TypeInfo
public PrimitiveObjectInspectorUtils.PrimitiveTypeEntry getPrimitiveTypeEntry()
Copyright © 2022 The Apache Software Foundation. All rights reserved.