org.apache.hadoop.hive.serde2.objectinspector.primitive
Interface HiveDecimalObjectInspector
- All Superinterfaces:
- Cloneable, ObjectInspector, PrimitiveObjectInspector, PrimitiveTypeSpec
- All Known Subinterfaces:
- SettableHiveDecimalObjectInspector
- All Known Implementing Classes:
- JavaHiveDecimalObjectInspector, LazyHiveDecimalObjectInspector, WritableConstantHiveDecimalObjectInspector, WritableHiveDecimalObjectInspector
public interface HiveDecimalObjectInspector
- extends PrimitiveObjectInspector
A DecimalObjectInspector inspects an Object representing a HiveDecimal.
getPrimitiveWritableObject
HiveDecimalWritable getPrimitiveWritableObject(Object o)
- Description copied from interface:
PrimitiveObjectInspector
- Return the data in an instance of primitive writable Object. If the Object
is already a primitive writable Object, just return o.
- Specified by:
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
HiveDecimal getPrimitiveJavaObject(Object o)
- Description copied from interface:
PrimitiveObjectInspector
- Get the Java Primitive object.
- Specified by:
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
Copyright © 2012 The Apache Software Foundation