| Package | Description |
|---|---|
| org.apache.hadoop.hive.serde2.fast | |
| org.apache.hadoop.hive.serde2.lazy.fast | |
| org.apache.hadoop.hive.serde2.objectinspector | |
| org.apache.hadoop.hive.serde2.objectinspector.primitive | |
| org.apache.hadoop.hive.serde2.typeinfo |
This package provides the implementation of the SerDe type system.
|
| Modifier and Type | Field and Description |
|---|---|
protected PrimitiveObjectInspector.PrimitiveCategory[] |
DeserializeRead.primitiveCategories |
| Modifier and Type | Method and Description |
|---|---|
void |
LazySimpleDeserializeRead.logExceptionMessage(byte[] bytes,
int bytesStart,
int bytesLength,
ObjectInspector.Category dataComplexCategory,
PrimitiveObjectInspector.PrimitiveCategory dataPrimitiveCategory) |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveObjectInspector.PrimitiveCategory |
PrimitiveObjectInspector.getPrimitiveCategory()
Get the primitive category of the PrimitiveObjectInspector.
|
static PrimitiveObjectInspector.PrimitiveCategory |
PrimitiveObjectInspector.PrimitiveCategory.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveObjectInspector.PrimitiveCategory[] |
PrimitiveObjectInspector.PrimitiveCategory.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
PrimitiveObjectInspector.PrimitiveCategory |
PrimitiveObjectInspectorUtils.PrimitiveTypeEntry.primitiveCategory
The category of the PrimitiveType.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveObjectInspector.PrimitiveCategory |
AbstractPrimitiveObjectInspector.getPrimitiveCategory()
Return the associated primitive category for this primitive
ObjectInspector.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveObjectInspectorUtils.PrimitiveGrouping |
PrimitiveObjectInspectorUtils.getPrimitiveGrouping(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory)
Based on the PrimitiveCategory of a type, return the PrimitiveGrouping
that the PrimitiveCategory belongs to (numeric, string, date, etc).
|
static AbstractPrimitiveJavaObjectInspector |
PrimitiveObjectInspectorFactory.getPrimitiveJavaObjectInspector(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory)
Returns the PrimitiveJavaObjectInspector for the PrimitiveCategory.
|
static AbstractPrimitiveWritableObjectInspector |
PrimitiveObjectInspectorFactory.getPrimitiveWritableObjectInspector(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory)
Returns the PrimitiveWritableObjectInspector for the PrimitiveCategory.
|
static PrimitiveObjectInspectorUtils.PrimitiveTypeEntry |
PrimitiveObjectInspectorUtils.getTypeEntryFromPrimitiveCategory(PrimitiveObjectInspector.PrimitiveCategory category)
Get the typeName from a Java Primitive Type or Java PrimitiveClass.
|
| Modifier and Type | Field and Description |
|---|---|
static List<PrimitiveObjectInspector.PrimitiveCategory> |
TypeInfoUtils.dateTypeList |
static EnumMap<PrimitiveObjectInspector.PrimitiveCategory,Integer> |
TypeInfoUtils.dateTypes |
static List<PrimitiveObjectInspector.PrimitiveCategory> |
TypeInfoUtils.numericTypeList |
static EnumMap<PrimitiveObjectInspector.PrimitiveCategory,Integer> |
TypeInfoUtils.numericTypes |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveObjectInspector.PrimitiveCategory |
PrimitiveTypeInfo.getPrimitiveCategory() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
TypeInfoUtils.implicitConvertible(PrimitiveObjectInspector.PrimitiveCategory from,
PrimitiveObjectInspector.PrimitiveCategory to)
Test if it's implicitly convertible for data comparison.
|
static void |
TypeInfoUtils.registerDateType(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory,
int level) |
static void |
TypeInfoUtils.registerNumericType(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory,
int level) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.