@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, getQualifiedNameprotected String typeName
protected transient PrimitiveObjectInspectorUtils.PrimitiveTypeEntry typeEntry
public ObjectInspector.Category getCategory()
getCategory in class TypeInfopublic PrimitiveObjectInspector.PrimitiveCategory getPrimitiveCategory()
public Class<?> getPrimitiveWritableClass()
public Class<?> getPrimitiveJavaClass()
public void setTypeName(String typeName)
public String getTypeName()
TypeInfogetTypeName in class TypeInfopublic PrimitiveObjectInspectorUtils.PrimitiveTypeEntry getPrimitiveTypeEntry()
Copyright © 2022 The Apache Software Foundation. All rights reserved.