public class JavaHiveVarcharObjectInspector extends AbstractPrimitiveJavaObjectInspector implements SettableHiveVarcharObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Constructor and Description |
---|
JavaHiveVarcharObjectInspector() |
JavaHiveVarcharObjectInspector(VarcharTypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
Object |
create(HiveVarchar value) |
int |
getMaxLength() |
HiveVarchar |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
HiveVarcharWritable |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object.
|
Object |
set(Object o,
HiveVarchar value) |
Object |
set(Object o,
String value) |
copyObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public JavaHiveVarcharObjectInspector()
public JavaHiveVarcharObjectInspector(VarcharTypeInfo typeInfo)
public HiveVarchar getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface HiveVarcharObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
in class AbstractPrimitiveJavaObjectInspector
public HiveVarcharWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface HiveVarcharObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public Object set(Object o, HiveVarchar value)
set
in interface SettableHiveVarcharObjectInspector
public Object set(Object o, String value)
set
in interface SettableHiveVarcharObjectInspector
public Object create(HiveVarchar value)
create
in interface SettableHiveVarcharObjectInspector
public int getMaxLength()
Copyright © 2017 The Apache Software Foundation. All rights reserved.