public class WritableConstantHiveDecimalObjectInspector extends WritableHiveDecimalObjectInspector implements ConstantObjectInspector
ObjectInspector.Category
PrimitiveObjectInspector.PrimitiveCategory
typeInfo
Modifier | Constructor and Description |
---|---|
protected |
WritableConstantHiveDecimalObjectInspector() |
Modifier and Type | Method and Description |
---|---|
HiveDecimalWritable |
getWritableConstantValue() |
int |
precision()
Default implementation.
|
int |
scale()
Default implementation.
|
copyObject, create, create, getPrimitiveJavaObject, getPrimitiveWritableObject, set, set, set
preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCategory, getTypeName
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, preferWritable
protected WritableConstantHiveDecimalObjectInspector()
public HiveDecimalWritable getWritableConstantValue()
getWritableConstantValue
in interface ConstantObjectInspector
public int precision()
AbstractPrimitiveObjectInspector
precision
in interface PrimitiveObjectInspector
precision
in class AbstractPrimitiveObjectInspector
public int scale()
AbstractPrimitiveObjectInspector
scale
in interface PrimitiveObjectInspector
scale
in class AbstractPrimitiveObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.