public abstract class AbstractValueInspector
extends org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
AbstractPrimitiveObjectInspector
.Modifier | Constructor and Description |
---|---|
protected |
AbstractValueInspector(org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo typeInfo)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
copyObject(Object o) |
protected abstract ValueOption<?> |
newObject()
Creates a new instance for supported
ValueOption type. |
boolean |
preferWritable() |
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
protected AbstractValueInspector(org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo typeInfo)
typeInfo
- the primitive type infopublic boolean preferWritable()
protected abstract ValueOption<?> newObject()
ValueOption
type.Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.