public class PrimitiveTypeInfo extends TypeInfo implements Serializable
Constructor and Description |
---|
PrimitiveTypeInfo()
For java serialization use only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
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()
Generate the hashCode for this TypeInfo.
|
void |
setTypeName(String typeName) |
String |
toString() |
accept, getQualifiedName
protected String typeName
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()
public int hashCode()
Copyright © 2017 The Apache Software Foundation. All rights reserved.