| Package | Description |
|---|---|
| org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive | |
| 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 | Method and Description |
|---|---|
static AbstractPrimitiveLazyObjectInspector<?> |
LazyPrimitiveObjectInspectorFactory.getLazyObjectInspector(PrimitiveTypeInfo typeInfo) |
static AbstractPrimitiveLazyObjectInspector<?> |
LazyPrimitiveObjectInspectorFactory.getLazyObjectInspector(PrimitiveTypeInfo typeInfo,
boolean escaped,
byte escapeChar) |
static AbstractPrimitiveLazyObjectInspector<?> |
LazyPrimitiveObjectInspectorFactory.getLazyObjectInspector(PrimitiveTypeInfo typeInfo,
boolean escaped,
byte escapeChar,
boolean extBoolean) |
static AbstractPrimitiveLazyObjectInspector<?> |
LazyPrimitiveObjectInspectorFactory.getLazyObjectInspector(PrimitiveTypeInfo typeInfo,
LazyObjectInspectorParameters lazyParams) |
| Constructor and Description |
|---|
AbstractPrimitiveLazyObjectInspector(PrimitiveTypeInfo typeInfo) |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveTypeInfo |
PrimitiveObjectInspector.getTypeInfo() |
| Modifier and Type | Field and Description |
|---|---|
protected PrimitiveTypeInfo |
AbstractPrimitiveObjectInspector.typeInfo |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveTypeInfo |
AbstractPrimitiveObjectInspector.getTypeInfo() |
| Modifier and Type | Method and Description |
|---|---|
static AbstractPrimitiveJavaObjectInspector |
PrimitiveObjectInspectorFactory.getPrimitiveJavaObjectInspector(PrimitiveTypeInfo typeInfo)
Returns the PrimitiveJavaObjectInspector for the given PrimitiveTypeInfo instance,
|
static ConstantObjectInspector |
PrimitiveObjectInspectorFactory.getPrimitiveWritableConstantObjectInspector(PrimitiveTypeInfo typeInfo,
Object value)
Returns a PrimitiveWritableObjectInspector which implements ConstantObjectInspector
for the PrimitiveCategory.
|
static AbstractPrimitiveWritableObjectInspector |
PrimitiveObjectInspectorFactory.getPrimitiveWritableObjectInspector(PrimitiveTypeInfo typeInfo)
Returns the PrimitiveWritableObjectInspector for the given type info
|
| Constructor and Description |
|---|
AbstractPrimitiveJavaObjectInspector(PrimitiveTypeInfo typeInfo) |
AbstractPrimitiveObjectInspector(PrimitiveTypeInfo typeInfo)
Construct a AbstractPrimitiveObjectInspector.
|
AbstractPrimitiveWritableObjectInspector(PrimitiveTypeInfo typeInfo) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseCharTypeInfo |
class |
CharTypeInfo |
class |
DecimalTypeInfo |
class |
TimestampLocalTZTypeInfo |
class |
VarcharTypeInfo |
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveTypeInfo |
TypeInfoFactory.getPrimitiveTypeInfo(String typeName)
Get PrimitiveTypeInfo instance for the given type name of a type
including types with parameters, such as varchar(20).
|
| Modifier and Type | Method and Description |
|---|---|
static int |
TypeInfoUtils.getCharacterLengthForType(PrimitiveTypeInfo typeInfo)
Return the character length of the type
|
static TypeInfo |
HiveDecimalUtils.getDecimalTypeForPrimitiveCategories(PrimitiveTypeInfo a,
PrimitiveTypeInfo b) |
static DecimalTypeInfo |
HiveDecimalUtils.getDecimalTypeForPrimitiveCategory(PrimitiveTypeInfo a) |
static int |
HiveDecimalUtils.getPrecisionForType(PrimitiveTypeInfo typeInfo)
Need to keep consistent with JdbcColumn.columnPrecision
|
static int |
HiveDecimalUtils.getScaleForType(PrimitiveTypeInfo typeInfo)
Need to keep consistent with JdbcColumn.columnScale()
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.